Why are my files in /var/lock and where did they just go?!

Posted by Nicky Hajal on Server Fault See other posts from Server Fault or by Nicky Hajal
Published on 2010-02-04T04:17:45Z Indexed on 2010/04/05 19:03 UTC
Read the original article Hit count: 337

Filed under:
|
|

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!

© Server Fault or respective owner

Related posts about linux

Related posts about apache