Thanks for all the replies guys, looked at the output of slapd -d -1 and it showed that there was an invalid ACCESS statement in my slapd.conf Removed it, and it starts ok now. BTW, I don't appear to have any syslog.conf on the system, but syslog-ng is installed, so I put the LOCAL4.* statement into my syslog-ng.conf.in file, so hopefully that should work now. Thanks for all your replies!
Thanks and Kind Regards,
Ian Moroney Field Engineer
T: 020 8891 3010 M: 07791 965924 F: 020 8288 2591 www.techdivision.co.uk
TechDivision - Making IT Work
-----Original Message----- From: openldap-software-bounces+ian.moroney=techdivision.co.uk@OpenLDAP.org [mailto:openldap-software-bounces+ian.moroney=techdivision.co.uk@OpenLDA P.org] On Behalf Of Gavin Henry Sent: 06 February 2007 22:51 To: Ian Moroney Cc: openldap-software@openldap.org Subject: Re: logging
<quote who="Ian Moroney">
Hi guys. How can i set up logging for openldap so i can find out why the damn thing won't start? :P i've got the good old ldap_bind: can't contact LDAP server (-1) problem... and i'd like to look at a log file
to see what is causing the problem I know how to set the loglevel to 256 in the configuration file, but no idea what file to look at for the output. Help! :D
Add to your syslog.conf:
LOCAL4.* -/var/log/openldap.log
etc. and restart slapd and syslog
See:
http://www.openldap.org/faq/data/cache/80.html
-- Kind Regards,
Gavin Henry. Managing Director.
T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry@suretecsystems.com
Open Source. Open Solutions(tm).
openldap-software@openldap.org