eth0 gone missing after reboot

Issues related to configuring your network
User avatar
jyoung
Posts: 102
Joined: 2014/09/22 13:40:31
Location: Nashville, TN, USA

Re: eth0 gone missing after reboot

Post by jyoung » 2014/09/23 13:08:47

Do you have any other problems during boot? I can run systemctl status network.service and get output like I'd expect. An strace shows that it's pulling this information from /sys/fs/cgroup/systemd/system.slice/network.service. What is the output of this?

Code: Select all

mount | grep cgroup
To figure out why you're getting the error about "service" not being available to you, please post the output of these commands?

Code: Select all

$ which service
$ echo $PATH | tr ':' '\n'
When I run it (depending on which shell I'm using), I get one of these outputs:

Code: Select all

$ which service
/usr/sbin/service
OR

Code: Select all

$ which service
/sbin/service
-- Jeremy --

Zermond
Posts: 2
Joined: 2015/03/06 11:17:56

Re: eth0 gone missing after reboot

Post by Zermond » 2015/03/06 11:25:42

Hi,


I have like problem

Code: Select all

[root@zermond system]# service
-bash: service: команда не найдена

Code: Select all

[root@zermond system]# systemctl status network
network.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

Code: Select all

[root@zermond system]# mount | grep cgroup
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)

Code: Select all

[root@zermond system]# which service
/usr/bin/which: no service in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) 

Code: Select all

[root@zermond system]# echo $PATH | tr ':' '\n'
/usr/local/sbin
/sbin
/bin
/usr/sbin
/usr/bin
/root/bin 

Code: Select all

[root@zermond system]# which service
/usr/bin/which: no service in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Zermond
Posts: 2
Joined: 2015/03/06 11:17:56

Re: eth0 gone missing after reboot

Post by Zermond » 2015/03/06 12:12:14

I installed NetworkManager

Code: Select all

yum install NetworkManager
and see

Code: Select all

[root@zermond system]# systemctl status network
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
I think that the problem was solved

Post Reply