[nmglug] saving disk space
BrianO'Keefe
okeefe at cybermesa.com
Wed May 23 09:14:22 PDT 2007
Mars DeLapp wrote:
> BrianO'Keefe wrote:
>> A quick and easy one-
>> Is it safe to delete /var/log files? I would assume it is but I wanted
>> to get some expert advice.
>
>
> You can run logrotate by hand:
>
> # logrotate -fv /etc/logrotate.conf
Hmm, I did this and here are the results. the giant mol.1.log file is
still there...logrotate blew right by it. Interesting error at the end too!
logrotate -fv /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file apache
reading config info for /var/log/apache/*.log
reading config file apache2
reading config info for /var/log/apache2/*.log
reading config file aptitude
reading config info for /var/log/aptitude
reading config file base-config
reading config info for /var/log/base-config.log
reading config info for /var/log/base-config.timings
reading config file clamav-daemon
reading config info for /var/log/clamav/clamav.log
reading config file clamav-freshclam
reading config info for /var/log/clamav/freshclam.log
reading config file cupsys
reading config info for /var/log/cups/*log
reading config file dirmngr
reading config info for /var/log/dirmngr.log
reading config file dpkg
reading config info for /var/log/dpkg.log
reading config file kdm
reading config info for /var/log/kdm.log
reading config file lvm-common
reading config info for /var/log/lvm
reading config file mysql-server
reading config info for /var/log/mysql.log /var/log/mysql/mysql.log
/var/log/mysql/mysql-slow.log
reading config file ppp
reading config info for /var/log/ppp-connect-errors
reading config file samba
reading config info for /var/log/samba/log.smbd
reading config info for /var/log/samba/log.nmbd
reading config file scrollkeeper
reading config info for /var/log/scrollkeeper.log
reading config file unattended-upgrades
reading config info for /var/log/unattended-upgrades/unattended-upgrades.log
reading config info for /var/log/wtmp
reading config info for /var/log/btmp
error: bad year 1904 for file /var/log/cups/error_log in state file
/var/lib/logrotate/status
I see that I have a couple of weird dates including /var/log/apache,
also 1904, and clamav but those didn't generate errors.
Thanks again!
More information about the nmglug
mailing list