Simon Gottschlag
2008-Aug-30 20:46 UTC
[Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
Hello everybody! My server with Ubuntu Hardy Heron x64 with Xen 3.2 hangs on when booting at "Starting local boot scripts (/etc/rc.local)". My /etc/rc.local is default and I can''t find out why it stops there. It''s possible to SSH to the server and everything works fine. I just can''t do anything from the physical server. I''ve googled but nothing have worked. Does anyone know what to do? - Simon -- Simon Gottschlag Alevägen 12, 44139 Alingsås, Sweden Mobile: +46 70 88 93 582 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Aug-30 20:58 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
On Sat, Aug 30, 2008 at 4:46 PM, Simon Gottschlag <simon@gottschlag.se> wrote:> Hello everybody! > My server with Ubuntu Hardy Heron x64 with Xen 3.2 hangs on when booting at > "Starting local boot scripts (/etc/rc.local)". > My /etc/rc.local is default and I can''t find out why it stops there. > It''s possible to SSH to the server and everything works fine. I just can''t > do anything from the physical server. > I''ve googled but nothing have worked. > Does anyone know what to do?My guess is that you are missing a console line in /boot/grub/menu.lst OR You need to specify the proper console in /etc/event.d/tty1 OR You are missing the xen console in /etc/securety OR Something similar with a init script causing an issue. How did you install your system? From packages or from source? What is the kernel version etc.? Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Gottschlag
2008-Aug-30 21:15 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
I use the latest hardy heron kernel xen kernel and everything is installed from ubuntu packages. Kernel: 2.6.24-19-xen I think this happend when I made my VM''s start automatic. But when I remove the auto startup it still hanged there. I''ve attached the files you asked me about. On Sat, Aug 30, 2008 at 10:58 PM, Todd Deshane <deshantm@gmail.com> wrote:> On Sat, Aug 30, 2008 at 4:46 PM, Simon Gottschlag <simon@gottschlag.se> > wrote: > > Hello everybody! > > My server with Ubuntu Hardy Heron x64 with Xen 3.2 hangs on when booting > at > > "Starting local boot scripts (/etc/rc.local)". > > My /etc/rc.local is default and I can''t find out why it stops there. > > It''s possible to SSH to the server and everything works fine. I just > can''t > > do anything from the physical server. > > I''ve googled but nothing have worked. > > Does anyone know what to do? > > My guess is that you are missing a console line in /boot/grub/menu.lst > > OR > > You need to specify the proper console in /etc/event.d/tty1 > > OR > > You are missing the xen console in /etc/securety > > OR > > Something similar with a init script causing an issue. > > How did you install your system? From packages or from source? > > What is the kernel version etc.? > > Cheers, > Todd > > -- > Todd Deshane > http://todddeshane.net > check out our book: http://runningxen.com >-- Simon Gottschlag Alevägen 12, 44139 Alingsås, Sweden Mobile: +46 70 88 93 582 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Aug-30 21:22 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
My ubuntu 8.04 /etc/event.d/tty1 has exec /sbin/getty 38400 tty1 as it''s last line. my /etc/securrety file has: those at the end for the xen consoles xvc0 hvc0 The menu.lst is unmodified, seems fine to me... It works for me. Hope that helps, Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Gottschlag
2008-Aug-30 22:20 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
I''ve now tried adding hvc0 to /etc/securetty but nothing changed. I''ve now noticed that it says "Loading local boot scripts (/etc/rc.local) [OK]" That has to mean it doesn''t hang at rc.local but the one after rc.local or something like that.. ? And the one behind S99rc.local is S99rmnologin: /etc/rc2.d/S99rmnologin /etc/rc3.d/S99rmnologin /etc/rc4.d/S99rmnologin /etc/rc5.d/S99rmnologin (/etc/init.d/rmnologin) I''ve attached it to this mail. Maybe you could send me yours and I''ll check the if there''s any difference. murmel@xen:~$ md5sum /etc/init.d/rmnologin e48b235c7c2ea0550f6a6ed2f3f769b3 /etc/init.d/rmnologin Check and see if you got the same md5sum.- On Sat, Aug 30, 2008 at 11:22 PM, Todd Deshane <deshantm@gmail.com> wrote:> My ubuntu 8.04 /etc/event.d/tty1 has > > exec /sbin/getty 38400 tty1 > > as it''s last line. > > my /etc/securrety file has: > > those at the end for the xen consoles > xvc0 > hvc0 > > The menu.lst is unmodified, seems fine to me... > > It works for me. > Hope that helps, > > Cheers, > Todd > > -- > Todd Deshane > http://todddeshane.net > check out our book: http://runningxen.com >-- Simon Gottschlag Alevägen 12, 44139 Alingsås, Sweden Mobile: +46 70 88 93 582 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Aug-31 02:07 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
On Sat, Aug 30, 2008 at 6:20 PM, Simon Gottschlag <simon@gottschlag.se> wrote:> I''ve now tried adding hvc0 to /etc/securetty but nothing changed. > I''ve now noticed that it says "Loading local boot scripts > (/etc/rc.local) [OK]" > That has to mean it doesn''t hang at rc.local but the one after rc.local or > something like that.. ?Did you try changing /etc/event.d/tty1 as suggested (s/hvc0/tty1) exec /sbin/getty 38400 tty1> And the one behind S99rc.local is S99rmnologin: > > /etc/rc2.d/S99rmnologin > /etc/rc3.d/S99rmnologin > /etc/rc4.d/S99rmnologin > /etc/rc5.d/S99rmnologin > (/etc/init.d/rmnologin) > > I''ve attached it to this mail. Maybe you could send me yours and I''ll check > the if there''s any difference. > > murmel@xen:~$ md5sum /etc/init.d/rmnologin > e48b235c7c2ea0550f6a6ed2f3f769b3 /etc/init.d/rmnologin > > Check and see if you got the same md5sum.- >md5sum is the same Also, make sure you hit the enter key, maybe you are missing the login: Seems most likely a getty thing, ssh in and check carefully /etc/event.d/* Check the running processes etc. Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Peter Fastré
2008-Sep-01 10:16 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
I''ve had the exact same issue with ubuntu hardy heron, using standard apt-get installs. Unbelievable that a distribution like this can be broken with this stupid mistake. It took me some time digging in the init-scripts to find the problem was in het following file: Check your file: /etc/event.d/tty1, it should be like this: # tty1 - getty # # This service maintains a getty on tty1 from the point the system is # started until it is shut down again. start on stopped rc2 start on stopped rc3 start on stopped rc4 start on stopped rc5 stop on runlevel 0 stop on runlevel 1 stop on runlevel 6 respawn exec /sbin/getty 38400 tty1 For some reason this file was changed into something with xvc0 and added some lines. I restored this file from a working system, and everything''s ok now. Not sure what package caused the problem, though. Peter On Sun, Aug 31, 2008 at 12:20 AM, Simon Gottschlag <simon@gottschlag.se>wrote:> I''ve now tried adding hvc0 to /etc/securetty but nothing changed. > I''ve now noticed that it says "Loading local boot scripts > (/etc/rc.local) [OK]" > That has to mean it doesn''t hang at rc.local but the one after rc.local or > something like that.. ? > And the one behind S99rc.local is S99rmnologin: > > /etc/rc2.d/S99rmnologin > /etc/rc3.d/S99rmnologin > /etc/rc4.d/S99rmnologin > /etc/rc5.d/S99rmnologin > (/etc/init.d/rmnologin) > > I''ve attached it to this mail. Maybe you could send me yours and I''ll check > the if there''s any difference. > > murmel@xen:~$ md5sum /etc/init.d/rmnologin > e48b235c7c2ea0550f6a6ed2f3f769b3 /etc/init.d/rmnologin > > Check and see if you got the same md5sum.- > > > On Sat, Aug 30, 2008 at 11:22 PM, Todd Deshane <deshantm@gmail.com> wrote: > >> My ubuntu 8.04 /etc/event.d/tty1 has >> >> exec /sbin/getty 38400 tty1 >> >> as it''s last line. >> >> my /etc/securrety file has: >> >> those at the end for the xen consoles >> xvc0 >> hvc0 >> >> The menu.lst is unmodified, seems fine to me... >> >> It works for me. >> Hope that helps, >> >> Cheers, >> Todd >> >> -- >> Todd Deshane >> http://todddeshane.net >> check out our book: http://runningxen.com >> > > > > -- > Simon Gottschlag > Alevägen 12, 44139 > Alingsås, Sweden > Mobile: +46 70 88 93 582 > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Gottschlag
2008-Sep-01 14:07 UTC
Re: [Xen-users] Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
It worked! Thanks! - Simon On Mon, Sep 1, 2008 at 12:16 PM, Peter Fastré <peter.fastre@gmail.com>wrote:> I''ve had the exact same issue with ubuntu hardy heron, using standard > apt-get installs. Unbelievable that a distribution like this can be broken > with this stupid mistake. It took me some time digging in the init-scripts > to find the problem was in het following file: > Check your file: /etc/event.d/tty1, it should be like this: > # tty1 - getty > # > # This service maintains a getty on tty1 from the point the system is > # started until it is shut down again. > > start on stopped rc2 > start on stopped rc3 > start on stopped rc4 > start on stopped rc5 > > stop on runlevel 0 > stop on runlevel 1 > stop on runlevel 6 > > respawn > exec /sbin/getty 38400 tty1 > > For some reason this file was changed into something with xvc0 and added > some lines. I restored this file from a working system, and everything''s ok > now. Not sure what package caused the problem, though. > > Peter > > > > On Sun, Aug 31, 2008 at 12:20 AM, Simon Gottschlag <simon@gottschlag.se>wrote: > >> I''ve now tried adding hvc0 to /etc/securetty but nothing changed. >> I''ve now noticed that it says "Loading local boot scripts >> (/etc/rc.local) [OK]" >> That has to mean it doesn''t hang at rc.local but the one after rc.local or >> something like that.. ? >> And the one behind S99rc.local is S99rmnologin: >> >> /etc/rc2.d/S99rmnologin >> /etc/rc3.d/S99rmnologin >> /etc/rc4.d/S99rmnologin >> /etc/rc5.d/S99rmnologin >> (/etc/init.d/rmnologin) >> >> I''ve attached it to this mail. Maybe you could send me yours and I''ll >> check the if there''s any difference. >> >> murmel@xen:~$ md5sum /etc/init.d/rmnologin >> e48b235c7c2ea0550f6a6ed2f3f769b3 /etc/init.d/rmnologin >> >> Check and see if you got the same md5sum.- >> >> >> On Sat, Aug 30, 2008 at 11:22 PM, Todd Deshane <deshantm@gmail.com>wrote: >> >>> My ubuntu 8.04 /etc/event.d/tty1 has >>> >>> exec /sbin/getty 38400 tty1 >>> >>> as it''s last line. >>> >>> my /etc/securrety file has: >>> >>> those at the end for the xen consoles >>> xvc0 >>> hvc0 >>> >>> The menu.lst is unmodified, seems fine to me... >>> >>> It works for me. >>> Hope that helps, >>> >>> Cheers, >>> Todd >>> >>> -- >>> Todd Deshane >>> http://todddeshane.net >>> check out our book: http://runningxen.com >>> >> >> >> >> -- >> Simon Gottschlag >> Alevägen 12, 44139 >> Alingsås, Sweden >> Mobile: +46 70 88 93 582 >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >-- Simon Gottschlag Alevägen 12, 44139 Alingsås, Sweden Mobile: +46 70 88 93 582 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Dovecot service needs a second restart after boot - euid is not dir owner
- Problems with HVM S3
- interesting installation problem - interaction between drbd and xen
- Cannot open file in NTFS filesystem on Ubuntu Hardy Heron
- SimCity 3k. Ubuntu Hardy Heron. Wine 0.9.60