Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.