View previous topic :: View next topic |
Author |
Message |
awilisch n00b
Joined: 21 Nov 2004 Posts: 21 Location: Loveland, OH
|
Posted: Fri Jun 24, 2005 12:52 pm Post subject: openldap startup issues |
|
|
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 |
|
|
awilisch n00b
Joined: 21 Nov 2004 Posts: 21 Location: Loveland, OH
|
Posted: Fri Jun 24, 2005 1:00 pm Post subject: |
|
|
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 |
|
|
Spooky Ghost Apprentice
Joined: 19 Apr 2002 Posts: 210 Location: Bristol, United Kingdom
|
Posted: Tue Jul 12, 2005 10:10 am Post subject: |
|
|
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 |
|
|
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Fri Jul 15, 2005 10:16 pm Post subject: |
|
|
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 |
|
|
Meeuw Tux's lil' helper
Joined: 08 Nov 2002 Posts: 77 Location: NL - Oostzaan
|
Posted: Sat Jul 16, 2005 8:31 pm Post subject: |
|
|
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 |
|
|
|