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 If I try to start consolefont.. I get the following error... * Setting user font ... Couldnt open //dev/tty1 Couldnt open //dev/tty2 Couldnt open //dev/tty3 Couldnt open //dev/tty4 Couldnt open //dev/tty5 Couldnt open //dev/tty6 Couldnt open //dev/tty7 Couldnt open //dev/tty8 Couldnt open //dev/tty9 Couldnt open //dev/tty10 Couldnt open //dev/tty11 * Failed to set user font [ !! ] Cracking open the /etc/init.d/consolefont script, I removed the pipes to /dev/null to see what it''s complaining about. comp dev # /etc/init.d/consolefont restart * Caching service dependencies ... [ ok ] * Setting user font ... Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty1: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty2: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty3: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty4: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty5: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty6: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty7: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty8: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty9: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty10: No such file or directory Couldnt get a file descriptor referring to the console /etc/init.d/consolefont: line 55: --tty=//dev/tty11: No such file or directory * Failed to set user font I verified that //dev/tty1 or /dev/tty1 does in fact exist: comp dev # ls -al //dev/tty1 crw------- 1 root root 4, 1 Aug 29 08:27 //dev/tty1 Trying to run the setfont command returns: /bin/setfont default8x16 -C /dev/tty1 setfont Couldnt open /dev/tty1 This was all working fine until recent reboot.. so I''m sure it''s related to one of my updates. Any assistance is greatly appreciated. Here are some base system information: kernel: 2.6.11.12-xenU sys-apps/util-linux-2.12r-r3 sys-apps/kbd-1.12-r6 sys-apps/baselayout-1.12.4-r7 Thanks in advance. hanji _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
S.Çağlar Onur
2006-Aug-29 16:55 UTC
Re: [Xen-users] /dev/tty*: not a character device after reboot
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 fontIn 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-r7I think new baselayout overwrites your /etc/inittab. -- S.Çağlar Onur <caglar@pardus.org.tr> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 29 Aug 2006 19:55:20 +0300 "S.Çağlar Onur" <caglar@pardus.org.tr> 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@lists.xensource.com http://lists.xensource.com/xen-users
S.Çağlar Onur
2006-Aug-29 17:07 UTC
Re: [Xen-users] /dev/tty*: not a character device after reboot
29 Ağustos 2006 Salı 20:03 tarihinde, hanj şunları yazmıştı:> Thanks for mentioning that. I just did that prior to the email. Do you know > how to reload the new inittab?telinit -q Cheers -- S.Çağlar Onur <caglar@pardus.org.tr> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 29 Aug 2006 20:07:46 +0300 "S.Çağlar Onur" <caglar@pardus.org.tr> wrote:> 29 Ağustos 2006 Salı 20:03 tarihinde, hanj şunları yazmıştı: > > Thanks for mentioning that. I just did that prior to the email. Do you know > > how to reload the new inittab? > > telinit -q > > Cheers`telinit a` seemed to have fixed it. -q is unrecognized on my system.. might be different version. /var/log/messages is nice and quiet again. Thank you very much. hanji _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users