[Date Prev][Date Next] [Chronological] [Thread] [Top]

R: slapd with both a bdb/ldbm backend and a perl backend crash (ITS#2842)



It seems that Perl backend find no-one listening on port 389, just as
slapd is dead while perl is processing:

        $ldap = Net::LDAP->new($server,port => 389,debug => 4,timeout =>
60,
                        version => 3,async => 1,onerror => 'warn');

Creates a new object and opens a connection to the named host. This
fail, and the error become evident when the bind is called on a $ldap
unassigned:

        $mesg = $ldap->bind ( 'cn=Manager,dc=abi,dc=it',password =>
'secret',version => 2);

But the error isn't in the perl call. The slapd process is already
dead...

Let me know what kind of test or debug I can do to help you.

Thanks

Giulio

-----Messaggio originale-----
Da: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org] 
Inviato: domenica 30 novembre 2003 3.27
A: g.carabetta@abi.it
Cc: openldap-its@OpenLDAP.org
Oggetto: Re: slapd with both a bdb/ldbm backend and a perl backend crash
(ITS#2842)


At 05:55 AM 11/27/2003, g.carabetta@abi.it wrote:
>Can't call method "bind" on an undefined value at 
>/usr/etc/openldap/perl/SendmailBE1.pm line 110.

You likely should address this problem.

Kurt