Lock table is out of available locks), double the value of the nsslapd-db-locks attribute
in the cn=config,cn=ldbm database,cn=plugins,cn=config entry.
For example, if the current value is 10000, set it to 20000. If the problem persists, double the number
again. To monitor the current and maximum number of locks, do a search on cn=database,
cn=m onitor, cn=ldbm database, cn=plugins, cn=config. For example:
ldapsearch -h localhost -p 389 -D "cn=directory manager" -w password
-b "cn=database,cn=monitor,cn=ldbm database, cn=plugins,cn=config"
objectclass=* | grep -- -locks: )
For more information on using LDAP utilities, see the Directory Server Administrator's Guide.
4.7. Log Files
Each Directory Server instance contains a /var/log/dirsrv/slapd-instance_name directory for
storing log files. T he following is a sample listing of the /logs directory contents.
Exa mple 4 .5. Log Directory Cont ents
access access.20090228-171925 errors
access.20090221-162824 access.rotationinfo errors.20090221-162824
access.20090223-171949 audit errors.rotationinfo
access.20090227-171818 audit.rotationinfo slapd.stats
The content of the access, audit, and error log files is dependent on the log configuration.
The slapd.stats file is a memory-mapped file which cannot be read by an editor. It contains data
collected by the Directory Server SNMP data collection component. T his data is read by the SNMP
subagent in response to SNMP attribute queries and is communicated to the SNMP master agent
responsible for handling Directory Server SNMP requests.
4.8. PID Files
slapd-serverID.pid and slapd-serverID.startpid files are created in the /var/run/dirsrv
directory when the server is up and running. Both files store the server's process ID.
4.9. Tools
Directory Server tools are stored in three directories on Red Hat Enterprise Linux 5 (32-bit):
/usr/bin
/usr/sbin
/usr/lib/mozldap
The contents of those directories are listed below. Chapter 6, Command-Line Utilities has more
information on command-line scripts.
Exa mple 4 .6. /bin Contents
dbscan ldif
dbscan-bin ldif-bin
Exa mple 4 .7. /sbin Cont ents
ds_removal m igrate-ds-admin.pl setup-ds-admin.pl
ds_unregister register-ds-admin.pl setup-ds.pl
Exa mple 4 .8. LDAP T ool Direct ory Contents
ldapcmp ldapcompare-bin ldapmodify ldappasswd-bin
ldapcmp-bin ldapdelete ldapmodify-bin ldapsearch
ldapcom pare ldapdelete-bin ldappasswd ldapsearch-bin
Kommentare zu diesen Handbüchern