Re: Anyone have problems with shutdown not working properly?
"Keith Mastin" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
> Hello, > > I have a Compaq ML530 Server running Redhat 7.2 and when I do a > "shutdown" it will not run all of the shutdown scripts linked in the > /etc/rc5.d directory. I'm specifically looking for it to do a Continuus > shutdown. It boots up fine and goes to runlevel 5 like it should but > the shutdown doesn't work properly. Also when you watch the shutdown > from the console you don't see all of the shutdown messages - it cuts > from X to the hardware boot-up screen, i.e. memory check, Raid check, > etc. I have checked > /var/log/messages and the last messages are: > > Mar 11 19:00:27 tcontinuus syslog: klogd shutdown succeeded > Mar 11 19:00:27 tcontinuus exiting on signal 15 > > Anyone seen this before in RH7.2? Stewart already commented on shutting down a linux server, so I won't go there. What are you doing running a server in runlevel 5? Looking for a reason to need to shutdown? That said, signal 15 is SIGTERM, used to gracefully kill all processes and exit as soon as possible. I have to discern from your post that what happens next (you didn't tell us) is that the system doesn't powerdown after shutdown, and this is what has you wondering, am I correct? The poweroff signal is a product of the BIOS, and not all systems support it. Once the software is no longer writing to the disks, which your system achieves gracefully, you can consider the message you've seen as the equivalent to "you can safely power off the computer". Once X is gone, all the shutdown scripts in rc5.d have completed. There shouldn't be much there... just some servers and maybe Onfs and arpwatch. Your system has gone through 5 and is in 3 and pretty much exits from there. Now if you want a continuous shutdown, set the default runlevel to 6... :) (no don't, I'm hashin' ya) I gotta say that the fact that you run systems for Raytheon and didn't know this bothers me just a little bit. You're not working on any guidence systems by any chance, are ya? -- Keith Mastin BeechTree Information Technology Services Inc. Toronto, Canada (416)696 6070