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

args and pid file aren't created



Hello!
 
I'm running OpenLDAP 2.1.16 on a redhat 8 and i'm experiencing a strange problem.
 
When i start openldap (service ldap start) neither pidfile nor argsfile are created and when i restart openldap i've got this type of message...
For the moment i'm only testing, but the aim is to use ldap in a production environment where i can't afford to lose processes for unknown reasons....
 
[root@sgly-server openldap]# service ldap restart
Stopping slapd: /etc/init.d/ldap: line 196: kill: (19811) - No such process
                                                                   [  OK  ]
Starting slapd:                                            [  OK  ]
Here is an abstract of /etc/openldap/slapd.conf... maybe i forgot something...
 
database        bdb
suffix          "dc=lyon,dc=cemagref,dc=fr"
rootdn          "cn=Manager,dc=lyon,dc=cemagref,dc=fr"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
#rootpw         secret
rootpw          {SSHA}...
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory       //var/run/openldap-data
pidfile         //var/run/slapd.pid
argsfile        //var/run/slapd.args
# Indices to maintain
index  objectClass,uid,uidNumber,gidNumber,memberUid   eq
index  cn,mail,surname,givenname                       eq,subinitial
If anyone can tell me what i've done wrong, that would help me a lot
 
Thanks, Bruno.