Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

shutdown problem

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
satimis
Posts: 536
Joined: 2004-09-11 11:50
Location: Hong Kong

shutdown problem

#1 Post by satimis »

Hi all,

poweroff
shutdown -h now

doesn't shut down the machine. Please advise. Thanks

Regards
satimis

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: shutdown problem

#2 Post by 4D696B65 »

Are you doing this as root?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: shutdown problem

#3 Post by GarryRicketson »

The version of Debian might be relevant.
Are you logged as "root" when you run the command ?
What about :

Code: Select all

# systemctl poweroff 

satimis
Posts: 536
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: shutdown problem

#4 Post by satimis »

GarryRicketson wrote:The version of Debian might be relevant.
Are you logged as "root" when you run the command ?
Tried both, as root and with sudo

A black screen hanging resulted
What about :

Code: Select all

# systemctl poweroff 
Your advice works both as root and with sudo

Thanks

Regards
satimis

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: shutdown problem

#5 Post by Bulkley »

Code: Select all

systemctl poweroff 
This should work as a user; no need for root.

Note that you can reboot with

Code: Select all

systemctl reboot

satimis
Posts: 536
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: shutdown problem

#6 Post by satimis »

Bulkley wrote:

Code: Select all

systemctl poweroff 
This should work as a user; no need for root.

Note that you can reboot with

Code: Select all

systemctl reboot
It works as user. Thanks

Tried

Code: Select all

$ systemctl poweroff
It also works but the black screen hanging a while before turning off

satimis

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: shutdown problem

#7 Post by GarryRicketson »

Good to see it works, I don't know why the traditional shutdown commands do not work though, seems like they should, but the newer versions of Debian have changed considerably, guess it is another "new feature".

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: shutdown problem

#8 Post by Bulkley »

GarryRicketson wrote: . . . I don't know why the traditional shutdown commands do not work though, seems like they should, but the newer versions of Debian have changed considerably, guess it is another "new feature".

Code: Select all

shutdown -h now
works for me. I'm wondering if the big desktops are slow to unload. Being one of those terribly out of date old timers I habitually close all running programs before shutting down. Maybe that makes a difference. My WM is Openbox which shuts down easily.

Post Reply