Re: `shutdown -r now` problems
On Wed, Apr 23, 2003 at 03:30:22PM -0400, Pisupati, Ajay wrote:
> 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
umount / (depending on partition)
shutdown -r now
> > -----Original Message-----
> > From: Dylan Beaudette [mailto:firstname.lastname@example.org]
> > Sent: Wednesday, April 23, 2003 1:31 PM
> > To: email@example.com
> > 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 firstname.lastname@example.org
> > with a subject of "unsubscribe". Trouble? Contact
> > email@example.com
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
Christopher F. Miller, Publisher firstname.lastname@example.org
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
Content/site management, online commerce, internet integration, Debian linux