LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   ifstate file corrupt (https://www.linuxquestions.org/questions/debian-26/ifstate-file-corrupt-732701/)

TheYa 06-13-2009 10:39 AM

ifstate file corrupt
 
Hi,

I have a problem with stoping and starting network services, and will be thankfull for some help here. I have been using different linux versions for a while, but I have never got similar problem like this one. Acctually, the problem started when I saw that I was not able to stop/start network servicies. If try to do it like root, use to get the following problem pointing to /etc/network/run/ifstate file with reason as 'Permission denied'

DebilanBox:/etc/network/run# /etc/init.d/network restart
-su: /etc/init.d/network: No such file or directory
DebilanBox:/etc/network/run# /etc/init.d/networking restart
Reconfiguring network interfaces...ifdown: failed to open statefile /etc/network/run/ifstate: Permission denied
ifup: failed to open statefile /etc/network/run/ifstate: Permission denied
failed.
DebilanBox:/etc/network/run#


If I try to access /etc/network/run/ifstate file there is some strange user/group ownership listed out as following:

DebilanBox:/etc/network/run# cd /etc/network/run/
DebilanBox:/etc/network/run# ls -ltr
ls: cannot access ifstate: Permission denied
total 0
?????????? ? ? ? ? ? ifstate
DebilanBox:/etc/network/run#


I have tried to remove ifstate file with live CD without success, with the same error 'Permission denied' reason !!!
Does anybody have seen an similar problem.

Thanks in advance for answers !

norobro 06-13-2009 12:08 PM

Try running fsck on the file system from the live cd.

TheYa 06-14-2009 08:14 AM

Hi,

Thanks, it's worked and the problem is gone. Just wondering, since that is related to ReiserFS on Lenny, whether the similar problems been reported so far ?!?


All times are GMT -5. The time now is 08:07 PM.