This one time, at band camp, Jamshid Karimi wrote: > >My immediate task is to get the applications going. As >an example apache fails to start since two config >files have changed attributes and size. Here is one of >them: > >Yesterday: >-rw-r--r-- 1 root root 368 Jul 19 2005 >/etc/httpd/conf.d/dspam.conf > >Today: >?--xr-Srw- 12387 808792368 825254448 1.6G Sep 28 >2022 /etc/httpd/conf.d/dspam.conf > >I can replace the corrupted files from yesterday's >daily backup but the problem is I cannot delete them: > >rm: cannot remove `/etc/httpd/conf.d/dspam.conf': >Operation not permitted > >Has anyone come across a similar situation? Any ideas >how to get rid of files with unknown filetype?
You've got a backup, so that's a good start. First check the syslog looking for disk errors or filesyustem corruption, you might have to go back a bit. That'll tell you where you should start doing the recovery. If it's filesystem problems, you shuold start with a fsck (after taking a dump of the whole partition). If it's disk, then you're going to be hosed eventually, but you can try to remap the bad sectors with a run of badblocks. Once the fsck is over, you shuold be able to clean up the mess you're describing above. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
