[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: What does this mean!?



You should probably update or tune your bdb DB_CONFIG file:

Here are the contents from one of my ldap servers:
#Set cachesize to 1GB
set_cachesize 0 1073741824 0

#Set maximum memory log region 2MB
set_lg_regionmax 1048576

#Set buffer size to 2MB -  amount of logging
#information written to this cache it will be flushed to disk.
set_lg_bsize 2097152

set_lg_dir /your_ldap_log_dir

set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000


Also go to: http://www.openldap.org/search/ and search on DB_CONFIG for more info.

Scott


James Courtney wrote:

[root@DC-UMAIL01 2.1.25]# cat log/slapd.log
Aug 9 17:05:44 DC-UMAIL01 slapd[19801]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Aug 9 17:05:44 DC-UMAIL01 slapd[19801]: bdb_db_init: Initializing BDB database Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: bdb(dc=myinunison,dc=com): Lock table is out of available locker entries Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: bdb_db_open: db_open(/apps/openldap/2.1.25/var/openldap-data) failed: Cannot allocate memory (12) Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: backend_startup: bi_db_open(1) failed! (12) Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: bdb(dc=myinunison,dc=com): Database handles open during environment close Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: bdb_db_destroy: close failed: Invalid argument (22) Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: slapd stopped. Aug 9 17:05:44 DC-UMAIL01 slapd[19802]: connections_destroy: nothing to destroy. [root@DC-UMAIL01 2.1.25]#



I assume nothing good and slapd doesn't start but anything I can fix?

Thanks!

James "Jamey" Courtney
InPhonic, Inc.



-- Scott Walker Unix Systems Administration Magma Communications Ltd.

t:  (613) 228-3565
f:  (613) 228-8313
http://www.magma.ca/

---
This e-mail message is confidential, may be privileged and is intended
for the exclusive use of the addressee. Any other person is strictly
prohibited from disclosing, distributing or reproducing it. If the
addressee cannot be reached or is unknown to you, please inform the
sender by return e-mail immediately and delete this e-mail message and
destroy all copies. Due to the inherent risks associated with the
Internet, we assume no responsibility for unauthorized interception of
any Internet communication with you or the transmission of computer
viruses. Thank you.
---