OpenVZ Forum


Home » General » Support » FC5: Can't copy file /etc/sysconfig/network
Re: FC5: Can't copy file /etc/sysconfig/network [message #2323 is a reply to message #2281] Wed, 29 March 2006 03:08 Go to previous messageGo to previous message
duswil is currently offline  duswil
Messages: 77
Registered: January 2006
Member
Attached is the out.gz file.

root@elyssa:~# strace -f -o out vzctl start 1401
Starting VPS ...
vzquota : (warning) Quota is running for id 1401 already
VPS is mounted
Adding IP address(es): 172.16.4.1
arpsend: 172.16.4.1 is detected on another computer : 00:07:84:46:74:0a
vps-net_add WARNING: arpsend -c 1 -w 1 -D  -e 172.16.4.1 eth0 FAILED


It just stops there. Pressing CTRL-C does nothing. It just sits there like it's doing something, but it's not doing anything.

If I press CTRL-Z, I get the expected
[1]+  Stopped                 strace -f -o out vzctl start 1401


If I
fg %1
, it goes back to its "just sitting there" state.

If I
bg %1
, it just sits there, but in the background instead.

If while it is in the background and I try
vzctl enter 1401
, I get
enter failed
.

I can't kill the strace process, except for
kill -9 2140
(2140 being the PID, of course)

If after -9'ing the process, I can do this (and get the following response):
root@elyssa:~# vzctl enter 1401
entered into VPS 1401
bash-3.1# exit
logout
exited from VPS 1401

[1]+  Killed                  strace -f -o out vzctl start 1401


If while entered in the VPS, I get this when I type:
bash-3.1# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:683989 errors:0 dropped:0 overruns:0 frame:0
          TX packets:683989 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:772211126 (736.4 MiB)  TX bytes:772211126 (736.4 MiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
. As you can see, there is no venet0 for the 172.16.4.1 IP address like usual. I was expecting to get something more like this (from a VPS running FC4 instead of FC5):
bash-3.00# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:683998 errors:0 dropped:0 overruns:0 frame:0
          TX packets:683998 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:772211730 (736.4 MiB)  TX bytes:772211730 (736.4 MiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:252 (252.0 b)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:192.168.1.1  P-t-P:192.168.1.1  Bcast:192.168.1.1  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


I notice in the FC5 VPS, there is no /etc/resolv.conf file. But in my FC4 VPS, there is.

In the FC5 VPS:
bash-3.1# ll /etc/hosts*
-rw-r--r-- 1 root root  42 Mar 29 06:45 /etc/hosts
-rw-r--r-- 1 root root  42 Mar 29 06:45 /etc/hosts.31561
-rw-r--r-- 1 root root 161 Jan 13  2000 /etc/hosts.allow
-rw-r--r-- 1 root root 347 Jan 13  2000 /etc/hosts.deny


What is this hosts.31561? Is that a temp file from a process that isn't running/working properly, maybe? FC4 doesn't have it.

Diskspace:
bash-3.1# df -h
Filesystem            Size  Used Avail Use% Mounted on
simfs                 1.0G  135M  890M  14% /
  • Attachment: out.gz
    (Size: 32.52KB, Downloaded 331 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fedora 4 startup error
Next Topic: PPC support?
Goto Forum:
  


Current Time: Wed Sep 11 22:14:01 GMT 2024

Total time taken to generate the page: 0.05567 seconds