当我启动网络服务时出现此错误
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@server ~]# systemctl start network.service
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@server ~]# systemctl start network
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@server ~]# ^C
[root@server ~]# systemctl status network.service
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2013-11-09 20:19:50 EET; 18s ago
Docs: man:systemd-sysv-generator(8)
Process: 8799 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Nov 09 20:19:50 server.hostistore.com network[8799]: RTNETLINK answers: File ...
Nov 09 20:19:50 server.hostistore.com network[8799]: RTNETLINK answers: File ...
Nov 09 20:19:50 server.hostistore.com network[8799]: RTNETLINK answers: File ...
Nov 09 20:19:50 server.hostistore.com network[8799]: RTNETLINK answers: File ...
Nov 09 20:19:50 server.hostistore.com network[8799]: RTNETLINK answers: File ...
Nov 09 20:19:50 server.hostistore.com network[8799]: RTNETLINK answers: File ...
Nov 09 20:19:50 server.hostistore.com systemd[1]: network.service: control pr...
Nov 09 20:19:50 server.hostistore.com systemd[1]: Failed to start LSB: Bring ...
Nov 09 20:19:50 server.hostistore.com systemd[1]: Unit network.service entere...
Nov 09 20:19:50 server.hostistore.com systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
我目前只能用dhclient上网。我设置了ip地址,但是没用。以前是可以的,重置服务器bios设置的时候就出现这个问题了,不知道是不是这个原因。
网络设置
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp3s0
UUID=7ce98357-0726-4466-9936-b8e8aeccd563
DEVICE=enp3s0
ONBOOT=yes
DNS1=8.8.8.8
DNS2=8.8.4.4
IPADDR=192.168.1.38
NETMASK=255.255.255.0
PREFIX=24
GATEWAY=192.168.1.1
IPV6_PRIVACY=no