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

Re: where is the log file? -- Newbe



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

abebe lsslp wrote:
| I have entered 'loglevel -1' in
| /etc/openldap/slapd.conf and then entered
|
| local4.*                 /var/log/slapd.conf
|
| in /etc/syslog.conf and restarted syslog and slapd,
| but there I don't see anything in the log file. I have
| also tried 'loglevel 256'. Still nothing!
|
| what am I doing wrong?

You need to do 3 things:
1)Tell slapd what to log to syslog .You've done that with 'loglevel 256'.
2)Tell slapd how to log to syslog. You do this (assuming you want slapd
to use the syslog facility local4) by ensuring slapd is started with
something like '-l LOCAL4', on Redhat-style systems you do this by
adding a line containing :
SLAPD_OPTIONS="-l LOCAL4"
to /etc/sysconfig/ldap (which doesn't exist by default on RH - go figure)
- -tell syslog where to put logging information going to syslog facility
local4, which you have done (though /var/log/slapd.conf isn't the most
appropriate name for a log file ...).

Regards,
Buchan

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng                                RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA+AUdrJK6UGDSBKcRAtc3AJ0eyDZnz1e3cTmFDF6r9Si5UoGKCgCgquOY
/LbruEGYPBY7RFiEnG9nKN4=
=EM1Y
-----END PGP SIGNATURE-----