LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-06-2008, 03:31 PM   #1
comtmr
LQ Newbie
 
Registered: Apr 2006
Location: Ankara \ TURKIYE
Distribution: Red Hat Enterprise 4
Posts: 19

Rep: Reputation: 0
openldap sasl_server_init failed


In fact this is not a question ;
This is a solution for an sutitation I met and digged into to solve for 2 days:
here is error and solution details:

I had 1 master; 2 slave openldap replications;
1 master and 1 slave were ok; but other slave I will call it "nodeFail".
Code:
[root@nodeFail ldap]# slaptest  -d 1 -v
slaptest init: initiated tool.
sasl_server_init failed
slaptest: slap_init failed!
I had re-installed all openldap and cyrus-sasl rpms;

compat-openldap-2.1.30-7.4E.i386.rpm
cyrus-sasl-2.1.19-5.EL4.i386.rpm
cyrus-sasl-devel-2.1.19-5.EL4.i386.rpm
cyrus-sasl-gssapi-2.1.19-5.EL4.i386.rpm
cyrus-sasl-md5-2.1.19-5.EL4.i386.rpm
cyrus-sasl-ntlm-2.1.19-5.EL4.i386.rpm
cyrus-sasl-plain-2.1.19-5.EL4.i386.rpm
cyrus-sasl-sql-2.1.19-5.EL4.i386.rpm
nss_ldap-226-24.el4_6.i386.rpm
openldap-2.2.13-7.4E.i386.rpm
openldap-devel-2.2.13-7.4E.i386.rpm
openldap-servers-2.2.13-7.4E.i386.rpm
python-ldap-2.0.1-2.i386.rpm

but one file is not owned by any of rpms; and it causes to openldap related security operations to fail in init stage of sasl.

[root@nodeFail rpms]# rpm -qf /usr/lib/sasl2/slapd.conf
file /usr/lib/sasl2/slapd.conf is not owned by any package

so removing it will solve your problem;
mv /usr/lib/sasl2/slapd.conf /usr/lib/sasl2/slapd.conf.none

[root@nodeFail rpms]# slaptest
config file testing succeeded

I don't expect any of you to face this struggling error;
And wish to find this note if you face it

Have a nice day ;
Tamer
 
  


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
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 07:19 AM
gentoo, failed merge openldap crackinggear Linux - Distributions 1 09-29-2006 04:47 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 09:03 AM
Loosing CD Drive while installing Mandrake 9.2 (ldconfig failed or idconfig failed) sjzabel Linux - General 3 02-26-2004 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration