I am running ubuntu 16.04 and since few days it takes around 5 min to boot up. I looked related questions but I could not find how to troubleshoot my problem. When I run:
systemd-analyze blame
I get this utput:
5min 2.242s networking.service
21.128s vboxdrv.service
5.637s NetworkManager-wait-online.service
3.436s apt-daily.service
592ms dev-sda1.device
462ms lightdm.service
442ms plymouth-quit-wait.service
389ms libvirt-guests.service
So I guess networking.service is causing the problem. Can somebody help me to fix that? thank you
Maybe it is a workaround but I could reduce the boot up time following the answer at https://ubuntuforums.org/showthread.php?t=2323253, i.e. by editing the file:
sudo vim /etc/systemd/system/network-online.targets.wants/networking.service
And changing the following line at the end of the file:
TimeoutStartSec=5min
to:
TimeoutStartSec=30sec
I have then rebooted the system and it works fine.
If you dont want to reboot the system again, just reboot the daemon by:
sudo systemctl daemon-reload
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다