[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: `shutdown -r now` problems



On Wed, Apr 23, 2003 at 03:30:22PM -0400, Pisupati, Ajay wrote:
> Hi,
> I am not an expert, but I'll will tell you what I know.
> 
> The dropping into single user mode is the default behavior of shutdown (if
> you just type shutdown at the command line).  
> it's sounds like it's not reading the -r argument.  
> did you try typing shutdown -h now also? does it have the same behavior?
> 
> are you tying halt or halt -f (just want to find out if the system is doing
> hard reset after encountering problems w/ shutdown or you
> are doing it that way on purpose)
> 
> try typing 'runlevel' and see what it says.  it should show you 2 things -
> your previous and current runlevels.
> 
> Have you tried shutting down w/ init? as in /sbin/init [0|6] 
> 0 shuts the system down
> 6 reboots.

You need to enter root to get to single mode.

Then remount the drive rw.

mount -o rw,remount /   # initscripts tell you exactly what

fsck -y /dev/whatever

sync

umount /  (depending on partition)

shutdown -r now




> 
> -ajay
> 
> > -----Original Message-----
> > From: Dylan Beaudette [mailto:dylan@iici.no-ip.org]
> > Sent: Wednesday, April 23, 2003 1:31 PM
> > To: debian-powerpc@lists.debian.org
> > Subject: `shutdown -r now` problems
> > 
> > 
> > Hi-
> > 
> > after a recent power outage my 8500 will has been acting a 
> > little strange.
> > 
> > normally a `shutdown -r now` command would bring down all services,
> > unmount the FS, and reboot the machine.
> > 
> > however, it now prompts me with "Give root password for 
> > maintenance (or
> > type control-D for normal startup)"
> > 
> > typing 'control-D' does nothing, giving the root password 
> > dumps me into
> > (what appears to be) single user mode. from there i am able 
> > to issue the
> > 'halt' command, and then perform a hard reset.
> > 
> > here is where the biggest problem -- when i boot the machine 
> > back up it
> > tells me that the FS was not cleanly unmounted and performs a check.
> > 
> > is there anything i can do to get my machine to perform a `shutdown -r
> > now` command correctly?
> > 
> > thanks in advance,
> > 
> > dylan
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact 
> > listmaster@lists.debian.org
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux



Reply to: