Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I/O Error using Net LDAP

8 views
Skip to first unread message

Girish Jagdish Khetan

unread,
Dec 20, 2012, 9:57:38 PM12/20/12
to perl...@perl.org
Hi,

We have used Net::LDAP in Perl (Version: 5.6.1) to process data from LDAPv3 server on Linux environment. We are using callback (Asynchronous processing) to process the data. At runtime, scripts are failing abruptly with I/O Error after smooth execution for some time. Following is the sample Error generated on console.

I/O Error 308205750201046482056e04436178707065686173683d306431366363643566333432623934636530613036326333393437383865366339343236316534642c4f553d70656f706c652c4f3d6165787030820525301b040e656d706c6f7965656e756d626572310904073030353332333230170402636e3111040f4a6f69204c796e6e2046656e746f6e3027041261787070726567697374657265646e616d653111040f55766d676c6e2c516c72206f796e6e30170409676976656e6e616d65310a0408516c72206f796e6e300e0402736e3108040655766d676c6e302604057469746c65311d041b547261696e696e67202
620446576656c6f706d656e7420537065633021040f74656c6570686f6e656e756d626572310e040c3830312f3934352d373938323019040c617870706d61696c64726f70310904073032203032303930260411617870706e6f74657366756c6c6e616d653111040f4a6f69204c796e6e2046656e746f6e3
02104046d61696c311904176a6f696c796e6e2e66656e746f6e40616578702e636f6d301a040d617870706d616e61676572696431 at GeneralFeed.pl line 347

Line no (line 347) provided in error message refers to LDAP Search with callback. This error is not occurring for any specific data. Also occurrence of error is not associated with volume of data Perl script is processing. Sometime error occurs in first 10 minutes and in other cases it occurred after more than an hour of smooth execution.

Do you have any idea on this? We are trying to explore root cause with the help of NYTProf but without success. Any help or pointers in this regard is highly appreciated.

Thanks,
Girish Khetan


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Peter Marschall

unread,
Dec 25, 2012, 8:37:22 AM12/25/12
to perl...@perl.org
Hi,

On Friday, 21. December 2012, Girish Jagdish Khetan wrote:
> We have used Net::LDAP in Perl (Version: 5.6.1) to process data from LDAPv3
> server on Linux environment. We are using callback (Asynchronous
> processing) to process the data. At runtime, scripts are failing abruptly
> with I/O Error after smooth execution for some time. Following is the
> sample Error generated on console.

This seems to be a quite old installation of perl-ldap and Perl itself.
Never version of perl-ldap (i.e. since 0.40) require Perl 5.8

Can you reproduce the issue with newer version of Perl and/or perl-ldap?

> I/O Error
> 308205750201046482056e04436178707065686173683d3064313663636435663334326239
> 34636530613036326333393437383865366339343236316534642c4f553d70656f706c652c4
> f3d6165787030820525301b040e656d706c6f7965656e756d62657231090407303035333233
> 3230170402636e3111040f4a6f69204c796e6e2046656e746f6e30270412617870707265676
> 97374657265646e616d653111040f55766d676c6e2c516c72206f796e6e3017040967697665
> 6e6e616d65310a0408516c72206f796e6e300e0402736e3108040655766d676c6e302604057
> 469746c65311d041b547261696e696e67202
> 620446576656c6f706d656e7420537065633021040f74656c6570686f6e656e756d6265723
> 10e040c3830312f3934352d373938323019040c617870706d61696c64726f70310904073032
> 203032303930260411617870706e6f74657366756c6c6e616d653111040f4a6f69204c796e6
> e2046656e746f6e3
> 02104046d61696c311904176a6f696c796e6e2e66656e746f6e40616578702e636f6d301a0
> 40d617870706d616e61676572696431 at GeneralFeed.pl line 347
Nice numbers ;-)
Unfortunately not very informative about the error / its cause.

> Line no (line 347) provided in error message refers to LDAP Search with
> callback. This error is not occurring for any specific data. Also
> occurrence of error is not associated with volume of data Perl script is
> processing. Sometime error occurs in first 10 minutes and in other cases
> it occurred after more than an hour of smooth execution.
>
> Do you have any idea on this? We are trying to explore root cause with the
> help of NYTProf but without success. Any help or pointers in this regard
> is highly appreciated.
You may use perl-ldap's "debug" flag.

Best
PEter
0 new messages