I upgrade to Slackware 12 this weekend and now openldap won't start. A google search didn't help me. I'm running 2.3.27.
I can restore from backup, just want to make sure that's necessary and maybe I can learn something in the process.
Errors from the tail end of ldap.log:
bdb(dc=gmartin,dc=org): unable to allocate memory for mutex; resize mutex region bdb_db_open: Database cannot be opened, err 12. Restore from backup! ====> bdb_cache_release_all bdb(dc=gmartin,dc=org): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem bdb(dc=gmartin,dc=org): txn_checkpoint interface requires an environment configured for the transaction subsystem bdb_db_close: txn_checkpoint failed: Invalid argument (22)
Thanks
\Greg
<quote who="Greg Martin">
I upgrade to Slackware 12 this weekend and now openldap won't start. A google search didn't help me. I'm running 2.3.27.
I can restore from backup, just want to make sure that's necessary and maybe I can learn something in the process.
Errors from the tail end of ldap.log:
bdb(dc=gmartin,dc=org): unable to allocate memory for mutex; resize mutex region bdb_db_open: Database cannot be opened, err 12. Restore from backup! ====> bdb_cache_release_all bdb(dc=gmartin,dc=org): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem bdb(dc=gmartin,dc=org): txn_checkpoint interface requires an environment configured for the transaction subsystem bdb_db_close: txn_checkpoint failed: Invalid argument (22)
Looks like Berkeley DB got upgraded, so your data was made with a previous version.
If you've got a slapcat ldif in backend, re-create it in the new env.
"interface requires an environment configured for the locking subsystem"
Gavin.
--On Thursday, July 05, 2007 4:32 PM +0100 Gavin Henry ghenry@suretecsystems.com wrote:
<quote who="Greg Martin"> > > I upgrade to Slackware 12 this weekend and now openldap won't start. A > google search didn't help me. I'm running 2.3.27. > > I can restore from backup, just want to make sure that's necessary and > maybe I can learn something in the process. > > Errors from the tail end of ldap.log: > > bdb(dc=gmartin,dc=org): unable to allocate memory for mutex; resize > mutex region > bdb_db_open: Database cannot be opened, err 12. Restore from backup! > ====> bdb_cache_release_all > bdb(dc=gmartin,dc=org): DB_ENV->lock_id_free interface requires an > environment configured for the locking subsystem > bdb(dc=gmartin,dc=org): txn_checkpoint interface requires an environment > configured for the transaction subsystem > bdb_db_close: txn_checkpoint failed: Invalid argument (22) >
Looks like Berkeley DB got upgraded, so your data was made with a previous version.
And make sure they aren't using BDB 4.3. :P
--Quanah
-- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
--On Thursday, July 05, 2007 4:32 PM +0100 Gavin Henry ghenry@suretecsystems.com wrote:
<quote who="Greg Martin"> > > I upgrade to Slackware 12 this weekend and now openldap won't start. A > google search didn't help me. I'm running 2.3.27. > > I can restore from backup, just want to make sure that's necessary and > maybe I can learn something in the process. > > Errors from the tail end of ldap.log: > > bdb(dc=gmartin,dc=org): unable to allocate memory for mutex; resize > mutex region > bdb_db_open: Database cannot be opened, err 12. Restore from backup! > ====> bdb_cache_release_all > bdb(dc=gmartin,dc=org): DB_ENV->lock_id_free interface requires an > environment configured for the locking subsystem > bdb(dc=gmartin,dc=org): txn_checkpoint interface requires an > environment > configured for the transaction subsystem > bdb_db_close: txn_checkpoint failed: Invalid argument (22) >
Looks like Berkeley DB got upgraded, so your data was made with a previous version.
And make sure they aren't using BDB 4.3. :P
--Quanah
-- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
Slack appears to have skipped 4.3. This is version 4.4 and slack 11 had 4.2. I was able to slapadd the ldif to a new db and all is well. My ignorant user question is this: if I was planning this upgrade (as I should have, but this is my hobby machine), is there a way to upconvert the db?
\Greg
--On Thursday, July 05, 2007 9:58 PM -0400 Greg Martin gmartin@gmartin.org wrote:
Slack appears to have skipped 4.3. This is version 4.4 and slack 11 had 4.2. I was able to slapadd the ldif to a new db and all is well. My ignorant user question is this: if I was planning this upgrade (as I should have, but this is my hobby machine), is there a way to upconvert the db?
Yes, slapcat then slapadd.
You should also check and see if they have the patch to fix BDB's cache environment under linux (applies to 4.2 and 4.4).
--Quanah
-- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
--On Thursday, July 05, 2007 9:58 PM -0400 Greg Martin gmartin@gmartin.org wrote:
Slack appears to have skipped 4.3. This is version 4.4 and slack 11 had 4.2. I was able to slapadd the ldif to a new db and all is well. My ignorant user question is this: if I was planning this upgrade (as I should have, but this is my hobby machine), is there a way to upconvert the db?
Yes, slapcat then slapadd.
You should also check and see if they have the patch to fix BDB's cache environment under linux (applies to 4.2 and 4.4).
The patch you're referring to affects all platforms. It's just that we first discovered the problem on Linux.
openldap-software@openldap.org