View previous topic :: View next topic |
Author |
Message |
hybiepoo n00b
Joined: 11 Feb 2012 Posts: 1
|
Posted: Sat Feb 11, 2012 2:24 pm Post subject: Openrc eth0 missing from rc-status |
|
|
Since just doing an upgrade on one of my systems (still have one to go), I'm having issues with eth0 not coming up any more.
Modules are loaded etc.
Both net.eth1 and net.eth0 are in the default runlevel.
I can manually /etc/init.d/eth0 start and it comes up fine.
When the system is booting, eth0 seems to be ignored. When I do rc-status, net.eth0 does not show up.
Code: | rc-update show default
apache2 | default
atd | default
clamd | default
courier-authlib | default
courier-imapd | default
courier-imapd-ssl | default
courier-pop3d | default
courier-pop3d-ssl | default
fail2ban | default
iptables | default
local | default
mailscanner | default
mysql | default
named | default
net.eth0 | default
net.eth1 | default
netmount | default
nfs | default
nscd | default
postgrey | default
saslauthd | default
snmpd | default
sshd | default
sysklogd | default
udev-postmount | default
vixie-cron | default
|
Code: | rc-status default
Runlevel: default
sysklogd [ started ]
iptables [ started ]
net.eth1 [ started ]
mysql [ started ]
named [ started ]
nfs [ started ]
netmount [ started ]
sshd [ started ]
apache2 [ started ]
atd [ started ]
clamd [ started ]
courier-authlib [ started ]
courier-imapd [ started ]
courier-imapd-ssl [ started ]
courier-pop3d [ started ]
courier-pop3d-ssl [ started ]
fail2ban [ started ]
mailscanner [ started ]
nscd [ started ]
postgrey [ started ]
saslauthd [ started ]
snmpd [ stopped ]
udev-postmount [ started ]
vixie-cron [ started ]
local [ started ]
|
What's happened to eth0? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Sat Feb 11, 2012 4:50 pm Post subject: |
|
|
hybiepoo,
Welcome to the Forums.
It has been known for the symlink from /etc/init.d/net.eth0 to /etc/init.d/net.lo to vanish in the baselayout1 to baselayout2 upgrade.
Check you still have it.
For consistency, new installs are not provided with that symlink any more. Wired networking is not as popular as it once was. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
piggie Tux's lil' helper
Joined: 01 Jan 2003 Posts: 113 Location: Sydney, Australia
|
Posted: Sat Feb 11, 2012 9:44 pm Post subject: |
|
|
Thanks Neddy,
I'm aware of the net.eth0 link issue - that did happen and I put the link back.
Code: |
lrwxrwxrwx 1 root root 6 Feb 11 12:53 net.eth0 -> net.lo
lrwxrwxrwx 1 root root 6 Feb 14 2007 net.eth1 -> net.lo
|
I can manually start /etc/init.d/net.eth0 and it comes up fine.
For the moment I have had to put /etc/init.d/net.eth0 start into my local startup so that it comes up on boot.
Obviously this is way too late to have it available when all the network services start, and it also doesn't solve the problem.
BTW, I'm not new... I just couldn't remember my login. I used a different username than usual here. |
|
Back to top |
|
|
piggie Tux's lil' helper
Joined: 01 Jan 2003 Posts: 113 Location: Sydney, Australia
|
Posted: Sat Feb 11, 2012 9:51 pm Post subject: |
|
|
I just found another weird issue.
Even though I have added the script to local so that it starts, it's still not showing in rc-status as running.
Code: |
rc-status
Runlevel: default
sysklogd [ started ]
iptables [ started ]
net.eth1 [ started ]
mysql [ started ]
named [ started ]
nfs [ started ]
netmount [ started ]
sshd [ started ]
apache2 [ started ]
atd [ started ]
clamd [ started ]
courier-authlib [ started ]
courier-imapd [ started ]
courier-imapd-ssl [ started ]
courier-pop3d [ started ]
courier-pop3d-ssl [ started ]
fail2ban [ started ]
mailscanner [ started ]
nscd [ started ]
postgrey [ started ]
saslauthd [ started ]
snmpd [ stopped ]
udev-postmount [ started ]
vixie-cron [ started ]
local [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
sysfs [ started ]
udev-mount [ started ]
rpcbind [ started ]
rpc.pipefs [ started ]
rpc.statd [ started ]
Dynamic Runlevel: manual
|
|
|
Back to top |
|
|
laoshi n00b
Joined: 23 Jul 2003 Posts: 44
|
Posted: Mon Mar 25, 2013 10:40 pm Post subject: |
|
|
strange ... i have the same problem now after a new installation
sshd,net.eth0 etc show up,
but somehow ntpd and ntp-client are missing
i can start/stop them by hand without problems. rc-update shows them aswell,
but they wont get started/stopped und startup or shutdown and rc-status does not show them aswell.
Anyone found a solution for this?
Are there maybe wrong cached dependency informations ? and can i somehow delete these?
best regards,
mike |
|
Back to top |
|
|
eXt n00b
Joined: 09 Oct 2005 Posts: 66 Location: Sweden
|
Posted: Wed Aug 07, 2013 11:07 am Post subject: |
|
|
I had the same problem on a new install and could resolve it with "rc-update -d" (which complained about clock skew) |
|
Back to top |
|
|
|