[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] /dev/tty*: not a character device after reboot



On Tue, 29 Aug 2006 19:55:20 +0300
"S.ÃaÄlar Onur" <caglar@xxxxxxxxxxxxx> wrote:

> 29 AÄustos 2006 SalÄ 19:30 tarihinde, hanj ÅunlarÄ yazmÄÅtÄ: 
> > Hello All
> >
> > I just recently adopted a server with Gentoo/Xen as domain0 server with
> > several domainUs attached to it. Please forgive my xen-noobness, but I was
> > hoping that someone can help me out.
> >
> > These images have not been updated in a long time, and I'm trying to get
> > all the domainUs updated with their appropriate services patches, etc. I'm
> > currently working on one Gentoo domainU, and have got it basically up to
> > date. Lastnight there was a power failure on the main domain0 image. This
> > morning I was able to power up all the images, but now the Gentoo image is
> > spamming the logs with agetty messages, etc.
> >
> > Aug 29 09:16:59 comp agetty[27478]: /dev/tty3: not a character device
> > Aug 29 09:16:59 comp agetty[27479]: /dev/tty4: not a character device
> > Aug 29 09:16:59 comp agetty[27480]: /dev/tty5: not a character device
> > Aug 29 09:16:59 comp agetty[27481]: /dev/tty6: not a character device
> > Aug 29 09:17:08 comp init: Id "c2" respawning too fast: disabled for 5
> > minutes Aug 29 09:17:09 comp init: Id "c3" respawning too fast: disabled
> > for 5 minutes Aug 29 09:17:09 comp init: Id "c4" respawning too fast:
> > disabled for 5 minutes Aug 29 09:17:09 comp init: Id "c5" respawning too
> > fast: disabled for 5 minutes Aug 29 09:17:09 comp init: Id "c6" respawning
> > too fast: disabled for 5 minutes Aug 29 09:18:26 comp rc-scripts: Failed to
> > set user font
> 
> In your guest console, you should comment unused terminals in /etc/inittab 
> like as following.
> 
> 1:2345:respawn:/sbin/mingetty tty1
> #2:2345:respawn:/sbin/mingetty tty2
> #3:2345:respawn:/sbin/mingetty tty3
> #4:2345:respawn:/sbin/mingetty tty4
> #5:2345:respawn:/sbin/mingetty tty5
> #6:2345:respawn:/sbin/mingetty tty6
> 
> > sys-apps/baselayout-1.12.4-r7
> 
> I think new baselayout overwrites your /etc/inittab.




Hello

Thanks for mentioning that. I just did that prior to the email. Do you know how 
to reload the new inittab? The odd thing.. is that the original (previous to 
baselayout) inittab had the following (nothing commented out)

-rw-r--r--  1 root root  1791 Jan  5  2006 inittab

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

I commented out c2-c6 in the new..

-rw-r--r--  1 root        root      1650 Aug 29 09:42 inittab

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
#c2:2345:respawn:/sbin/agetty 38400 tty2 linux
#c3:2345:respawn:/sbin/agetty 38400 tty3 linux
#c4:2345:respawn:/sbin/agetty 38400 tty4 linux
#c5:2345:respawn:/sbin/agetty 38400 tty5 linux
#c6:2345:respawn:/sbin/agetty 38400 tty6 linux

Thanks for the reply!
hanji

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.