List Info

Thread: Slapd doesn't start after update




Slapd doesn't start after update
user name
2007-07-27 15:44:23
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.
Re: Slapd doesn't start after update
user name
2007-07-27 15:59:02
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, $B%D(B Leandro Sales < leandroalgmail.com">leandroalgmail.com>:
Hi,

&nbsp;  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)

&quot;There are 10 types of people in this world: those who understand binary, those who don't&quot;
Re: Re: Slapd doesn't start after update
country flaguser name
Australia
2007-07-27 19:19:32
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 <LEANDROALGMAIL.COM>:
>         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"
Re: Re: Slapd doesn't start after update
user name
2007-07-27 20:14:39
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) $
rootembedded:/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 <desertedwestnet.com.au>:
> 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, $B%D(B 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, $B%D(B Leandro Sales
<leandroalgmail.com>:
> >         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"
-- 
gentoo-usergentoo.org mailing list


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )