Log files, Example 4.5. log directory contents, Pid files – Red Hat 8.1 User Manual

Page 156: Tools, Example 4.6. /bin contents, Example 4.7. /sbin contents, Example 4.8. ldap tool directory contents, Log files 4.8. pid files 4.9. tools

Advertising
background image

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. The following is a sample listing of the /logs directory contents.

Example 4 .5. Log Directory Contents

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. This 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/m ozldap

The contents of those directories are listed below.

Chapter 6, Command-Line Utilities

has more

information on command-line scripts.

Example 4 .6. /bin Contents

dbscan ldif
dbscan-bin ldif-bin

Example 4 .7. /sbin Contents

ds_removal migrate-ds-admin.pl setup-ds-admin.pl
ds_unregister register-ds-admin.pl setup-ds.pl

Example 4 .8. LDAP Tool Directory Contents

ldapcmp ldapcompare-bin ldapmodify ldappasswd-bin
ldapcmp-bin ldapdelete ldapmodify-bin ldapsearch
ldapcompare ldapdelete-bin ldappasswd ldapsearch-bin

156

Chapter 4. Server Instance File Reference

Advertising