LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-19-2003, 02:47 AM   #1
KendersPlace
Member
 
Registered: Feb 2003
Location: Phoenix, AZ - USA
Distribution: RedHat 8, Micro$haft
Posts: 33

Rep: Reputation: 15
Shutdown Error: sh-2.05b#


When I run "/sbin/shutdown now" as root (or via sudo by a different user), the system begins to shut down, but right after going to "single user" and sending TERM signals, the shutdown process stops, and the last thing written to the screen is:

sh-2.05b#

I have let the box sit at that point for 20 to 30 minutes, and I eventually just have to power it off. When I start back up, I see the warnings that the system was not cleanly shut down, and journals are recovered to get the system started again.

I am running RedHat 8.0, with very little modification. I have no GUI packages installed, this box is a web server only, and I only access from the console.

Using modern journaled file systems (ext3 and reiserFS), is there really any concern these days in just powering the box off? Should I be worried about this error?
 
Old 05-19-2003, 03:56 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Try to disable ACPI and PNP in the computer bios. Use the 'shutdown -h now' command.

Beyond that, you may want to update your bios or look at failing hardware or hardware conflicts.
 
Old 05-19-2003, 10:51 AM   #3
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
Does your box lock up? That looks like a prompt to me, like you aren't actually shutting down, but just entering single user mode. Try the -h option for halting the system, and also try the poweroff command, see what that does, could be the shutdown command is screwed for some reason.
 
Old 05-19-2003, 04:10 PM   #4
KendersPlace
Member
 
Registered: Feb 2003
Location: Phoenix, AZ - USA
Distribution: RedHat 8, Micro$haft
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for the help. Using the "-h" switch to halt worked just fine, powered off on its own and everything. Wasn't really familliar with the "halt" command, as I'm kind of a linux noob.

I do think I still have PNP os enabled in the bios also. Saw it when I converted the box to linux, but was too lazy to change it. I'll try that and see if anything else comes up.

Thanks!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash-2.05b$ instead of user@domain after upgrading...also...no more quotes. RoaCh Of DisCor Slackware 3 12-16-2004 11:17 PM
root turned to bash-2.05b renegadeavenger Linux - Newbie 2 07-24-2004 09:43 PM
Configure Bash 2.05b JCScoobyRS Linux - Software 9 12-15-2003 04:44 PM
Shutdown error david63 Linux - Software 6 05-08-2003 11:53 AM
shutdown error josephswagner Linux - Software 4 04-14-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:48 PM.

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
Open Source Consulting | Domain Registration