Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-16-2006, 08:24 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0


I am new to OpenLDAP. Trying to get OpenLDAP to run. Did my configurations for the slapd.conf, ldap.conf but openldap does not start when i issue this command from my Gentoo box:

# /etc/init.d/slapd start
* Starting ldap-server ... [ !! ]

Can anyone advise me on what is wrong? Here is my slapd.conf file.

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

TLSCertificateFile /etc/ssl/ldap.pem
TLSCertificateKeyFile /etc/openldap/ssl/ldap.pem
TLSCACertificateFile /etc/ssl/ldap.pem

pidfile /var/run/openldap/
argsfile /var/run/openldap/slapd.args

database ldbm
suffix "dc=example,dc=com"
rootdn "cn=root,example,dc=com"
rootpw secret

directory /var/lib/openldap-ldbm
checkpoint 32 30 # <kbyte> <min>

index objectClass eq

This is my ldap.conf

BASE dc=example, dc=com
URI ldap://localhost:389/

Old 11-16-2006, 08:34 PM   #2
LQ Newbie
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Lightbulb Found out why it did not start


One part of me is happy, the othr feels dumb... I realised that I had made mistake in my slapd.conf file.

database bdb
suffix "dc=example"
rootdn "cn=root,dc=example"

I replaced this portion of the slapd.conf and ldap starts without problem.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP replication.. sunhui Linux - Networking 0 10-02-2006 10:17 AM mrlucio79 Fedora 2 08-24-2006 02:28 PM
AD, OpenLDAP bentman78 Linux - Networking 1 03-15-2005 12:34 PM
OPENLDAP config bhughesiii Linux - Networking 3 02-21-2005 01:57 PM
openldap quarry_06 Linux - Networking 7 11-21-2004 01:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration