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

Re: Anyone on this list patient with stupid questions?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Smith wanted us to know:

>root@daffy.perf.redhat.com:/usr/src/build/141199-i386/BUILD/openldap-2.0.25/build-krb5/servers/slapd
>daemon_init: <null>
>daemon_init: listen on ldap:///
>daemon_init: 1 listeners to open...
>ldap_url_parse_ext(ldap:///)
>daemon: socket() failed errno=97 (Address family not supported by protocol)
>daemon: bind(6) failed errno=98 (Address already in use)
>daemon: bind(6) failed
>slapd stopped.
>Stupid question: What does this tell me?

Listen on ldap:/// means it's trying to bind to the ldap port.  In ipv4
it's port 389, dunno what it is in ipv6.  I cannot tell if it's trying
to bind to localhost only or if it's trying to bind to all interfaces
(ie 0.0.0.0).

The first error is the attempt to bind to an ipv6 address.  But the
kernel either doesn't have the ipv6 module loaded or there is no ipv6
interface defined.  That's a normal error.  But the next one says that
the address is already in use.  The means that something is already
listening on port 389 (this is ipv4 here).  What do you have running on
port 389 already?  Or is it one of the earlier tests that didn't
properly stop what it had started?  hard to tell.  Run 'netstat -lntp'
and it will tell you all programs that are listening on tcp ports
(assuming your box hasn't been cracked).
- -- 
Blue skies...		Todd
| Get a bigger hammer!   |  A broken clock is right twice a day.  |
| http://www.mrball.net  |                       --Steve Saitman  |
| http://faq.mrball.net  |   ...I don't even know what it is...   |
   Linux kernel 2.4.19-16mdk   2 users,  load average: 0.00, 0.00, 0.00
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Ig3YIBT1264ScBURAj7IAKDX09pF0AclSf+M+zWnarShszDEfwCfdfCg
SfJ4BTzdIc/G7xARw+BnO+Y=
=gIVo
-----END PGP SIGNATURE-----