[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Rép. : Re: Problem to configure openldap and berkeley database
Hi,
Thx to help me.
So ls -ld /usr/local/openLdap2.2.28/log return me:
drwxrwxrwx 2 root root 4096 oct 21 17:53
/usr/local/openLdap2.2.28/log
and i have changed checkpoint 512 720 to checkpoint 128
15
>>> Buchan Milne <bgmilne@staff.telkomsa.net> 10/24 9:36 >>>
On Sunday 23 October 2005 11:13, Eudes LEDUCQ wrote:
> Hi,
>
> i try to have a well run bdb backend so i have created this file but
i
> have this following errors , want it means ?
>
> ====> bdb_cache_release_all
> bdb(dc=ghec,dc=fr): DB_ENV->lock_id_free interface requires an
> environment configured for the locking subsystem
This normally means that slapd does not have write access to your
database
directory or transaction log file location.
What does 'ls -ld /usr/local/openLdap2.2.28/log' say?
> slapd shutdown: freeing system resources.
> bdb(dc=ghec,dc=fr): 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.
>
>
> is some one can help me ? is my parameters are good ?
>
> My slapd.conf and DB_CONFIG file:
>
> ##########
> #slapd.conf
> #
>
> # Set the entry cache size to 5000.
> #
> cachesize 5000
>
> #
> # Set transactional checkpoint.
> #
> checkpoint 512 720
You only want to checkpoint every 12 hours? You're happy to lose data
that is
12 hours old (depending on whether you have database recovery set to
run at
startup or not)?
> #############
> #
> #DBCONFIG
>
> # Set the database in memory cache size.
> #
> set_cachesize 0 52428800 0
>
>
> #
> # Set database flags.
> #
> set_flags DB_TXN_NOSYNC
Bad idea ^^^^^^^^^^^^^
>
>
> #
> # Set log values.
> #
> #1048576
> #10485760
> #2097152
> set_lg_regionmax 1048576
> set_lg_max 10485760
> set_lg_bsize 2097152
Better than your previous ones.
> set_lg_dir /usr/local/openLdap2.2.28/log
>
>
> #
> # Set temporary file creation directory.
> #
> set_tmp_dir /tmp
>
> thx
--
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)