LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-28-2007, 10:24 PM   #1
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Rep: Reputation: 30
Shutdown sometimes goes to Maintenance Mode login instead


Sometimes when I go to shutdown (rarley on restaarts too) it just takes me to a command prompt login screen instead of the text based shutdown screen. (the crtl+alt+f1 user login)

Then sometimes when shutting down it will show most the applications stopping like normal and then go to a maintenance mode command prompt login. And logging into that and typing "shutdown now" will just loop that again, bringing me back to that login.

Anyone know whats causing any of that? Happened in Lenny, and now in Sid too. It isnt often, but roughly 1/4-5 shut downs.


Thankyou guys

Last edited by Zaskar; 08-28-2007 at 10:25 PM.
 
Old 08-29-2007, 10:17 AM   #2
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Original Poster
Rep: Reputation: 30
Now that ive given it more thought, here are the only few things ive done from around the time when i first noticed it (was just a few days after first install, could of been like this from the start for all I know)

I moved the GDM file in one of the runlevel (rc.d) directories to my home directory so i could then have 1 runlevel (think it was 3 or 5 or something like that) that I could set and boot to command prompt.

I installed mysql server through synaptic

and updated GDM from Testing to Unstable (just for kicks, was plannning a full Dist Upgrade soon anyways)

Since then ive moved back the GDM file to its proper rc.d dir, uninstalled the mysql server and even done the full dist-upgrade to Sid, and the problem still occurs "sometimes"

Just yesterday I hit restart the system from GDM and it just closed out GDM and Xserver and went to the command prompt login you would get from hitting crtl+alt+f1 (normally the X is on something like f5-8?)


Tryin not to let it bug me, but It just does no knowing why something is just happening, and not every time also. And I really dont wanna reformat just to test it :/


This is my fstab and initab if that helps:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/sdb2       /aux            ext3    defaults        0       2
/dev/sdb1       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
Code:
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

Last edited by Zaskar; 08-29-2007 at 12:32 PM.
 
Old 08-31-2007, 04:20 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,062

Rep: Reputation: Disabled
I'd try and just re-install GDM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Maintenance Mode limited shell Doomhammer AIX 1 06-21-2007 05:17 AM
LXer: Kino 1.0 release marks shift into maintenance mode LXer Syndicated Linux News 0 03-22-2007 01:46 AM
linux-686-smp causes boot to maintenance mode justpete Ubuntu 0 12-06-2006 11:49 AM
9.3 maintenance mode NetBlaster SUSE / openSUSE 2 10-18-2005 08:08 AM
Changing password in maintenance mode andy18 Linux - Newbie 4 08-21-2003 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration