| View previous topic :: View next topic |
| Author |
Message |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5067 Location: France, Old Europe
|
Posted: Mon Jul 19, 2004 12:29 pm Post subject: shutdown doesn't |
|
|
I have problem from time to time with shutting dowm the system. I have an alias to turn off and this usually works fine.
| Code: | alias off='shutdown -h now'
|
Hwvr, if I have certain processes stalled - eg my emerge PHP which is currently getting stuck - I cant shutdown . I have to use cntl-alt-bkspc to turn off.
In this case I get the broadcast msg on all terminais but nothing actually shuts down and I can still type commands from the open terminals.
Same goes to reboot -n
Is this normal behaviour, or something I should correct?
Thanks for any advice, Gentree  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
curtis119 Bodhisattva


Joined: 10 Mar 2003 Posts: 2158 Location: Toledo, OH, USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Mon Jul 19, 2004 2:09 pm Post subject: |
|
|
I could be totally wrong about this but: Are you running that shutdown command from a user account or as root? If it's a user account then it cannot kill the stalled process due to permissions. If you run the shutdown command as root (or sudo) it should then have the proper permissions to kill the stalled process. _________________ Please read the Forum Guidelines.
* | www.gayroughnecks.com | * |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5067 Location: France, Old Europe
|
Posted: Mon Jul 19, 2004 2:25 pm Post subject: |
|
|
No , as root.
also , I cant kill the processes manually:
kill -9 pid has no effect.
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|