LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 04: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, 05:58 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 07: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


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


All times are GMT -5. The time now is 06:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration