Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openldap startup issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
awilisch
n00b
n00b


Joined: 21 Nov 2004
Posts: 21
Location: Loveland, OH

PostPosted: Fri Jun 24, 2005 12:52 pm    Post subject: openldap startup issues Reply with quote

I'm having an issue getting openldap started. I'm pretty sure it's just a problem with a conf file somewhere but I"m not sure where. Whenever I try to start it I get no feedback, just the [!!] instead of [OK].

I was wondering how I can enable logging with openldap so if there are problems such as these it will report them somwhere? I'm running syslog-ng currently.

I can post my config files if necessary, but I thought for starters it might be simpler to just get slapd logging somewhere.

Thanks in advance.
Aric
Back to top
View user's profile Send private message
awilisch
n00b
n00b


Joined: 21 Nov 2004
Posts: 21
Location: Loveland, OH

PostPosted: Fri Jun 24, 2005 1:00 pm    Post subject: Reply with quote

Actually, as usual, 5 minutes after I posted I found the problem with that. However I'm getting a couple other errors (I actually found where it was logging to). If anyone has any thoughts I would appreciate the feedback:

sql_select option missing
auxpropfunc error no mechanism available
_sasl_plugin load failed on sasl_auxprop_plug_init for plugin: sql

This ldap server started off as just me wanting to try using it for authentication. However now I'm trying to install an Open-Xchange server, so it will also be used for that.

Regards,
Aric
Back to top
View user's profile Send private message
Spooky Ghost
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 210
Location: Bristol, United Kingdom

PostPosted: Tue Jul 12, 2005 10:10 am    Post subject: Reply with quote

I encountered this problem too. My issue turned out to be that I had emerged an OpenLDAP update which was linked against a newer version of libdb than the previous one. I had to use the db_recover/db_upgrade tools to fix my database files before OpenLDAP would work again.
Back to top
View user's profile Send private message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Fri Jul 15, 2005 10:16 pm    Post subject: Reply with quote

Spooky Ghost wrote:
I encountered this problem too. My issue turned out to be that I had emerged an OpenLDAP update which was linked against a newer version of libdb than the previous one. I had to use the db_recover/db_upgrade tools to fix my database files before OpenLDAP would work again.


Can you tell us what we exactly have to do here? Thx.
Back to top
View user's profile Send private message
Meeuw
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 77
Location: NL - Oostzaan

PostPosted: Sat Jul 16, 2005 8:31 pm    Post subject: Reply with quote

What a mess... hey you guys, you should really mention this in your ebuild!

Code:
cd /var/lib
tar czf openldap-data.tbz2 openldap-data/
cd openldap-data
db4.2_upgrade *.bdb
db4.2_recover


Spooky Ghost - Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum