----- Original Message -----
From: Kevin Weslowski <[EMAIL PROTECTED]>
Date: Sun, 10 Nov 2002 10:33:39 -0600
To: [EMAIL PROTECTED]
Subject: Re: setting up logrotate properly
> Hi again,
>
> I fiddled with it for a while but I still haven't quite got it figured out. I
>modified "ldap" so that it is now:
>
> /var/log/ldap.log {
> postrotate
> killall slapd
> endscript
> }
>
> but now I'm not getting a failed cron job message to root...like I was with my
>previous configuration of this file.
>
> When I executed:
>
> service ldap stop
> service syslog restart
> service ldap start
>
> slapd began writing to the proper log file, ldap.log
>
> Anyone know why this is happening and how I can get slapd to rotate properly?
> Thanks,
>
> Kevin
>
> Kevin Weslowski wrote:
>
> > Hi all,
> >
> > I installed openldap recently and tried to configure logrotate to properly rotate
>my /var/log/ldap.log
> >
> > It rotated when it was supposed to, but slapd is still writing to the same file,
>now named "ldap.log.1". "ldap.log" is now 0 bytes...
> >
> > To configure logrotate, I added a file to the /etc/logrotate.d directory, "ldap"
> >
> > contents:
> >
> > /var/log/ldap.log {
> > missingok
> > notifempty
> > postrotate
> > service ldap restart
> > endscript
> > }
> >
> > anyone have suggestions on what it should be?
> > Thanks,
> >
> > Kevin
> >
> > _______________________________________________
> > Seawolf-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/seawolf-list
>
>
>
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
>
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list