Re: Unable to start up the ldap server after reboot

2019-01-03 Thread Ulf Volmer
On 02.01.19 17:36, Dieter Klünter wrote:

> If you want to run openldap on solaris, try openIndiana, which
> provides openldap-2.4.46. 

Solaris 11.4 (from oracle) provides the same version.
Just in case, OP will stuck at commercial versions.

best regards
Ulf



Re: Unable to start up the ldap server after reboot

2019-01-02 Thread Dieter Klünter
Am Wed, 2 Jan 2019 14:00:19 +
schrieb "Bharath, Basutkar (TR Tech, Content & Ops)"
:

> HI Team,
> 
> Am unable to start up the ldap server on solaris 10, could you please
> help us with the below error;
> 
> bash-3.2# /usr/local/openldap/libexec/slapd -d 384 -u ldap -g ldap -h
> "ldap:/// "& >/dev/null 2>&1 [1] 8686
> bash-3.2# @(#) $OpenLDAP: slapd 2.2.15 (Nov 10 2014 13:34:11) $
> @opusldap1:/usr/local/sftw/openldap-2.2.15/servers/slapd
[..]
> bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
> slapd stopped.
> connections_destroy: nothing to destroy.
[...]
The errors are BerkeleyDB based, bdb has been deprecated. don't use it. 

Do not expect support on 15 years old source code versions.  
If you want to run openldap on solaris, try openIndiana, which
provides openldap-2.4.46. 

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E



Unable to start up the ldap server after reboot

2019-01-02 Thread Bharath, Basutkar (TR Tech, Content & Ops)
HI Team,

Am unable to start up the ldap server on solaris 10, could you please help us 
with the below error;

bash-3.2# /usr/local/openldap/libexec/slapd -d 384 -u ldap -g ldap -h "ldap:/// 
"& >/dev/null 2>&1
[1] 8686
bash-3.2# @(#) $OpenLDAP: slapd 2.2.15 (Nov 10 2014 13:34:11) $
@opusldap1:/usr/local/sftw/openldap-2.2.15/servers/slapd
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Global ACL: access to attrs=userPassword
by dn.base="cn=admin,dc=riag,dc=com" write(=wrscx)
by 
group/groupOfUniqueNames/uniqueMember.base="cn=ldap_admins,dc=riag,dc=com" 
write(=wrscx)
by anonymous auth(=x)
by self write(=wrscx)
by * auth(=x)

Global ACL: access to attrs=printQueue
by dn.base="cn=admin,dc=riag,dc=com" write(=wrscx)
by 
group/groupOfUniqueNames/uniqueMember.base="cn=ldap_admins,dc=riag,dc=com" 
write(=wrscx)
by self write(=wrscx)
by * read(=rscx)

Global ACL: access to *
by dn.base="cn=admin,dc=riag,dc=com" write(=wrscx)
by 
group/groupOfUniqueNames/uniqueMember.base="cn=ldap_admins,dc=riag,dc=com" 
write(=wrscx)
by * read(=rscx)

bdb_db_init: Initializing bdb database
bdb(dc=riag,dc=com): PANIC: fatal region error detected; run recovery
bdb_db_open: dbenv_open failed: DB_RUNRECOVERY: Fatal error, run database 
recovery (-30978)
backend_startup: bi_db_open failed! (-30978)
bdb(dc=riag,dc=com): DB_ENV->lock_id_free interface requires an environment 
configured for the locking subsystem
bdb(dc=riag,dc=com): txn_checkpoint interface requires an environment 
configured for the transaction subsystem
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
slapd stopped.
connections_destroy: nothing to destroy.


Sensitivity: Confidential