Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267654

Summary: net-nds/openldap-2.3.43: invalid pid in /var/run/openldap/slapd.pid
Product: Gentoo Linux Reporter: Oleh Kravchenko <oleg>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: VERIFIED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Oleh Kravchenko 2009-04-27 14:54:08 UTC
I am try to start and receive this:
$ /etc/init.d/slapd start
 * Starting ldap-server ...                                                                                                                                                 [ !! ]

in /var/log/messages:
Apr 27 17:41:45 localhost slapd[24383]: @(#) $OpenLDAP: slapd 2.3.43 (Apr 24 2009 23:16:35) $
Apr 27 17:41:45 localhost     root@localhost:/var/tmp/portage/net-nds/openldap-2.3.43/work/openldap-2.3.43/servers/slapd

When i try to stop it:
kaa ~ # /etc/init.d/slapd stop
 * WARNING:  slapd has not yet been started.


Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/slapd start
2. ps uax | grep slapd
3. cat /var/run/openldap/slapd.pid
Comment 1 Oleh Kravchenko 2009-04-27 14:54:27 UTC
Created attachment 189613 [details]
emerge --info
Comment 2 Oleh Kravchenko 2009-06-27 11:03:53 UTC
Sorry, I am remove this string "pidfile /var/run/openldap/slapd.pid" from /etc/openldap/slapd.conf

Adding this string to the config file resolve this bug ;)