Example, make a new up to date ubuntu 9.10 template, boot it
Start the guest
Problem 1 - NO NETWORKING :(
r...@new:/# ping google.com
ping: unknown host google.com
PROBLEM 2 - UPSTART IS NOT WORKING
Lets start it with upstart
r...@new:/# service networking restart
restart: Unknown instance:
r...@new:/# service networking stop
stop: Unknown instance:
r...@new:/# service networking start
start: Job failed to start
r...@new:/# ifconfig
PROBLEM 2 - UPSTART IS NOT WORKING
r...@new:/# initctl list | grep networking
networking stop/waiting
INITCTL RECOGNIZES "networking" , but service networking
start|stop|restart not working.
PROBLEM 3 - Starting the network manually fails
THERE IS A MISSING BOOT SCRIPT
r...@new:/# /etc/init.d/networking restart
* Reconfiguring network interfaces...
.: 14: Can't open /lib/init/mount-functions.sh
run-parts: /etc/network/if-up.d/mountnfs exited with return code 2
.: 14: Can't open /lib/init/mount-functions.sh
run-parts: /etc/network/if-up.d/mountnfs exited with return code 2
[ OK ]
DO YOU SEE HOW THE BOOT SCRIPTS ARE LOOKING FOR "/lib/init/mount-
functions.sh" ???
THE BOOT SCRIPT IS FAILING BECAUSE "/lib/init/mount-functions.sh" IS
MISSING.
MANUAL "FIX"
r...@new:/# ifdown -a
r...@new:/# ifup -a
.: 14: Can't open /lib/init/mount-functions.sh
run-parts: /etc/network/if-up.d/mountnfs exited with return code 2
.: 14: Can't open /lib/init/mount-functions.sh
run-parts: /etc/network/if-up.d/mountnfs exited with return code 2
.: 14: Can't open /lib/init/mount-functions.sh
run-parts: /etc/network/if-up.d/mountnfs exited with return code 2
r...@new:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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)
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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1468 (1.4 KB) TX bytes:968 (968.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.77 P-t-P:192.168.1.77 Bcast:0.0.0.0
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RUNNING ifdown -a FOLLOWED BY ifup -a BRINGS THE NETWORK UP.
PROBLEM 4- SAME THING WITH EVERY SERVICE
Example Apache
Start the VPS
NO APACHE !!!
r...@new:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.4 0.4 2336 1120 ? Ss 01:03 0:00 init
root 22 0.0 0.0 100 16 ? S 01:03 0:00 [init-logger]
root 28 0.0 0.2 18552 628 ? Ss 01:03 0:00 vzctl: ttyp1
root 29 0.0 0.6 3144 1624 ttyp1 Ss 01:03 0:00 -bash
root 40 0.0 0.3 2468 912 ttyp1 R+ 01:03 0:00 ps aux
FIX - MANUALLY START APACHE
r...@new:/# service apache2 start
And on, service by service
So, since Upstart is not working , one has to start each service one -
by -one
networking
mysql
apache
and on ...
--
Upstart fails to boot in an OpenVZ VPS
https://bugs.launchpad.net/bugs/436130
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs