LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2010, 03:27 PM   #1
xlrdxrevengex
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
LDAP error on rackspace cloud server debian lenny


I removed my actual domain name and replaced it with test to protect my sites

Code:
Setting up libdb4.2 (4.2.52+dfsg-5) ...
Setting up libslp1 (1.2.1-7.5) ...
Setting up odbcinst1debian1 (2.2.11-16) ...
Setting up unixodbc (2.2.11-16) ...
Setting up slapd (2.4.11-1+lenny2) ...
  Creating new user openldap... done.
  Creating initial slapd configuration... done.
  Creating initial LDAP directory... slapadd: bad configuration file!
Failed to slapadd this data: 
dn: dc=test,dc=info
objectClass: top
objectClass: dcObject
objectClass: organization
o: test.info
dc: test

dn: cn=admin,dc=test,dc=info
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword: {crypt}YdLWWN4xYHP4w
dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status 1
Setting up libsasl2-modules (2.1.22.dfsg1-23+lenny1) ...
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up slapd (2.4.11-1+lenny2) ...
  Creating initial slapd configuration... done.
  Creating initial LDAP directory... slapadd: bad configuration file!
Failed to slapadd this data: 
dn: dc=test,dc=info
objectClass: top
objectClass: dcObject
objectClass: organization
o: test.info
dc: test

dn: cn=admin,dc=test,dc=info
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword: {crypt}NiZ8xI2DPJIPw
dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 slapd
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
 
Old 09-11-2010, 04:58 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, welcome to LQ!

You man want to direct your attention to:
Code:
  Creating initial LDAP directory... slapadd: bad configuration file!

Cheers,
Tink
 
Old 09-11-2010, 06:28 PM   #3
xlrdxrevengex
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
so what would i be looking for in that config file
 
  


Reply



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
LDAP configuration error, can't connect to LDAP server (-1) rdanielz Linux - Networking 3 06-01-2010 09:15 AM
LXer: Rackspace open-sources cloud APIs LXer Syndicated Linux News 0 07-23-2009 04:10 PM
Apache2 + mod_auth_pgsql = 500 Internal Server Error on Debian Lenny Mleahy Linux - Server 1 07-05-2009 04:16 AM
LXer: How To Upgrade A Debian Etch System (Server & Desktop) To Debian Lenny LXer Syndicated Linux News 0 02-20-2009 04:30 PM
LXer: The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2] LXer Syndicated Linux News 0 02-19-2009 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 AM.

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