Hi Emidio,
Thanks for the hint. In the end it got fixed by setting the slapd.pid
to the default value (at least I think it was this bit):
https://ggus.eu/ws/ticket_info.php?ticket=96627
Cheers,
Luke
On 15 August 2013 21:40, Emidio Giorgio <[log in to unmask]> wrote:
> Hi
>
> In case you're on SL5, you could also check this one
>
> http://www.eu-emi.eu/releases/emi-3-monte-bianco/updates/-/asset_publisher/8D6t/content/issues-with-new-version-of-sudo-package-1-7-2p1-14-el5_8-2
>
> cheers,
> Emidio
>
>> Hi Ulrich,
>>
>> On 15 August 2013 10:24, Ulrich Schwickerath
>> <[log in to unmask]> wrote:
>>> Hi,
>>>
>>> try to
>>> service bdii stop
>>> then kill off all stray slapd processes (if any), and then
>>> service bdii start
>>>
>>> (Address already in use)
>> Did that many times + restart of machine, no change.
>>>
>>> looks to me as if you have a stray slapd running which binds to the
>>> port.
>> Yes, it sounds exactly like it.
>> However, after _every_ service bdii start I get a functional slapd and
>> yet it complains that it can't be started.
>> To me this sounds as if it is trying to start it twice, succeeds with
>> the first time but (since address already in use) fails with the
>> second attempt.
>>
>>
>>>
>>> Hope that helps,
>>> Ulrich
>>>
>>>
>>> On 15.08.2013 10:54, L Kreczko wrote:
>>>>
>>>> Dear experts,
>>>>
>>>> I upgraded our site bdii from 5.2.12-1.el5 to 5.2.21-1.el5 (with slapd
>>>> 2.4.22). However, now I am unable to start it:
>>>> ==================================================
>>>> Starting BDII slapd: BDII slapd failed to start [FAILED]
>>>> /usr/sbin/slapd2.4 -f /etc/bdii/bdii-slapd.conf -h ldap://0.0.0.0:2170
>>>> -u ldap -d 256
>>>> @(#) $OpenLDAP: slapd 2.4.22 (Apr 27 2010 12:25:39) $
>>>>
>>>> [log in to unmask]:/home/bgmilne/rpm/BUILD/openldap-2.4.22/servers/slapd
>>>> daemon: bind(7) failed errno=98 (Address already in use)
>>>> slapd stopped.
>>>> connections_destroy: nothing to destroy.
>>>> ==================================================
>>>>
>>>> However, slapd seems to be running:
>>>> yaim-conf]# ps -ef | egrep "slapd|bdii"
>>>> ldap 19811 1 0 09:48 ? 00:00:00 /usr/sbin/slapd2.4 -f
>>>> /etc/bdii/bdii-slapd.conf -h ldap://0.0.0.0:2170 -u ldap
>>>> and is responding to
>>>> ldapsearch -x -H ldap://0.0.0.0:2170 -b
>>>> mds-vo-name=UKI-SOUTHGRID-BRIS-HEP
>>>>
>>>> Yaim is also failing with the same problem plus:
>>>> ERROR: Error during the execution of function: config_bdii_5.2
>>>> ERROR: Error during the configuration.Exiting.
>>>> [FAILED]
>>>> ERROR: One of the functions returned with error without specifying its
>>>> nature !
>>>>
>>>> Killing the slapd process or even restarting the machine does not
>>>> result in any cure.
>>>>
>>>> Do you know how to solve this or how to debug it further?
>>>>
>>>> Cheers,
>>>> Luke
>>>
>>>
>>
>>
>>
>> --
>> *********************************************************
>> Dr Lukasz Kreczko +44 (0)117 928 8724
>> CMS Group
>> School of Physics
>> University of Bristol
>> *********************************************************
>>
--
*********************************************************
Dr Lukasz Kreczko +44 (0)117 928 8724
CMS Group
School of Physics
University of Bristol
*********************************************************
|