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

(ITS#3863) slapd hangs in startup with monitor directives and debug



Full_Name: Marty Heyman
Version: 2.2.23
OS: Linux (Red Hat 9)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (63.193.240.128)


I added "database monitor" directive after the global directives and before
"database bdb" which triggers behaviors reported in ITS#3852. The comments in
that ITS entry imply that adding appropriate access directives should/could
remedy the symptoms of ITS#3852. I tried various combinations of rootdn, rootpw,
and access directives trying to understand that set of symptoms and possible
remedies.

During my experiments, I used an inappropriate rootdn for cn=monitor and tried
to start slapd with debugging (-d 1). slapd hangs. ^C is properly trapped and
slapd shuts down cleanly. I tried this with debug levels of 1, 7, and, finally,
-1. slapd goes through bringup and debug prints a message: "slapd starting"
(with -1, there are 4 additional messages about threads 6r and 7r) and no
further output until ^C is pressed. At that point, debug issues the message
"daemon: shutdown requested and initiated." Shutdown messages after that do not
seem to indicate any problems discovered or encountered.

I moved the definitions to the end of the slapd.conf, after bdb, and got the
same results.

When started without debugging (no -d flag), slapd appears to start normally and
respond as expected to accesses by both ldapsearch and JXPlorer.