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

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

thanks, i successfully changed the psw with slappasswd but the problem is still.
the difficult isn't the password.

this is the sequence:

- succesfully started the first time slapd server
- one time started, the reboot fails
- error in syslog is daemon: bind(8) failed errno=98 (Address already in use)
- checking in the processes list there is always this active process:

openldap  1075  0.0  0.3  18628  3796 ?        Ssl  08:17   0:00 /usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -f /etc/ldap/slapd.conf

- to start the ldap server i need to kill this process but then reboot fails again.

am searching online about the solution, hope someone knows the answer to resolve this

thank you

On 02/23/2012 04:08 AM, huwenfeng_maillist wrote:
Hi stefona:

    i think you should enter the passwd you setup in slapd.conf

    and if you want to change your Admin passwd, you should use the command
    `slappasswd` instead of `ldappasswd`.  read `man` for details.

At 2012-02-22 17:00:10,stefano <stefano.malini@gmail.com> wrote:
Hi folks,

i don't understand a little problem with mi ldap server

I installed and configuring my ldap server. after configuring slapd.conf, restarting the server was ok.
then i prepared the client with ldap.conf

# LDAP Defaults

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

URI    ldap://localhost
BASE   dc=amahoro,dc=bi
BINDDN cn=Administrator,dc=amahoro,dc=bi

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

and tryed to test the server:

 ldapsearch -x -W -D 'cn=Administrator,dc=amahoro,dc=bi' -b "" -s base

and it asks me

Enter LDAP Password.

i wrote the password asked me during the ldap installation without success.

i tried to change it with


it asked me the password, i wrote the same password but the answer is

ldap_sasl_interactive_bind_s: Invalid credentials (49)
    additional info: SASL(-13): user not found: no secret in database.

i tryied to comment everything in ldap.conf and restart the ldap server but is failed.

checking in syslog the error is

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

do you have any idea about the resolution of this problem?

thank you