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

 

 

 

Reboot 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

Reboot problem

#1 Post by satimis »

Hi all,

On terminal running;
$ sudo reboot

It popu follow;

Code: Select all

A stop job is running for Session c3 of user .....
It takes sometimes before reboot.

Please advise how to solve this problem? Thanks

Regards
satimis

cronoik
Posts: 310
Joined: 2015-05-20 21:17

Re: Reboot problem

#2 Post by cronoik »

Systemd is waiting for the job to finish. You can reduce the default waiting in /etc/systemd/system.conf with setting the parameter "DefaultTimeoutStopSec=90s" to a value below 90s.
Have a nice day!

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Reboot problem

#3 Post by None1975 »

OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

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

Re: Reboot problem

#4 Post by satimis »

cronoik wrote:Systemd is waiting for the job to finish. You can reduce the default waiting in /etc/systemd/system.conf with setting the parameter "DefaultTimeoutStopSec=90s" to a value below 90s.
Hi,

$ sudo /etc/systemd/system.conf

the line
#DefaultTimeoutStopSec=90s
is comment out.

I uncomment it and set it as;
DefaultTimeoutStopSec=30s

It is now working without problem. After waiting 30s the system reboots

Thanks

Regards
satimis
Last edited by satimis on 2017-08-14 13:27, edited 1 time in total.

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

Re: Reboot problem

#5 Post by satimis »

cronoik wrote:Systemd is waiting for the job to finish. You can reduce the default waiting in /etc/systemd/system.conf with setting the parameter "DefaultTimeoutStopSec=90s" to a value below 90s.
Hi,

Thanks for your link

Regards
satimis

Post Reply