Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shutdown doesn't
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Mon Jul 19, 2004 12:29 pm    Post subject: shutdown doesn't Reply with quote

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 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Mon Jul 19, 2004 2:09 pm    Post subject: Reply with quote

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.
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Mon Jul 19, 2004 2:25 pm    Post subject: Reply with quote

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.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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