LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-13-2009, 10:39 AM   #1
TheYa
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
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 !
 
Old 06-13-2009, 12:08 PM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Try running fsck on the file system from the live cd.
 
Old 06-14-2009, 08:14 AM   #3
TheYa
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
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 ?!?
 
  


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
file system corrupt mamtasahai1 General 2 01-27-2007 01:58 PM
corrupt zip file - NEED HELP!!! FNC Linux - Software 2 10-29-2006 12:09 PM
Delete corrupt file hagman Linux - General 4 07-26-2004 03:15 PM
corrupt lease file ? h/w Linux - Networking 5 10-01-2003 09:05 PM
corrupt file system michaelc Linux - Newbie 1 12-14-2001 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:02 AM.

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
Open Source Consulting | Domain Registration