Fedora 20: LSB를 시작할 수 없습니다: 네트워킹 켜기/끄기

Fedora 20: LSB를 시작할 수 없습니다: 네트워킹 켜기/끄기

Fedora 20에서 네트워크 서비스를 다시 시작하려고 시도했지만 다음 오류가 발생했습니다.

[dev@localhost das]$ sudo service network restart
[sudo] password for dev: 
Restarting network (via systemctl):  Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
                                                           [FAILED]


[dev@localhost das]$ systemctl status network.service
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Wed 2014-07-30 11:26:17 CDT; 8min ago

Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:16 localhost.localdomain network[22542]: RTNETLINK answers: File exists
Jul 30 11:26:17 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
Jul 30 11:26:17 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Jul 30 11:26:17 localhost.localdomain systemd[1]: Unit network.service entered failed state

[dev@localhost das]$ ll /etc/sysconfig/network-scripts  
total 216
-rw-r--r--. 1 root root   254 Jan 14  2014 ifcfg-lo
-rw-r--r--. 1 root root   319 Dec 23  2013 ifcfg-p2p1
lrwxrwxrwx. 1 root root    24 Jun  4 16:04 ifdown -> ../../../usr/sbin/ifdown
-rwxr-xr-x. 1 root root   627 Jan 14  2014 ifdown-bnep
-rwxr-xr-x. 1 root root  5553 Jan 14  2014 ifdown-eth
-rwxr-xr-x. 1 root root   781 Jan 14  2014 ifdown-ippp
-rwxr-xr-x. 1 root root  4141 Jan 14  2014 ifdown-ipv6
lrwxrwxrwx. 1 root root    11 Jun  4 16:04 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x. 1 root root  1642 Jan 14  2014 ifdown-post
-rwxr-xr-x. 1 root root  1068 Jan 14  2014 ifdown-ppp
-rwxr-xr-x. 1 root root   837 Jan 14  2014 ifdown-routes
-rwxr-xr-x. 1 root root  1444 Jan 14  2014 ifdown-sit
-rwxr-xr-x. 1 root root  1599 Mar 31 03:52 ifdown-Team
-rwxr-xr-x. 1 root root  1556 Mar 31 03:52 ifdown-TeamPort
-rwxr-xr-x. 1 root root  1462 Jan 14  2014 ifdown-tunnel
lrwxrwxrwx. 1 root root    22 Jun  4 16:04 ifup -> ../../../usr/sbin/ifup
-rwxr-xr-x. 1 root root 12449 Jan 14  2014 ifup-aliases
-rwxr-xr-x. 1 root root   859 Jan 14  2014 ifup-bnep
-rwxr-xr-x. 1 root root 10293 Jan 14  2014 ifup-eth
-rwxr-xr-x. 1 root root 12039 Jan 14  2014 ifup-ippp
-rwxr-xr-x. 1 root root 10430 Jan 14  2014 ifup-ipv6
-rwxr-xr-x. 1 root root   804 Jan 14  2014 ifup-ipx
lrwxrwxrwx. 1 root root     9 Jun  4 16:04 ifup-isdn -> ifup-ippp
-rwxr-xr-x. 1 root root   642 Jan 14  2014 ifup-plip
-rwxr-xr-x. 1 root root  1043 Jan 14  2014 ifup-plusb
-rwxr-xr-x. 1 root root  2609 Jan 14  2014 ifup-post
-rwxr-xr-x. 1 root root  4154 Jan 14  2014 ifup-ppp
-rwxr-xr-x. 1 root root  1925 Jan 14  2014 ifup-routes
-rwxr-xr-x. 1 root root  3263 Jan 14  2014 ifup-sit
-rwxr-xr-x. 1 root root  1755 Mar 31 03:52 ifup-Team
-rwxr-xr-x. 1 root root  1876 Mar 31 03:52 ifup-TeamPort
-rwxr-xr-x. 1 root root  2607 Jan 14  2014 ifup-tunnel
-rwxr-xr-x. 1 root root  1621 Jan 14  2014 ifup-wireless
-rwxr-xr-x. 1 root root  4623 Jan 14  2014 init.ipv6-global
-rw-r--r--. 1 root root 13793 Jan 14  2014 network-functions
-rw-r--r--. 1 root root 26134 Jan 14  2014 network-functions-ipv6

답변1

RHEL 7.0을 설치한 직후에도 같은 문제가 발생했습니다. 이상하게도 구성을 변경하지 않고 재부팅하면 문제가 해결되었습니다.

어쨌든 설치 후 RHEL이 부팅되면 네트워크가 엉망이 되어 정상으로 돌아가려면 다시 재부팅해야 합니다.

답변2

NetworkManager를 다시 시작하면 나에게 도움이 되었습니다.

systemctl stop NetworkManager
systemctl start NetworkManager

나는 그것을 시도하지는 않았지만 이 문장도 같은 효과를 가질 것이라고 생각합니다.

systemctl restart NetworkManager

답변3

ifconfig이 문제가 발생하면 다음 명령을 사용하여 Mac 주소를 찾으십시오.

하드웨어 주소를 복사해서 붙여넣으세요.

vi /etc/sysconfig/network-scripts/ifcfg-eno16777736

관련 정보