OpenVZ Forum


Home » General » Support » Ubuntu Jaunty VE is hanging during boot
Ubuntu Jaunty VE is hanging during boot [message #35602] Wed, 08 April 2009 01:19 Go to next message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
I installed the Intrepid x86 template and it went well. I need to have the latest avr compiler and so I upgraded to jaunty. It went fine, however when the ve boots, it hangs. Here's what's running at the time

 ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 05:08 ?        00:00:00 init [2]
daemon     180     1  0 05:08 ?        00:00:00 /sbin/portmap
root       237     1  0 05:08 ?        00:00:00 /bin/sh /etc/init.d/rc 2
syslog     263     1  0 05:08 ?        00:00:00 /sbin/syslogd -u syslog
root       265   237  0 05:08 ?        00:00:00 /bin/sh /etc/rc2.d/S11klogd start
root       273     1  0 05:08 ?        00:00:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog       274   265  0 05:08 ?        00:00:00 /sbin/klogd -P /var/run/klogd/kmsg
klog       275   274  0 05:08 ?        00:00:00 [klogd] <defunct>
root       276     0  0 05:09 ?        00:00:00 vzctl: pts/0
root       277   276  0 05:09 pts/0    00:00:00 -bash
root       291   277  0 05:09 pts/0    00:00:00 ps -ef


Any one have a clue as to what's happening? It eventually gets past this but then hangs at

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 05:08 ?        00:00:00 init [2]
daemon     180     1  0 05:08 ?        00:00:00 /sbin/portmap
syslog     263     1  0 05:08 ?        00:00:00 /sbin/syslogd -u syslog
root       273     1  0 05:08 ?        00:00:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
root       276     0  0 05:09 ?        00:00:00 vzctl: pts/0
root       277   276  0 05:09 pts/0    00:00:00 -bash
108        301     1  0 05:13 ?        00:00:00 /bin/dbus-daemon --system
root       322     1  0 05:13 ?        00:00:00 /usr/sbin/sshd
root       350     1  0 05:13 ?        00:00:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayal
root       491     1  0 05:15 ?        00:00:00 sendmail: MTA: accepting connections
avahi      506     1  0 05:15 ?        00:00:00 avahi-daemon: running [avrdev.local]
avahi      507   506  0 05:15 ?        00:00:00 avahi-daemon: chroot helper
root       549     1  0 05:15 ?        00:00:00 /usr/sbin/cron
root       582   277  0 05:16 pts/0    00:00:00 ps -ef


It never brings up the network.

Thanks,
Jim.
Re: Ubuntu Jaunty VE is hanging during boot [message #35606 is a reply to message #35602] Wed, 08 April 2009 07:58 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello Jim,

Quote:


Any one have a clue as to what's happening? It eventually gets past this but then hangs at



What does it mean hangs?
The provided output contains the following line:
Quote:


root 276 0 0 05:09 ? 00:00:00 vzctl: pts/0


So, as far as I understand you're able to enter that VE and invoke commands. So, VE is alive.

The line
Quote:


root 1 0 0 05:08 ? 00:00:00 init [2]


means that init in runlevel-2.
So, it worth checking if networking service should work at all in runlevel-2.

Re: Ubuntu Jaunty VE is hanging during boot [message #35882 is a reply to message #35602] Wed, 29 April 2009 09:18 Go to previous messageGo to next message
JijoSevilla is currently offline  JijoSevilla
Messages: 2
Registered: December 2008
Junior Member
Hi,

JimL wrote on Wed, 08 April 2009 09:19

I installed the Intrepid x86 template and it went well. I need to have the latest avr compiler and so I upgraded to jaunty. It went fine, however when the ve boots, it hangs. Here's what's running at the time

 ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 05:08 ?        00:00:00 init [2]
daemon     180     1  0 05:08 ?        00:00:00 /sbin/portmap
root       237     1  0 05:08 ?        00:00:00 /bin/sh /etc/init.d/rc 2
syslog     263     1  0 05:08 ?        00:00:00 /sbin/syslogd -u syslog
root       265   237  0 05:08 ?        00:00:00 /bin/sh /etc/rc2.d/S11klogd start
root       273     1  0 05:08 ?        00:00:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog       274   265  0 05:08 ?        00:00:00 /sbin/klogd -P /var/run/klogd/kmsg
klog       275   274  0 05:08 ?        00:00:00 [klogd] <defunct>
root       276     0  0 05:09 ?        00:00:00 vzctl: pts/0
root       277   276  0 05:09 pts/0    00:00:00 -bash
root       291   277  0 05:09 pts/0    00:00:00 ps -ef


Any one have a clue as to what's happening? It eventually gets past this but then hangs at

The initial stall is because of klogd. You can disable this by running:
vzctl exec $VEID update-rc.d -f remove klogd
vzctl restart $VEID

Temporarily, you can also kill the dd and klogd processes.
JimL wrote on Wed, 08 April 2009 09:19

It never brings up the network.

This part I haven't figured out, though, and am currently in the process of trying to figure out how to get a Jaunty VE running. Like with you, I was fine until Intrepid, but upgrading to Jaunty prevents the network from running.


Federico Sevilla III
F S 3 Consulting Inc.
http://www.fs3.ph
Re: Ubuntu Jaunty VE is hanging during boot [message #35888 is a reply to message #35602] Wed, 29 April 2009 10:07 Go to previous messageGo to next message
JijoSevilla is currently offline  JijoSevilla
Messages: 2
Registered: December 2008
Junior Member
JimL wrote on Wed, 08 April 2009 09:19

I installed the Intrepid x86 template and it went well. I need to have the latest avr compiler and so I upgraded to jaunty. It went fine, however when the ve boots, it hangs.
...
It never brings up the network.


We've found a workaround to this problem, and have posted our solution: http://www.fs3.ph/article/ubuntu-904-in-an-openvz-ve. We hope this works for you, too.

Cheers!


Federico Sevilla III
F S 3 Consulting Inc.
http://www.fs3.ph
Re: Ubuntu Jaunty VE is hanging during boot [message #35947 is a reply to message #35888] Tue, 05 May 2009 11:45 Go to previous messageGo to next message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
Thank you for the update, when I get some time, I'll give it a try.

Jim.
Re: Ubuntu Jaunty VE is hanging during boot [message #35972 is a reply to message #35888] Thu, 07 May 2009 16:28 Go to previous message
ibcl is currently offline  ibcl
Messages: 2
Registered: May 2007
Location: Innsbruck, Austria
Junior Member
Thanks a lot for that hint (basically creating /var/run/network), works for me.
Regards Christoph
Previous Topic: ovzkernel at Itanium 2
Next Topic: CentOS 5.3 Update!! (2.6.18-128)
Goto Forum:
  


Current Time: Fri Mar 29 08:40:35 GMT 2024

Total time taken to generate the page: 0.01787 seconds