[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
openldap does not want to write log files?
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: openldap does not want to write log files?
- From: Mauricio Tavares <raubvogel@gmail.com>
- Date: Tue, 1 Mar 2011 09:17:41 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=8Gk3/DRbUjlOoirJro7MjHibkZw9KwJ82nZtlxp13JU=; b=bQQqb70E3a2xSJm49AL6PI2/X3Onx97aVUKR65wco3mXJbm+a9vm3kZi0rsCmGmIFK XjiM2IeNWWgH09Ziphn4jVo7OK3xLE7dZfTtMSKLR1cEfnM0VRc6wYwL4cd5BndP869/ sI6XkrFVtSl7TRLjV04V/AW1e5N+g1wZk69iI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QS1vGYKeKPpg48/h2rINtNpj/LLuHmWpBVPySjs1dAlASXMeIacUfTf8PgQvBArv+h jWtBWVanWZLlqbOG/m4mrjkcJrzrPzLRjrILxFG6qIUret8BTn5OHfybwxSAgLDv2AMN FIl1GczGdQMDHEEcrkgFilv49YfKPSuS9WPKg=
I am feeling rather confused here. I installed openldap in a
solaris10/sparc box but I do not seem to persuade it to write to a log
file. FYI, right now I am running slapd as root so permissions AFAIk
should not be the issue. FYI, syslog here is the old,
non-rsyslog/syslog-ng variety.
So, in the /etc/syslog.conf file I have:
local4.info /var/log/ldap.log
local4.err /var/log/ldap.log
local4.notice /var/log/ldap.log
which makes me think I should be covering every possible message sent
by slapd. Now /var/log/ldap.log is created as
-rw------- 1 root sys 0 Feb 28 16:21 ldap.log
and in the slapd.conf file I have
loglevel 11560
logfile /var/log/slapd.log
which not only should mean slapd is blabbing a lot to the log file.
Also note I am telling it to write to /var/log/slapd.log,
-rw------- 1 root sys 0 Mar 1 07:39 slapd.log
When I start slapd (after restarting syslog just in case), nothing is
written to those two log files. In fact, the only clue that something
happened is the data in slapd.log changed:
-rw------- 1 root sys 0 Feb 28 16:21 ldap.log
-rw------- 1 root sys 0 Mar 1 07:40 slapd.log
Anything I am missing here?