Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I implemented a few installations of mediawiki in a parent folder called: /var/wiki

I was alerted this morning that the wikis are no longer working.

Upon a little research, the /var/wiki folder is gone.

Is there any Linux-based reason why this folder would be removed?

If not, I'll look at hosting-related reasons.

If that's not it, I'll look into personal reasons (Maybe I deleted it?). Strange thing is that the apache2 config was still pointed at /var/wiki (and the wikis were running fine for weeks)

share|improve this question
1  
if you have auditing turned on, look at your audit logs. if you don't have auditing turned on, consider turning it on for the future. use the last command to see who was logged on between the times you last knew it to be there, and the time you noticed it was gone. That may give you and idea as to who could have done it. –  Tim Kennedy Nov 23 '11 at 18:06
add comment

closed as too localized by rozcietrzewiacz, Gilles, Ulrich Dangel, Stéphane Gimenez, jasonwryan Aug 22 '12 at 0:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 3 down vote accepted

Nothing I can think of would normally remove a directory named like this. Either you deleted it by mistake or it is gone due to disk corruption or your site got compromised and it was removed maliciously.

If it is related to disk corruption, you might do a fsck and then look under lost+found directory on that partition - some files might be recovered. If you find nothing this way, you can try extundelete or TestDisk to recover some data.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.