Fresh template (just made from scratch)

r...@new:/# ping google.com
ping: unknown host google.com
r...@new:/# service netwroking restart
netwroking: unrecognized service
r...@new:/# init 2
r...@new:/# ping google.com
ping: unknown host google.com
r...@new:/# ifconfig
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 ]

r...@new:/# bash --debug /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 ]

r...@new:/# ls /lib/init/
readlink  splash-functions-base  usplash-fsck-functions.sh
rw        upstart-job            vars.sh

Ah, no such " /lib/init/mount-functions.sh"

echo -e '#!/bin/sh' \\n "exit 0" > /lib/init/mount-functions.sh

Seems to work

RESTART the VPS ->

entered into CT 777
r...@new:/# ifconfig
r...@new:/# init 2
r...@new:/# ifconfig
r...@new:/# service networking restart
restart: Unknown instance:
r...@new:/# /etc/init.d/networking restart
 * Reconfiguring network interfaces...
        SIOCSIFFLAGS: Cannot assign requested address
                                                                         [ OK ]


So again the boot scripts are off.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to