LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2010, 05:16 AM   #1
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Question File Vanished... eh?? Weird!


Hi All,

I've not seen this before, very odd... Any ideas?

Code:
ls -ali logs/
ls: cannot access logs/file.2010-09-01.log: No such file or directory
total 288
1230636 drwxr-xr-x  2 auser buser   4096 2010-09-10 09:48 .
1228801 drwxr-xr-x 12 auser buser   4096 2010-09-09 16:08 ..
1230638 -rw-r--r--  1 auser buser   7174 2010-08-04 14:26 file.2010-08-04.log
1230456 -?????????  ? ?        ?             ?                ? file.2010-09-01.log
1230464 -rw-r--r--  1 auser buser  10038 2010-09-09 17:01 file.2010-09-09.log
1230459 -rw-r--r--  1 auser buser  22590 2010-09-10 09:51 file.2010-09-10.log
Thanks for any help,
Regards,
M

Last edited by helptonewbie; 09-10-2010 at 05:17 AM.
 
Old 09-10-2010, 05:35 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

Looks like the file is corrupt or the underlying file-system might be having problems.

I'm not sure if your distro checks the file system every time it boots (probably not, it is done periodically). The following command forces a file-system check on the next (re)boot (as root user): touch /forcefsck

Reboot your machine.

If all went well your file-system will be checked and (hopefully) automatically repaired.

If the /forcefsck file is still present after you boot, remove it (as root): rm /forcefsck

Hope this helps.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird undelteable file!! itz2000 Linux - Newbie 11 09-10-2006 01:49 AM
Weird File Problem sashhoney Linux - Software 1 05-26-2005 05:23 PM
Weird entries in log file KennyK Linux - Security 4 10-17-2003 09:28 PM
Weird issues with I vi into a file slewis1972 Linux - General 3 07-06-2003 05:03 PM
weird think about .bin file nakkaya Linux - General 4 05-05-2003 09:23 AM


All times are GMT -5. The time now is 12:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration