Error getting service network restart cmd in centOS

asked 2016-01-19 09:31:32 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

service network restart 
Restarting network (via systemctl):  Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
                                                           [FAILED]
g network (via systemctl):  Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
                                                           [FAILED]
[root@localhost ~]# 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 Tue 2016-01-19 14:53:35 IST; 1min 0s ago
  Process: 6121 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain network[6121]: RTNETLINK answers: File exists
Jan 19 14:53:35 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
Jan 19 14:53:35 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Jan 19 14:53:35 localhost.localdomain systemd[1]: Unit network.service entered failed state.
[root@localhost ~]# journalctl -xe | trail
bash: trail: command not found...
[root@localhost ~]# journalctl -xe | tail
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit network.service has failed.
-- 
-- The result is failed.
Jan 19 14:53:35 localhost.localdomain systemd[1]: Unit network.service entered failed state.
Jan 19 14:54:05 localhost.localdomain NetworkManager[1003]: <info>  (eno16777736): Activation: Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jan 19 14:54:05 localhost.localdomain NetworkManager[1003]: <info>  (eno16777736): Activation: Stage 4 of 5 (IPv6 Configure Timeout) started...
Jan 19 14:54:05 localhost.localdomain NetworkManager[1003]: <info>  (eno16777736): Activation: Stage 4 of 5 (IPv6 Configure Timeout) complete.
edit retag flag offensive close merge delete

Comments

3

Two things - NetworkManager is already running, you don't need network.service. Second, CentOS and Fedora are different, there are more appropriate places to ask for CentOS help.

randomuser ( 2016-01-19 11:59:29 +0000 )edit