I do have that cronjob, and in /etc/logrotate.d there's a syslog file, which indeed says that /var/log/messages should be rotated weekly...
But still it doesn't happen... Maybe it's a permission problem? These are the relevant permissions: drwxr-xr-x 16 root root 4096 Nov 17 10:38 log/ -rw-r----- 1 root adm 36865711 Nov 17 18:24 messages Are those the same with you? Regards, Hans On Sun, 2002-11-17 at 18:11, Steffen Barszus wrote: > On Sunday 17 November 2002 17:25, SainTiss wrote: > > Hi, > > > > it seems like /var/log/messages and /var/log/syslog are about 35 MB > > each... > > Are they ever deleted, or should I do that manually every now and then? > > > > Thanks > > > > Hans > > A logrotate cronjob should be in your system that delete your logs after some > time. Is at least on my system working without I had something configured. > > #$> cat /etc/cron.daily/logrotate > #!/bin/sh > > /usr/sbin/logrotate /etc/logrotate.conf > > and > man logrotate will help you to figure out whats wrong > > Greets > > Steffen > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
signature.asc
Description: This is a digitally signed message part