View previous topic :: View next topic |
Author |
Message |
JackPo n00b
Joined: 23 Jan 2004 Posts: 19
|
Posted: Tue Aug 30, 2005 10:20 am Post subject: Openldap died... |
|
|
ldbm: ==> PANIC: fatal region error detected; run recovery
Can anyone tell me what to do, I'm pretty scared because I'm using LDAP authentication and this would seriously fubar the whole system....
(I googled some, and found most people had this problem with Berkeley's database, not LDBM).
Thanks!
Jack |
|
Back to top |
|
|
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Tue Aug 30, 2005 2:03 pm Post subject: |
|
|
In /var/lib/openldap-data create a sym-link to your Timezone
Code: | cd /var/lib/openldap-data
ln -s /usr/share/zoneinfo/US/Eastern . |
|
|
Back to top |
|
|
JackPo n00b
Joined: 23 Jan 2004 Posts: 19
|
Posted: Wed Aug 31, 2005 11:44 am Post subject: |
|
|
My problem still exists.. and is now getting even worse
Is there anyway for openldap to simply rebuild all its indexes?
The data is there when I go to phpldapadmin.. except that I can't add entries... and entries are starting to vanish
db4.2_verify / db4.2_recover doesn't seem to work (or I'm not using it properly).. and everyone seems to only use it for Berkeley databases.. |
|
Back to top |
|
|
JackPo n00b
Joined: 23 Jan 2004 Posts: 19
|
Posted: Thu Sep 01, 2005 2:22 am Post subject: |
|
|
any help?
Thanks,
Jack |
|
Back to top |
|
|
trbecker Tux's lil' helper
Joined: 19 Sep 2003 Posts: 136 Location: Novo Hamburgo, RS, Brazil
|
Posted: Thu Sep 01, 2005 2:31 am Post subject: |
|
|
slapindex rebuilds the openldap index. Maybe this helps. _________________ If you see any violations to the Guidelines, please report it. |
|
Back to top |
|
|
Janne Pikkarainen Veteran
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Fri Sep 09, 2005 7:07 am Post subject: |
|
|
If your problem still persists, try to
- backup your current data to LDIF file with slapcat
- recover the database with the correct version of db_recover. First check the correct version with ldd, for example ldd /usr/lib/openldap/slapd and see what version of db your slapd is linked against.
Code: | cd /var/lib/openldap-data
dbX.Y_recover (where X.Y is the version) |
- restart slapd
If that didn't help, you should see if your slapcat-backup is reasonably decent and rebuild your database with slapadd. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
|
JackPo n00b
Joined: 23 Jan 2004 Posts: 19
|
Posted: Mon Sep 26, 2005 2:46 am Post subject: |
|
|
just wanted to say thanks... that definitely saved me! |
|
Back to top |
|
|
|