hi,
I had configured openldap 2.3 in RHEL 5 operating system. I had configured in master/slave. I want where can i fing the ldap logs. i had tried in /var/log/messages, but no logs were generating there. plz guide me where to find the ldap logs.
"Aravind Arjunan" aravind.arjunan@gmail.com writes:
hi,
I had configured openldap 2.3 in RHEL 5 operating system. I had configured in master/slave. I want where can i fing the ldap logs. i had tried in /var/log/messages, but no logs were generating there. plz guide me where to find the ldap logs.
slapd is logging to local4, check your syslog configureation for local4 logged services and the approriate logfile.
-Dieter
Aravind,
They are not there by default! Edit /etc/syslog.conf and add this line :
#LDAP local4.* /var/log/slapd.log
Then restart syslog - 'service syslog restart'. Then restart ldap 'service ldap restart'. You should see the log file in /var/log (or where ever you want it). You can set the loglevel in the /var/log/slapd.conf to whichever level you need.
Hope that helps,
Neil.
Aravind Arjunan wrote:
hi,
I had configured openldap 2.3 in RHEL 5 operating system. I had configured in master/slave. I want where can i fing the ldap logs. i had tried in /var/log/messages, but no logs were generating there. plz guide me where to find the ldap logs.
openldap-technical@openldap.org