From: shashi (shashi.boddula_at_oracle.com)
Date: Thu Jun 08 2006 - 12:42:57 CEST
Message-ID: <4487FF31.8050003@oracle.com> Date: Thu, 08 Jun 2006 16:12:57 +0530 From: shashi <shashi.boddula@oracle.com> Subject: Re: [suse-sles-e] Problem with OpenLDAP in SLES9 SP3
Ralf Haferkamp wrote:
> On Thursday 08 June 2006 09:56, shashi wrote:
> [..]
>>>>>> I configured port 10000 to run OpenLDAP, i updated this information in
>>>>>> /etc/sysconfig/openldap file and executed SuSEconfig command. Whenever
>>>>>> i start the service (rcldap start), i will get the above mentioned
>>>>>> error message.cat
>>>>> What exactly did you set in /etc/sysconfig/openldap? Note, it's not
>>>>> needed to run SuSEconfig after changing something in
>>>>> /etc/sysconfig/openldap.
>>>> OPENLDAP_LDAP_INTERFACES="<hostname>:10389"
>>>> OPENLDAP_LDAPS_INTERFACES=<hostname>:10636"
>>> Hm, that works for me. Have you set any other options
>>> in /etc/sysconfig/openldap (like e.g. OPENLDAP_SLAPD_PARAMS) or modified
>>> something in /etc/init.d/ldap?
>> OPENLDAP_START_LDAPS="no"
>> OPENLDAP_START_LDAPI="yes"
>> OPENLDAP_SLAPD_PARAMS=""
>> OPENLDAP_USER="ldap"
>> OPENLDAP_GROUP="ldap"
>> OPENLDAP_CHOWN_DIRS="yes"
>> OPENLDAP_LDAP_INTERFACES="<hostname>:10389"
>> OPENLDAP_LDAPS_INTERFACES="<hostname>:10636"
>> OPENLDAP_REGISTER_SLP="yes"
>> OPENLDAP_KRB5_KEYTAB=""
>>
>> This is my configuration in /etc/sysconfig/openldap and i didn't modify
>> anything in /etc/init.d/ldap.
>>
>> Here i just want to mention one thing. With the above configuration,
>> until 3 days ago, OpenLDAP was running perfectly. Afterwards, i
>> installed Novell IDM suite (eDirectory, Identity Manager, iManager and
>> Designer) . From this point, i getting this problem.
> Well, then I guess that some part of this is listening on port 10389 or 10636.
> Please check again with netstat -ap
>
> You could also try to start OpenLDAP directly from the command line with:
> /usr/lib/openldap/slapd -u ldap -g ldap -d -1 \
> -h "ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636"
> To see if that works. (This might print a lot of stuff to stdout)
>
------------------------------------------------------------------------
SuSE:~ # nmap -p 10389 suse
Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2006-06-08 14:07 IST
Interesting ports on SuSE (152.69.168.146):
PORT STATE SERVICE
10389/tcp closed unknown
Nmap run completed -- 1 IP address (1 host up) scanned in 2.134 seconds
SuSE:~ # netstat -an | grep 10389
SuSE:~ # nmap -p 10636 suse
Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2006-06-08 14:07 IST
Interesting ports on SuSE (152.69.168.146):
PORT STATE SERVICE
10636/tcp closed unknown
Nmap run completed -- 1 IP address (1 host up) scanned in 0.801 seconds
SuSE:~ # netstat -an | grep 10636
-------------------------------------------------------------------------
With this command (I shorten your specified command),
#/usr/lib/openldap/slapd -u ldap -g ldap -h ldap://0.0.0.0:10389
my OpenLDAP is working fine. I can able to add and delete entries in
OpenLDAP.
SuSE:~ # rcldap status
Checking for service ldap: running
So, what was the problem? Is the problem belongs to OpenLDAP or the
problem belongs to /etc/init.d/script on SLES9 SP3?
But, still, if i start the service with #openldap start, i will get
these message in my log file.
SuSE slapd[7651]: slapd startup: initiated.
SuSE slapd[7651]: backend_startup: starting "dc=suse,dc=com"
SuSE slapd[7651]: bdb_db_open: dc=suse,dc=com
SuSE slapd[7651]: bdb_db_open: dbenv_open(/var/lib/ldap/)
SuSE slapd[7651]: slapd starting
SuSE slapd[7651]: daemon: added 6r
SuSE slapd[7651]: daemon: added 7r
SuSE slapd[7651]: daemon: listen(ldap://<hostname>:10389/, 5)
failed errno=98 (Address already in use)
SuSE slapd[7651]: slapd shutdown: initiated
SuSE slapd[7651]: ====> bdb_cache_release_all
SuSE slapd[7651]: slapd shutdown: freeing system resources.
SuSE slapd[7651]: slapd stopped.
>> Do you think eDirectory is causing any problem to OpenLDAP? Does
>> eDirectory installation modifies any OpenLDAP libraries?
> No I don't think so.
>
>> If eDirectory
>> causes some problems to OpenLDAP, then how OES (Linux version) is working?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Thu Jun 08 2006 - 12:43:16 CEST