Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jan 24, 2007 7:51 am 
Offline
Senior Newbie

Joined: Wed Jan 24, 2007 7:41 am
Posts: 8
Website: http://www.shikadi.net
Location: Brisbane, Australia
Hi everyone,

I'm in the process of moving my server over to Linode, and I've run into a bit of a weird problem. I set up this new server on my local PC and uploaded a disk image to Linode, and the server seems fine except that I can't log in on the console (when I connect to LISH I can see the boot messages but then I get an "INIT: no more processes left in this runlevel" error.)

I figure this error is because no consoles are enabled in /etc/inittab (they're all commented out) but when I uncomment one of the lines and reboot, inittab gets overwritten with the old copy where all the consoles are commented out! I tried it on my local copy of the server and it works fine there, it's only the Linode server that gets inittab overwritten.

The last-modified date on the file is the time I booted the node, so it's definitely getting overwritten during the boot process but I can't for the life of me figure out where! I'm running Gentoo 2006.0, and any pointers would be greatly appreciated!


Last edited by Malvineous on Thu Jan 25, 2007 7:13 am, edited 1 time in total.

Top
   
 Post subject: Found a workaround
PostPosted: Thu Jan 25, 2007 7:12 am 
Offline
Senior Newbie

Joined: Wed Jan 24, 2007 7:41 am
Posts: 8
Website: http://www.shikadi.net
Location: Brisbane, Australia
Well I think I've found a workaround for this - running "chattr +i /etc/inittab" it makes it "super read-only" so that whatever is trying to write to it at startup is unable to do so, and my changes remain intact.

I now have a login prompt again when I log in to LISH - yay! :-)


Top
   
 Post subject:
PostPosted: Sun Jan 28, 2007 3:13 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Odd problem, all right. :)

Hmm. Perhaps do something like:

Code:
# find /etc -type f|xargs grep /etc/inittab


Top
   
 Post subject:
PostPosted: Tue Jan 30, 2007 6:22 pm 
Offline
Senior Newbie

Joined: Wed Jan 24, 2007 7:41 am
Posts: 8
Website: http://www.shikadi.net
Location: Brisbane, Australia
Yep, tried that - nothing!

Code:
$ find /etc -type f|xargs grep inittab
/etc/inittab:# /etc/inittab:  This file describes how the INIT process should set up
/etc/inittab:# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.5 2005/12/22 02:03:23 vapier Exp $


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


Who is online

Users browsing this forum: No registered users and 7 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