Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am hosting a website on Debian 5.0 & Apache2. Today one of my websites was down, Apache said it couldn't find the directory.

I located the files and the whole site once in /var/www/site was now /var/lock/site. All the files were present.

I was confused, but figured I'd just move it back.

mv /var/lock/site /var/www

All looked fine... Except that only the directories moved and the files appear to be lost!

I am working on restoring from backups but I would really love to know what happened and where my files went (the backups are a few days old).

Thanks for your help!

share|improve this question

Well, that sounds like it wasn't triggered by any system mechanism. You should read through the logs and try to spot anything suspicious. Without any logs, the diagnosis is impossible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.