Server reboot when opening console
Posted on 2004-11-22
I had this problem on a server running Solaris8.
"who -r" command show server is in runlevel 6 (instead of 3 as I would expect normally)
Trying to find out why runlevel 6, I do a ps and grep to rc. I see that an application's kill script is hanging there for 1 week. So I suppose someone tried a reboot a week ago, but for whatever reason it did not complete. (Someone actually logged in at that time).
This was all checked via a ssh connection.
Now, I want to open a console connection to the server (via Avocent console). When I do this, at the moment the console screen pops up (just a telnet window), the server simply continues the reboot!
Unfortunately it's a production server, but that's not your problem :-).
Now I'm wondering:
could someone have started a reboot and cancelled at some point or just left it hanging at the (malfunctioning?) kill script and then,
how is it possible this reboot continues on opening a console window?
Any suggestions are appreciated (I have some explaining to do but don't realy have a clue...).