Re: [gentoo-user] Re: Slapd doesn't start after update

2007-07-27 Thread Tim Allingham
Have you tried using revdep-rebuild to check the links on that library?
an updated version may have broken the links



On Fri, 2007-07-27 at 17:59 -0300, ツ Leandro Sales wrote:
 I reinstall openldap 2.2.28 and when I start slapd, I got (from the
 log):
 
 Jul 27 17:55:11 embedded slapd[2957]: bdb_db_init: Initializing BDB
 database
 Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR): Program
 version 4.5 doesn't match environment version 0.22
 Jul 27 17:55:11 embedded slapd[2958]: bdb_db_open: dbenv_open failed:
 DB_VERSION_MISMATCH: Database environment version mismatch (-30972)
 Jul 27 17:55:11 embedded slapd[2958]: backend_startup: bi_db_open
 failed! (-30972)
 Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
 DB_ENV-lock_id_free interface requires an environment configured for
 the locking subsystem
 Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
 txn_checkpoint interface requires an environment configured for the
 transaction subsystem
 Jul 27 17:55:11 embedded slapd[2958]: bdb_db_destroy: txn_checkpoint
 failed: Invalid argument (22)
 
 Any clue from now?
 
 Thank you,
 Leandro.
 
 2007/7/27, ツ Leandro Sales [EMAIL PROTECTED]:
 Hi,
 
I update my openldap to the latest available stable
 version. After this I can't restart my server. So, I tried to
 downgrade and any ldap command that I try to execute I got:
 
 slapcat: error while loading shared libraries:
 liblber-2.3.so.0: cannot open shared object file: No such file
 or directory
 
 How to fix this problem? Please, any clue will be accepted.
 
 Cheers,
 Leandro.
 
 
 
 -- 
 Leandro Melo de Sales.
 Pervasive and Embedded Computing Laboratory
 http://embedded.ufcg.edu.br/
 +55 083 3310-1404 (extension 208) 
 
 There are 10 types of people in this world: those who understand
 binary, those who don't


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Re: Slapd doesn't start after update

2007-07-27 Thread ツ Leandro Sales
Hi Tim,

After I run revdep-rebuild, the log message is:

Jul 27 22:12:14 embedded slapd[7610]: @(#) $OpenLDAP: slapd 2.3.30
(Jul 27 2007 21:41:58) $
[EMAIL 
PROTECTED]:/var/tmp/portage/net-nds/openldap-2.3.30-r2/work/openldap-2.3.30/servers/slapd
Jul 27 22:12:20 embedded slapd[7610]: auxpropfunc error invalid
parameter supplied
Jul 27 22:12:20 embedded slapd[7610]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Jul 27 22:12:20 embedded slapd[7611]: bdb(o=Embedded,c=BR): Program
version 4.5 doesn't match environment version 0.561
Jul 27 22:12:20 embedded slapd[7611]: bdb_db_open: Database cannot be
opened, err -30972. Restore from backup!
Jul 27 22:12:20 embedded slapd[7611]: bdb(o=Embedded,c=BR):
DB_ENV-lock_id_free interface requires an environment configured for
the locking subsystem
Jul 27 22:12:20 embedded slapd[7611]: bdb(o=Embedded,c=BR):
txn_checkpoint interface requires an environment configured for the
transaction subsystem
Jul 27 22:12:20 embedded slapd[7611]: bdb_db_close: txn_checkpoint
failed: Invalid argument (22)
Jul 27 22:12:20 embedded slapd[7611]: backend_startup_one: bi_db_open
failed! (-30972)
Jul 27 22:12:20 embedded slapd[7611]: bdb_db_close: alock_close failed
Jul 27 22:12:20 embedded slapd[7611]: slapd stopped.
Jul 27 22:12:20 embedded slapd[7611]: connections_destroy: nothing to destroy.

2007/7/27, Tim Allingham [EMAIL PROTECTED]:
 Have you tried using revdep-rebuild to check the links on that library?
 an updated version may have broken the links



 On Fri, 2007-07-27 at 17:59 -0300, ツ Leandro Sales wrote:
  I reinstall openldap 2.2.28 and when I start slapd, I got (from the
  log):
 
  Jul 27 17:55:11 embedded slapd[2957]: bdb_db_init: Initializing BDB
  database
  Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR): Program
  version 4.5 doesn't match environment version 0.22
  Jul 27 17:55:11 embedded slapd[2958]: bdb_db_open: dbenv_open failed:
  DB_VERSION_MISMATCH: Database environment version mismatch (-30972)
  Jul 27 17:55:11 embedded slapd[2958]: backend_startup: bi_db_open
  failed! (-30972)
  Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
  DB_ENV-lock_id_free interface requires an environment configured for
  the locking subsystem
  Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
  txn_checkpoint interface requires an environment configured for the
  transaction subsystem
  Jul 27 17:55:11 embedded slapd[2958]: bdb_db_destroy: txn_checkpoint
  failed: Invalid argument (22)
 
  Any clue from now?
 
  Thank you,
  Leandro.
 
  2007/7/27, ツ Leandro Sales [EMAIL PROTECTED]:
  Hi,
 
 I update my openldap to the latest available stable
  version. After this I can't restart my server. So, I tried to
  downgrade and any ldap command that I try to execute I got:
 
  slapcat: error while loading shared libraries:
  liblber-2.3.so.0: cannot open shared object file: No such file
  or directory
 
  How to fix this problem? Please, any clue will be accepted.
 
  Cheers,
  Leandro.
 
 
 
  --
  Leandro Melo de Sales.
  Pervasive and Embedded Computing Laboratory
  http://embedded.ufcg.edu.br/
  +55 083 3310-1404 (extension 208)
 
  There are 10 types of people in this world: those who understand
  binary, those who don't




-- 
Leandro Melo de Sales.
Pervasive and Embedded Computing Laboratory
http://embedded.ufcg.edu.br/
+55 083 3310-1404 (extension 208)

There are 10 types of people in this world: those who understand
binary, those who don't
-- 
[EMAIL PROTECTED] mailing list