再给ubuntu系统重启网络服务的时候出现失败,“stop: Job failed while stopping start: Job is already running: networking”
试了好几种方法都不行一直失败,不知道是什么原因导致。
void@void-ThinkPad-E450:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: networking void@void-ThinkPad-E450:~$ sudo ifdown eth0 ifdown: interface eth0 not configured void@void-ThinkPad-E450:~$ sudo NetworkManager restart NetworkManager is already running (pid 1708)
最后因为已经知道了进程的pid号,所以可以直接用kill命令结束进程,然后重新启动服务得以解决。