What are your wanting ?
r...@banshee~# vzctl start 106
Warning: Unknown iptable module: ipt_recent, skipped
Starting container ...
Container is mounted
Adding IP address(es): 10.10.10.2
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: test
File resolv.conf was modified
Container start in progress...
r...@banshee~# vzctl enter 106
Warning: Unknown iptable module: ipt_recent, skipped
entered into CT 106
r...@test:/# ifconfig
r...@test:/#
r...@test:/# ifconfig --debug
ifconfig: option `--debug' not recognised.
ifconfig: `--help' gives usage information.
r...@test:/# service networking restart
restart: Unknown instance:
r...@test:/# service netwroking restart --debug
netwroking: unrecognized service
r...@test:/# service netwroking stop
netwroking: unrecognized service
r...@test:/# service netwroking start
netwroking: unrecognized service
r...@test:/# ifconfig
r...@test:/#
r...@test:/# initctl list
rc stop/waiting
upstart-udev-bridge stop/waiting
mountall-net stop/waiting
hwclock-save stop/waiting
dbus stop/waiting
control-alt-delete stop/waiting
hwclock stop/waiting
cron stop/waiting
mountall stop/waiting
rcS stop/waiting
dbus-reconnect stop/waiting
rc-sysinit stop/waiting
hostname stop/waiting
mountall-reboot stop/waiting
network-interface stop/waiting
mountall-shell stop/waiting
networking stop/waiting
procps stop/waiting
r...@test:/#
r...@test:/# /etc/init.d/networking restart --debug
* Reconfiguring network interfaces...
SIOCSIFFLAGS: Cannot assign requested address
[ OK ]
r...@test:/# ifconfig
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)
venet0:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.10.10.2 P-t-P:10.10.10.2 Bcast:0.0.0.0
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
r...@test:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 19064 1440 ? Ss 18:54 0:00 init
root 22 0.0 0.0 100 12 ? S 18:54 0:00 [init-logger]
root 28 0.0 0.2 18552 624 ? Ss 18:54 0:00 vzctl: ttyp1
root 29 0.0 0.7 17756 1896 ttyp1 Ss 18:54 0:00 -bash
root 148 0.0 0.3 14888 1032 ttyp1 R+ 18:58 0:00 ps aux
r...@test:/# init 2
r...@test:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 19180 1452 ? Ss 18:54 0:00 init
root 22 0.0 0.0 100 12 ? S 18:54 0:00 [init-logger]
root 28 0.0 0.2 18552 624 ? Ss 18:54 0:00 vzctl: ttyp1
root 29 0.0 0.7 17756 1896 ttyp1 Ss 18:54 0:00 -bash
root 153 0.0 0.3 18712 852 ? Ss 18:58 0:00 cron
root 394 0.0 0.3 14888 1036 ttyp1 R+ 18:58 0:00 ps aux
r...@test:/# init 2 --debug
r...@test:/#
r...@test:/# ifdown lo --debug
ifdown: unrecognized option '--debug'
ifdown: Use --help for help
r...@test:/# ifdown lo
r...@test:/# ifup lo
r...@test:/# 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: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:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.10.10.2 P-t-P:10.10.10.2 Bcast:0.0.0.0
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
Those are the commands I have to run to brin gmy VPS up
/etc/init.d/networking restart
init 2
Can be shortened to just
init 2
I am not getting any error messages and adding --debug does not help.
Is there a script or upstart job you want me to run ?
If so which one ?
--
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