System crash - now shows "no space on device"

joe at actionline.com joe at actionline.com
Tue Sep 4 13:38:00 MST 2012


Someone wrote regarding my "running out of space issue" ...
> Your SNMP (simple network management protocol) daemon is complaining
> that message from klogd about ACPI is disconcerting

Someone from another forum suggested that I could safely delete
*all* files (but no directories) in /var/log ...

Is that true? or bad advice?

In particular, I'd like to delete these to get a fresh start
and see what new potential problem identifying messages will
be generated:

-rw------- 1 root root      86030 Aug 26 04:02 messages.2.gz
-rw------- 1 root root   47950631 Sep  4 10:52 messages

-rw------- 1 root root      72063 Aug 12 04:02 syslog.4.gz
-rw------- 1 root root      80073 Aug 19 04:02 syslog.3.gz
-rw------- 1 root root      92305 Aug 26 04:02 syslog.2.gz
-rw------- 1 root root 2147483647 Aug 31 09:25 syslog.1
-rw------- 1 root root   47944846 Sep  4 10:52 syslog

-rw------- 1 root root      36384 Aug 12 03:53 user.log.4.gz
-rw------- 1 root root      39396 Aug 19 03:58 user.log.3.gz
-rw------- 1 root root      47818 Aug 25 14:40 user.log.2.gz
-rw------- 1 root root 2147483647 Aug 31 09:26 user.log.1
-rw------- 1 root root   47853952 Sep  4 09:39 user.log

At the following link, I've arranged a list of files and directories
by type to ask which would be okay to delete:

http://www.upquick.com/temp/varlog.txt

Specifically, is there any reason to *not* delete empty files (0 file
size), .gz files, and files that have .1 .2 .3 .4 and/or 'old' appended?





More information about the PLUG-discuss mailing list