After the system running whole night, I found I cannot switch wifi by network manager. And when I open the UI of network manager, there is a text on the UI after a long time: NetworkManager needs to be running.
Then I run:
systemctl restart network
The command hangs there, no any response
Then I run:
systemctl status network
I get:
…deactivating…timeout…
and some PID in above content
I use:
systemctl kill NetworkManager
And:
kill -9 <PIDs in above status info>
I found I cannot kill these processes
Then I use:
systemctl daemon-reload
systemctl daemon-reexec
The status of NetworkManager service becomes to: inactive
Then:
systemctl restart network
I was told:
Job for NetworkManager failed because the control process existed with error code
Finally I run:
journalctl -xe
…
Found left-over process xxx (NetworkManager) in control group while starting unit. Ignoring.
…
NetworkManager.service: Failed with result ‘exit code’
…
Failed to start Network Manager
Thanks.