• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

/var/log simply GONE

Netopia

Diamond Member
Hey guys,

Earlier this week I started getting error emails from a cron job on one of my personal servers. It was complaining that the log file it was supposed to be reporting on didn't exist.

I ssh'ed into the box and was shocked to see that /var/log was no longer in existence! This box is on a public IP address, but behind a hardware firewall with only POP, SMTP, IMAP, HTTP and HTTPS open to the world. I downloaded a couple things (like chkrootkit) and scanned for rootkits and the like, but found nothing.

With the exception of the 'log' directory being gone, the machine seems to be operating as normal... no disk space mysteriously missing... no unusual spiking of the CPU or anything else.

I'd done a complete backup of /var about two weeks earlier, so I restored the old 'log' directory and things started to be written to like normal again. Nothing suspicious has shown up in any of the logs since.

This directory is on the same partition with /, so there isn't a chance that the partition went wonky (if a partition had been mounted just for /var/log) and unmounted.

Any ideas? Anyone ever seen something like this before?

Joe
 
Setup the box to syslog to a remote server and see if anything appears in the remote logs, if anything's on the machine it could be cleaning up the local logs.
 
I would normally say look in your utmp and wtmp log files to see who has logged in lately (and from where)... but obviously they are gone.

It's a long shot... but have you looked at the .history files of your user accounts to see if any of them has been used recently?
 
Back
Top