Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Dec 31, 2006 12:00 pm 
Offline
Junior Member

Joined: Wed Jan 26, 2005 7:29 pm
Posts: 20
Hi guys. Recently I migrated my linode to another host via the web interface. After booting and logging into lish however I only see the following on my linode.

Code:
Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc ...                                             [ ok ]
 * Mounting sysfs at /sys ...                                             [ ok ]
 * Mounting /dev for udev ...                                             [ ok ]
 * Seeding /dev with needed nodes ...                                     [ ok ]
 * Setting up proper hotplug agent ...
 *   Using netlink for hotplug events...
                                                                          [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...              [ ok ]
 * Letting udev process events ...                                        [ ok ]
 * Finalizing udev configuration ...                                      [ ok ]
 * Mounting devpts at /dev/pts ...                                        [ ok ]
 * Skipping root filesystem check (fstab's passno == 0) ...               [ ok ]
 * Remounting root filesystem read/write ...                              [ ok ]
 * Checking all filesystems ...                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Mounting misc binary format filesystem ...                             [ ok ]
 * Activating (possible) swap ...                                         [ ok ]
 * Setting system clock using the hardware clock [UML] ...                [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Cleaning /tmp directory ...                                            [ ok ]
 * Setting hostname to dhruba.net ...                                     [ ok ]
 * Loading key mappings ...                                               [ ok ]
 * Setting user font ...                                                  [ ok ]
 * Starting lo
 *   Bringing up lo
 *     127.0.0.1/8
                                                                          [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                                    [ ok ]
 * Initializing random number generator ...                               [ ok ]
INIT: Entering runlevel: 3
                                                                          [ ok ]
 * Starting syslog-ng ...                                                 [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...                                               [ ok ]
 *       eth0 received address 64.62.231.234/24
 * Mounting network filesystems ...                                       [ ok ]
 * Starting mysql ...
 * Starting mysql (/etc/mysql/my.cnf)
                                                                          [ ok ]
 * Starting sshd ...                                                      [ ok ]
 * Starting apache2 ...                                                   [ ok ]
 * Starting postfix ...                                                   [ ok ]
 * Starting vixie-cron ...                                                [ ok ]
 * Starting local ...                                                     [ ok ]
INIT: no more processes left in this runlevel


Note that there's no login prompt for the linode at the bottom which was previously there I'm sure. What am I doing wrong? Any ideas? Let me know if I should post any config files up here. Many thanks for your help.


Top
   
 Post subject:
PostPosted: Sun Dec 31, 2006 12:29 pm 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
This section should be right up your alley, then:
http://www.linode.com/wiki/index.php/Ge ... ial_Checks

(Subheading "Check LiSH" under the heading "Initial Checks")


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 5:46 am 
Offline
Junior Member

Joined: Wed Jan 26, 2005 7:29 pm
Posts: 20
Hi. Thanks for your help but I still have this problem.

My /etc/inittab:

Code:
# Default runlevel.
id:3:initdefault:               
                               
# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit   
                               
# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot     
                               
l0:0:wait:/sbin/rc shutdown     
l1:S1:wait:/sbin/rc single     
l2:2:wait:/sbin/rc nonetwork   
l3:3:wait:/sbin/rc default     
l4:4:wait:/sbin/rc default     
l5:5:wait:/sbin/rc default     
l6:6:wait:/sbin/rc reboot       
#z6:6:respawn:/sbin/sulogin     
                               
# TERMINALS                     
#c0:12345:respawn:/sbin/agetty 38400 vc/0 linux
#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
                               
# SERIAL CONSOLES               
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100
                               
# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now
                               
# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.   
x:a:once:/etc/X11/startDM.sh


My /etc/securetty:

Code:
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
vc/0                           
vc/1                           
vc/2                           
vc/3                           
vc/4                           
vc/5                           
vc/6                           
vc/7                           
vc/8                           
vc/9                           
vc/10                           
vc/11                           
vc/12                           
tty0                           
tty1                           
tty2                           
tty3                           
tty4                           
tty5                           
tty6                           
tty7                           
tty8                           
tty9                           
tty10                           
tty11                           
tty12                           
                               
tts/0                           
ttyS0                           


I tried adding the following line to /etc/inittab:

Code:
c0:12345:respawn:/sbin/agetty 38400 vc/0 linux


but it resulted in the following lish message:

Code:
INIT: Id "c0" respawning too fast: disabled for 5 minutes


So I commented it out. Any other ideas?


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 6:18 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
<*post removed to hide the stupidity of its poster*>

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Tue Jan 02, 2007 7:45 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
This is my /etc/inittab on my Linode 100 (I highlighted the important line below):
Code:
#
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, <miquels@cistron.nl>
# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
#
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.5 2005/12/22 02:03:23 vapier Exp $

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot

l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin

# TERMINALS
#c0:12345:respawn:/sbin/agetty 38400 vc/0 linux
[b]c1:12345:respawn:/sbin/agetty 38400 tty0 linux[/b]
#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

# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh


/etc/securetty:
Code:
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
vc/0
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
vc/12
tty0
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
tty12

tts/0
ttyS0


So there might be some inconsistencies and/or outdated information in the LinodeWiki article on GentooSetup.

Come to think of it, after a certain Gentoo kernel and/or system profile (I don't remember which), you need to use tty0 instead of vc/0.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group