Powering off
Posted: 2019/06/18 14:20:26
Hi,
I am using CentOS 7 on a Desktop Computer and I am facing issue in powering off the system. I tried to shutdown the system by using Shutdown button from GUI and also by using following commands but in all cases system could not be powered off properly. When the system is going to shutdown, all the services properly shutdown as the [OK] message labeled with them and last message showed as "Powering off" and system stopped/hanged here. Then I have to use the Power Button of the CPU or directly turn off the power electricity to turn off the system.
sudo systemctl poweroff
sudo shutdown
sudo shutdown now
Following is the log that the system created when the power off command run. There is nothing that can be caused of this hang.
-------------------------------------------------------------
systemd: Created slice User Slice of root.
systemd: Started Session 7 of user root.
cube systemd: Removed slice User Slice of root.
systemd: Stopping Session 1 of user Sohail.
systemd: Removed slice system-selinux\x2dpolicy\x2dmigrate\x2dlocal\x2dchanges.slice.
systemd: Stopping LVM2 PV scan on device 8:2...
systemd: Stopped Dump dmesg to /var/log/dmesg.
systemd: Stopped Stop Read-Ahead Data Collection 10s After Completed Startup.
systemd: Stopped target Sound Card.
systemd: Stopping Availability of block devices...
systemd: Stopping Session 5 of user Sohail.
systemd: Stopping Thunderbolt system service...
systemd: Closed LVM2 poll daemon socket.
systemd: Stopping RPC bind service...
systemd: Stopping Daemon for power management...
systemd: Stopping PackageKit Daemon...
systemd: Stopped target RPC Port Mapper.
systemd: Stopped target Login Prompts (Pre).
systemd: Stopped target Graphical Interface.
systemd: Stopping RealtimeKit Scheduling Policy Service...
ModemManager[3499]: <info> Caught signal, shutting down...
journal: g_object_notify: object class 'UpDevice' has no property named 'g-name-owner'
systemd: Stopping Disk Manager...
systemd: Stopped target Multi-User System.
NetworkManager[3620]: <info> [1560860450.1128] modem-manager: ModemManager no longer available
systemd: Stopping Job spooling tools...
ModemManager[3499]: <info> ModemManager is shut down
systemd: Stopped target Login Prompts.
journal: udisks daemon version 2.7.3 exiting
-------------------------------------------------------------
Can you please let me know what is the issue as I cannot reinstall the CentOS7 and all requiring things?
Thanks,
I am using CentOS 7 on a Desktop Computer and I am facing issue in powering off the system. I tried to shutdown the system by using Shutdown button from GUI and also by using following commands but in all cases system could not be powered off properly. When the system is going to shutdown, all the services properly shutdown as the [OK] message labeled with them and last message showed as "Powering off" and system stopped/hanged here. Then I have to use the Power Button of the CPU or directly turn off the power electricity to turn off the system.
sudo systemctl poweroff
sudo shutdown
sudo shutdown now
Following is the log that the system created when the power off command run. There is nothing that can be caused of this hang.
-------------------------------------------------------------
systemd: Created slice User Slice of root.
systemd: Started Session 7 of user root.
cube systemd: Removed slice User Slice of root.
systemd: Stopping Session 1 of user Sohail.
systemd: Removed slice system-selinux\x2dpolicy\x2dmigrate\x2dlocal\x2dchanges.slice.
systemd: Stopping LVM2 PV scan on device 8:2...
systemd: Stopped Dump dmesg to /var/log/dmesg.
systemd: Stopped Stop Read-Ahead Data Collection 10s After Completed Startup.
systemd: Stopped target Sound Card.
systemd: Stopping Availability of block devices...
systemd: Stopping Session 5 of user Sohail.
systemd: Stopping Thunderbolt system service...
systemd: Closed LVM2 poll daemon socket.
systemd: Stopping RPC bind service...
systemd: Stopping Daemon for power management...
systemd: Stopping PackageKit Daemon...
systemd: Stopped target RPC Port Mapper.
systemd: Stopped target Login Prompts (Pre).
systemd: Stopped target Graphical Interface.
systemd: Stopping RealtimeKit Scheduling Policy Service...
ModemManager[3499]: <info> Caught signal, shutting down...
journal: g_object_notify: object class 'UpDevice' has no property named 'g-name-owner'
systemd: Stopping Disk Manager...
systemd: Stopped target Multi-User System.
NetworkManager[3620]: <info> [1560860450.1128] modem-manager: ModemManager no longer available
systemd: Stopping Job spooling tools...
ModemManager[3499]: <info> ModemManager is shut down
systemd: Stopped target Login Prompts.
journal: udisks daemon version 2.7.3 exiting
-------------------------------------------------------------
Can you please let me know what is the issue as I cannot reinstall the CentOS7 and all requiring things?
Thanks,