Hi Mathias,

I can only see the following audit messages in kern.log

type=1505 audit(1247115970.253:20): operation="profile_replace" name="/usr/sbin/slapd" name2="default"

I don't see any messages in kern.log while restarting slapd too.

Thanks for the reply.


On Fri, Jul 10, 2009 at 9:18 PM, Mathias Gug <mathiaz@ubuntu.com> wrote:
Hi Asimananda,

On Fri, Jul 10, 2009 at 7:00 AM, Asimananda
Mohanty<asimananda.mohanty@gmail.com> wrote:
> But after this, when I tried to restart slapd, I got errors like the
> following :
> main: TLS init def ctx failed: -1
> olcTLSCACertificateFile: /etc/ssl/certs/cacert.pem
> #olcTLSCertificateFile: /etc/ssl/certs/server.crt
> #olcTLSCertificateKeyFile: /etc/ssl/private/server.key

You may have run into apparmor issues. Do you see any apparmor audit
messages related to slapd in the logs?

See https://wiki.ubuntu.com/DebuggingApparmor for more information on
debugging apparmor profiles.

Mathias Gug
Ubuntu Developer  http://www.ubuntu.com