Linode.com Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups  RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

No login prompt on linode through lish

 
Post new topic   Reply to topic    Linode.com Forum Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Narada
Senior Newbie


Joined: 26 Jan 2005
Posts: 15

PostPosted: Sun Dec 31, 2006 11:00 am    Post subject: No login prompt on linode through lish Reply with quote

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.
Back to top
View user's profile Send private message
NeonNero
Senior Member


Joined: 04 Jan 2005
Posts: 160
Location: Ålesund, Norway

PostPosted: Sun Dec 31, 2006 11:29 am    Post subject: Reply with quote

This section should be right up your alley, then:
http://www.linode.com/wiki/index.php/GentooSetup#Initial_Checks

(Subheading "Check LiSH" under the heading "Initial Checks")
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Narada
Senior Newbie


Joined: 26 Jan 2005
Posts: 15

PostPosted: Tue Jan 02, 2007 4:46 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Internat
Senior Member


Joined: 17 Aug 2004
Posts: 218
Location: Brisbane, Australia

PostPosted: Tue Jan 02, 2007 5:18 am    Post subject: Reply with quote

<*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"
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
NeonNero
Senior Member


Joined: 04 Jan 2005
Posts: 160
Location: Ålesund, Norway

PostPosted: Tue Jan 02, 2007 6:45 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Linode.com Forum Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum

Forum Archive
RSS 2.0 | Additional RSS options
Powered by phpBB © 2001, 2005 phpBB Group

Home | Members | Contact Us | Terms of Service | ™ © 2003-2008 Linode, LLC. All rights reserved.