Log Files
206 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
If you get error messages indicating that the lock table is out of available locks
(
[26/Oct/2001:17:44:25 0200] - libdb: Lock table is out of available
locks
), set the value of the
nsslapd-db-locks
attribute in the
cn=config,cn=ldbm database,cn=plugins,cn=config
entry to twice its
current number. For example, if the current number is
10000
, set it to
20000
. If the
problem persists, double the number again. You can also monitor the current and
maximum number of locks by doing a search on
cn=database,cn=monitor,cn=ldbm database, cn=plugins,cn=config
. An
example of the command is given below.
ldapsearch -h localhost -p 389
-b"cn=database,cn=monitor,cn=ldbm database,
cn=plugins,cn=config" -D "cn=directory manager" -w password33
objectclass=* | grep -- -locks: )
For more information on using LDAP utilities, see the Red Hat Directory Server
Administrator’s Guide.
Log Files
Each Directory Server instance contains a
logs
directory for storing
log
-related
files. Code Example 4-6 shows a sample listing of the
logs
directory contents.
Code Example 4-6 Contents of a Sample Logs Directory
The following list describes the content of the
log
-related files:
• The content of the
access
,
audit
, and
error
log files is dependent on the log
configuration.
./ access.20010126-120123 audit
errors.rotationinfo
../ access.20010130-140221
audit.rotationinfo pid
access access.20010201-100122 errors
slapd.stats
access.20010124-180611 access.rotationinfo
errors.20010124-180607