PDA

View Full Version : ifconfig cannot open /proc/net/dev


Marvin
05-13-2009, 02:29 PM
Hey,

Just installed a new CentOS with Interworx. Everything fine, BUT. I can't add new ipadresses cause there is no network device.
When i do 'ifconfig' i get the following:

[root@cobra ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:C0:A7:25:9F
inet addr: Bcast: Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:231385 errors:0 dropped:0 overruns:0 frame:0
TX packets:163055 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:218646077 (208.5 MiB) TX bytes:12513511 (11.9 MiB)
Interrupt:220 Base address:0x2000

[root@cobra ~]#But when i do as root 'su iworx' and then '/sbin/ifconfig' it gives the following error:

Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0 Link encap:Ethernet HWaddr 00:1C:C0:A7:25:9F
inet addr: Bcast: Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:252 Base address:0x4000
I restarted it multiple, even tryed to reinstall the whole OS. Nothing.. How to fix?

So it seems its something with interworx which can't load ifconfig. I already mounted /proc/ again, didnt work at all..

Marvin

IWorx-Paul
11-30-2009, 03:11 PM
Hi Marvin,

Did you get this problem resolved? If so, what did you have to do? My guess would be it's related to some kind of lockdown of the /proc filesystem.

Paul