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

RE: Problem with slapd



People i found this but i don't know how to stop IPV6.

[root@SRVDC01 ~]# lsof -i :389
COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
xfs     2244  xfs    3u  IPv4   6166       TCP SRVDC01:51891->SRVDC01:ldap
(CLOSE_WAIT)
slapd   2822 ldap    7u  IPv6   9900       TCP *:ldap (LISTEN)
slapd   2822 ldap    8u  IPv4   9901       TCP *:ldap (LISTEN)
[root@SRVDC01 ~]#

Someone knows if i must to disable IPV6 on /etc/sysctl ?

Regards.


-----Mensaje original-----
De: Bjørn Ruberg [mailto:bjorn@ruberg.no] 
Enviado el: Lunes, 05 de Octubre de 2009 02:49 p.m.
Para: 'OpenLDAP Technical'
CC: Dominguez, Gaston Matias
Asunto: Re: Problem with slapd

Dominguez, Gaston Matias wrote:
> Hi people i am having problems with this:
>
> Someone knows the solution for this problem?
>
> [root@SRVDC01 ~]# slapd -d 256
> @(#) $OpenLDAP: slapd 2.3.43 (Jan 21 2009 03:53:11) $
>  
>
mockbuild@builder16.centos.org:/builddir/build/BUILD/openldap-2.3.43/openlda
> p-2.3.43/build-servers/servers/slapd
> daemon: bind(7) failed errno=98 (Address already in use)
> daemon: bind(7) failed errno=98 (Address already in use)
> slapd stopped.
> connections_destroy: nothing to destroy.
>   

As the error message says, the address(es) to which you are trying to 
bind to the slapd process is already in use.

You either have a slapd running already, or something else is using the 
IP address and/or TCP ports that your LDAP server wants to use.

-- 
Bjørn