LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-11-2009, 01:44 AM   #1
kopla
LQ Newbie
 
Registered: Sep 2009
Posts: 7

Rep: Reputation: 0
/etc/network/run/ifstate problem (Lenny)


Hi

Sorry, but my english is not very well.

I compiled new kernel(2.6.30.5).
When I'm booting kernel:
Code:
Setting up networking....
Configuring network interfaces...ifup: failed to lock statefile /etc/network/run/ifstate: Permission denied
That is why my network doesn't work.

I tried to give all rights to ifstate file and run directory but it didn't help. I also tried fsck.

How can I fix this?
 
Old 09-11-2009, 03:43 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
How are the permissions?
Code:
-rw-r--r-- 1 root root 16 2009-09-11 10:10 /etc/network/run/ifstate
 
Old 09-12-2009, 02:58 AM   #3
kopla
LQ Newbie
 
Registered: Sep 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Here are the permissions:
Code:
-rw-r--r-- 1 root root 0 1970-01-01 02:00 etc/network/run/ifstate
 
Old 09-12-2009, 03:30 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What happens if you start the network manually?
 
Old 09-12-2009, 11:39 AM   #5
kopla
LQ Newbie
 
Registered: Sep 2009
Posts: 7

Original Poster
Rep: Reputation: 0
When I start the network manually (/etc/init.d/networking start) I get same error

Code:
Configuring network interfaces...ifup: failed to lock statefile /etc/network/run/ifstate: Permission denied
failed.
What could be wrong?
 
Old 09-19-2009, 04:15 AM   #6
kopla
LQ Newbie
 
Registered: Sep 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Doesn't anybody have any ideas to this ifstate problem?
 
Old 10-18-2009, 04:25 PM   #7
dchost
LQ Newbie
 
Registered: Oct 2009
Posts: 18

Rep: Reputation: 2
Quote:
Originally Posted by kopla View Post
Doesn't anybody have any ideas to this ifstate problem?
having the same problem

Last edited by dchost; 10-18-2009 at 04:30 PM.
 
Old 10-18-2009, 04:59 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you compiled your own kernel?
try
Code:
apt-get install --reinstall ifupdown
 
Old 10-18-2009, 05:25 PM   #9
dchost
LQ Newbie
 
Registered: Oct 2009
Posts: 18

Rep: Reputation: 2
Quote:
Originally Posted by repo View Post
Did you compiled your own kernel?
try
Code:
apt-get install --reinstall ifupdown
thank you for answering but
it just kernel compile problem
the system is running fine with 2.6.26 kernel

i dont find the option with the new kernel 2.6.32 (make oldconfig)

The new system is unable to lock any state file: dpkg, ifup ...
(POSIX lock added, BSD account, Sys V, ext2, ...)

Last edited by dchost; 10-18-2009 at 05:27 PM.
 
Old 10-18-2009, 05:50 PM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you checked the bug reports ?
http://bugspy.net/product/linux-kernel/
 
Old 10-18-2009, 06:08 PM   #11
dchost
LQ Newbie
 
Registered: Oct 2009
Posts: 18

Rep: Reputation: 2
Quote:
Originally Posted by repo View Post
Did you checked the bug reports ?
http://bugspy.net/product/linux-kernel/

thanks i'll check that
 
Old 10-18-2009, 10:47 PM   #12
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It's almost undoubtedly a bug.
 
Old 10-19-2009, 12:43 PM   #13
dchost
LQ Newbie
 
Registered: Oct 2009
Posts: 18

Rep: Reputation: 2
I finally downloaded the stable version 2.6.31.4
compile (oldconfig) with Block turned on and now it's ok.
Thank you
 
  


Reply



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
Help getting compiz to run on a Lenovo thinkpad t400 (debian lenny) jamesmorlock Linux - Laptop and Netbook 1 06-25-2009 08:37 AM
ifstate file corrupt TheYa Debian 2 06-14-2009 08:14 AM
Bizzare samba / network problem, transfers run extremely slow unless 2+ are going abeeson Linux - Software 0 12-13-2008 09:42 PM
LXer: How-To: Install and Run FrostWire in Debian Lenny LXer Syndicated Linux News 0 08-12-2008 03:50 PM
unable to run kpilot & gnomepilot (Debian Lenny) on hp ipaq sonichedgehog Linux - Laptop and Netbook 2 01-26-2008 06:06 PM

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

All times are GMT -5. The time now is 07:40 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