LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   LDAP server not starting as user LDAP (http://www.linuxquestions.org/questions/fedora-35/ldap-server-not-starting-as-user-ldap-342241/)

klnasveschuk 07-11-2005 04:31 PM

LDAP server not starting as user LDAP
 
Hello,
I have a Fedora core 4 machine that I want to run an LDAP server on. I've used OpenLDAP for quite a while on Redhat 8, so I am very familiar with ldapadd, ldapmodify, slapcat, ldif file structure etc.. I've upgraded all my servers to Fedora Core 4.

In the past slapd has run as root. Fedora core 4 attempts to run slapd as user LDAP. When you start the server as "service ldap start". The output I get is:
[root@fdc4-1 ~]# service ldap start
Checking configuration files for slapd: [FAILED]

slapd starts as root with this fine:
slapd -d 10

I've changed the permissions on /var/lib/ldap so that user LDAP can write to the directory. Any suggestions? I need to understand why this fails to start.

Kent N

dearmohit 02-15-2007 04:49 AM

slapd service is not starting on Fedora Core3 as root user
 
Sir, I am new to OpenLdap. I am using FC3 as root. but after configuring slapd.conf, when i start /etc/init.d/slapd start, it is faild.

I am using the latest version of openldap-server-2.2.29-1.FC3.

Please suggest.

Thanks in advance

Quote:

Originally Posted by klnasveschuk
Hello,
I have a Fedora core 4 machine that I want to run an LDAP server on. I've used OpenLDAP for quite a while on Redhat 8, so I am very familiar with ldapadd, ldapmodify, slapcat, ldif file structure etc.. I've upgraded all my servers to Fedora Core 4.

In the past slapd has run as root. Fedora core 4 attempts to run slapd as user LDAP. When you start the server as "service ldap start". The output I get is:
[root@fdc4-1 ~]# service ldap start
Checking configuration files for slapd: [FAILED]

slapd starts as root with this fine:
slapd -d 10

I've changed the permissions on /var/lib/ldap so that user LDAP can write to the directory. Any suggestions? I need to understand why this fails to start.

Kent N



All times are GMT -5. The time now is 04:00 AM.