Am 26.01.2011 07:31, schrieb Peter Palmreuther: > Hello, > > no one with any idea about what to look for? > > On 01/13/11 9:03 pm, I wrote: >> Hello, >> >> I'm running OpenLDAP 2.4.20 in a chroot()-ed environment on Solaris 10. >> I somehow don't get logging working. I don't see any logging making it's way >> through syslog. >> Nor do I get messages to an explicitly configured "logfile". >> "loglevel" is set to "stat". >> >> As soon as I start slapd using "-d ..." I see the messages in the "logfile" >> configured. >> >> Using "truss" I see unsuccessful tries to open "/var/run/syslog_door" until >> I >> >> mount -F lofs /var/run /var/openldap/var/run >> >> (with "/var/openldap" being my chroot-directory). Unluckily still no syslog >> logging. >> using "pfiles <PID>" I see slapd has got a file handle to "logfile" open. >> But there's not "write" to this handle in truss output either. >> >> Anybody with any idea about if and how chroot-slapd and syslog (or logfile) >> works? >> >> Thanks in advance.
Hi, if you are using Solaris, why don't you just put your LDAP server into a zone? Would be a more "clean" separation from the global zone and you have your own syslog deamon in that environment. Regards, Christian Manal
