Low Sensitivity/Aerospace Internal Use Only
After removing all LTB packages with rpm --erase (to include the
berkeleydb-ltb-4.6.21.NC-4.el6.patch4.x86_64 RPM) I still have a problem.
All of the new packages I used were:
openldap-ltb-2.4.39-2.el6.x86_64.rpm
openldap-ltb-check-password-1.1-8.el6.x86_64.rpm
openldap-ltb-contrib-overlays-2.4.39-2.el6.x86_64.rpm
openldap-ltb-debuginfo-2.4.39-2.el6.x86_64.rpm
openldap-ltb-mdb-utils-2.4.39-2.el6.x86_64.rpm
I installed these packages as opposed to updating||upgrading them.
After installing them and discovering that my original slapd.d was still
intact I used the following command to attempt to start up LDAP:
service slapd start
The following were the outputs:
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Launching OpenLDAP configuration test...
slapd: [OK] OpenLDAP configuration test successful
slapd: [INFO] No db_recover done
slapd: [INFO] Launching OpenLDAP...
slapd: [OK] File descriptor limit set to 1024
52fa2547 @(#) $OpenLDAP: slapd 2.4.39 (Feb 10 2014 15:19:42) $
[email protected]:/home/clement/build/BUILD/openldap-2.4.39/servers/slapd
52fa2547 bdb(dc=lab,dc=aero,dc=org): Program version 4.6 doesn't match
environment version 4.7
52fa2548 bdb_db_open: database "dc=lab,dc=aero,dc=org" cannot be opened,
err -30972. Restore from backup!
52fa2548 bdb(dc=lab,dc=aero,dc=org): txn_checkpoint interface requires an
environment configured for the transaction subsystem
52fa2548 bdb_db_close: database "dc=lab,dc=aero,dc=org": txn_checkpoint
failed: Invalid argument (22).
52fa2548 backend_startup_one (type=bdb, suffix="dc=lab,dc=aero,dc=org"):
bi_db_open failed! (-30972)
52fa2548 bdb_db_close: database "dc=lab,dc=aero,dc=org": alock_close
failed
52fa2548 slapd stopped.
slapd: [ALERT] No PID file for OpenLDAP
How can I have a PID file before I start the daemon? This was the same
problem I had with the last revision of openldap-ltb packages.
This code appears to require berkeleydb-4.7. Is that correct?
If so, where do I get the appropriate RPM since the only berkeleydb
package available is 4.6.21?
Was I supposed to run the slaptest command again after modifying the
slapd.conf file again (or copying my other original back into place that I
backed up)? Or is there some other reason this is failing?
This is the last day I can mess with OpenLDAP, OpenLDAP-LTB or any other
revision or brand of OpenLDAP. Otherwise I have to make CentOS-6 machines
use a Windows AD machine for authentication instead, because time has
become more pressing.
Warron French, MBA, SCSA
From: Clément OUDOT <[email protected]>
To: Warron S French <[email protected]>,
Cc: "[email protected]"
<[email protected]>
Date: 02/11/2014 03:09 AM
Subject: Re: Recommended version of BDB package --- Low
Sensitivity/Aerospace Internal Use Only
Sent by: [email protected]
2014-02-10 22:48 GMT+01:00 Warron S French <[email protected]>:
Low Sensitivity/Aerospace Internal Use Only
Yeah, I think Clement is aware of it already though.
This was fixed yesterday.
Clément.
Low Sensitivity/Aerospace Internal Use Only
_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users