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

Re: Anyone on this list patient with stupid questions?

Hash: SHA1

Jonathan Smith wanted us to know:

>daemon_init: <null>
>daemon_init: listen on ldap:///
>daemon_init: 1 listeners to open...
>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

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
Version: GnuPG v1.0.7 (GNU/Linux)