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

daemon: bind(6) failed errno=98 (Address already in use)



I know this problem has been addressed before, but I was unable to find an
answer that made any sense.  I have openldap-2.0.21-1 on a RH7.2 sys with
pretty much the defaults on the slapd.conf file (the only parts changed were
adding my domain name to the examples) I can post the slapd.conf if needed,
but as stated earlier it's the RH default slapd with only my domain name
added in.
Ok, when I run: slapd -d 256 I get:

slapd -d 256
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.
connections_destroy: nothing to destroy


ON previous mails, I see people stating that another process is using port
389. I  then ran netstat -nat| grep 389 and saw:
tcp        0      0 0.0.0.0:389             0.0.0.0:*               LISTEN

I then killed ldap with: service ldap stop and reran netstat to see if that
port was still in use and it wasn't:
Netstat -nat|grep 389 returned no results.

I then checked to ensure all firewalling programs were killed:
service ipchains stop
service iptables stop
service portsentry stop

I then restart ldap (service ldap start), try to use ldapadd, and as usual,
nothing. 
I'm at a loss here, if there is anyone who can help me it would be greatly
appreciated.

<<attachment: winmail.dat>>