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

Re: X: slapd locks while starting



On Tuesday 06 December 2005 11:46, Miro Dietiker, MD Systems wrote:
> Oh I forgot the version too...
> @(#) $OpenLDAP: slapd 2.2.23 (May 30 2005 08:52:42) $
>
> @pulsar:/home/torsten/packages/openldap/openldap2.2-2.2.23/debian/build/
> servers/slapd
>
> MDi
>
> -----Ursprüngliche Nachricht-----
> Von: Miro Dietiker, MD Systems [mailto:info@md-systems.ch]
> Gesendet: Dienstag, 6. Dezember 2005 10:16
> An: 'OpenLDAP-software@OpenLDAP.org'
> Betreff: slapd locks while starting
>
> Hi!
>
> Yesterday i recognized, that restarting my slapd takes minutes (which
> was very fast before)
> I don?t remember changing anything related, but am not sure? (must have
> been something!)
>
> If I start
> /usr/sbin/slapd -d -1 -h ldap:/// ldaps:/// -g slapd -u slapd
> it outputs
> daemon_init: ldap:///
> daemon_init: listen on ldap:///
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap:///)
> daemon: initialized ldap:///
> daemon_init: 2 listeners opened
> ldap_pvt_gethostbyname_a: host=tiger, r=0
>
> And then locks (Load 0.0) for 2 Minutes! (after that continues with
> no error and lots of outputs and everything works)
>
> Do you have any idea for this lock?

Looks like you broke name resolution on the host.

Something like:
$ getent hosts tiger

may exhibit the same problem. Many other services should also be affected.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpKu8fhw0LNd.pgp
Description: PGP signature