[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Service stuck at shutdow



On Wed, 2021-11-10 at 18:33 +0100, Erwan David wrote:
> Since some time, I always have to wait 1 min 30 at shut down because 
> some service does not stop (for user erwan is said).
> 
> How can I debug this, know which service is blocking the shutdown ?

Assuming you system is using systemd then look at the logs for the last
boot with:

#journalctl -b-1

and scroll to the end where you will see what was going on during
shutdown. Errors will likely be highlighted in red (they are for me).

The times I've had hanging during shutdown is due to the network being
shut down before network filesystems are unmounted.

-- 
Tixy


Reply to: