Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth0 related services failing to start @ boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
StoneC0ld
n00b
n00b


Joined: 27 Jul 2006
Posts: 56

PostPosted: Sat Dec 23, 2006 11:53 am    Post subject: net.eth0 related services failing to start @ boot Reply with quote

I'm having troubles getting all services requiring net.eth0 as a dependency to boot @ start....

Net.eth0 appears to start ok at the moment, because ssh connections are refused and not timing out, but I get syslog messages saying that each of the services requiring net.eth0 (including sshd) failed to start because net.eth0 was not running.... Datacenter support staff are able to login and start sshd manually, though don't know if they're using the init script or sshd command directly....

Any ideas how I might fix this? It's getting rather annoying having to ticket the datacenter to start sshd every time I reboot, and I'm having to reboot fairly frequently trying to get vmware server to work.....

Thanks.. :)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Dec 23, 2006 12:19 pm    Post subject: Reply with quote

Is net.eth0 in the default runlevel? check with rc-update show
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
StoneC0ld
n00b
n00b


Joined: 27 Jul 2006
Posts: 56

PostPosted: Sat Dec 23, 2006 3:53 pm    Post subject: Reply with quote

It is..... It does start, because until the datacenter starts sshd, ssh connections are refused.... While it's down, connections time out, so if net.eth0 really fails to start, it would continue to time out....
Back to top
View user's profile Send private message
abc0815
n00b
n00b


Joined: 07 Jul 2004
Posts: 54

PostPosted: Sat Dec 23, 2006 4:41 pm    Post subject: Reply with quote

hi,
can you post rc-status show ? Bay "datacenter" you mean that you have a server leased right ?
cheers
Back to top
View user's profile Send private message
StoneC0ld
n00b
n00b


Joined: 27 Jul 2006
Posts: 56

PostPosted: Sat Dec 23, 2006 5:19 pm    Post subject: Reply with quote

monitor ~ # rc-status default
Runlevel: default
netmount [ stopped ]
local [ started ]
net.eth0 [ started ]
syslog-ng [ started ]
vixie-cron [ started ]
sshd [ started ]
xinetd [ started ]
oidentd [ stopped ]
vmware [ broken ]
* You have some broken symbolic links as reported by the broken
* status above. This can be fixed by removing the broken service
* from its runlevel and re-adding it back using rc-update.

vmware I'm not surprised about it, it's being nothing but problems.....

Yes, it's a leased (or something like that) server at a remote datacenter, so I don't have physical access.....
Back to top
View user's profile Send private message
abc0815
n00b
n00b


Joined: 07 Jul 2004
Posts: 54

PostPosted: Sat Dec 23, 2006 7:24 pm    Post subject: Reply with quote

hm not rc-status default.
Code:
rc-status show

Since now the box is reachable rc-status default gets us nowhere :)
cheers
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sat Dec 23, 2006 9:53 pm    Post subject: Reply with quote

have you tried running the sshd init script by hand and seeing what happens?

I know the datacenter people manage to start it, but perhaps they just run sshd itself, as you previously suggested.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
StoneC0ld
n00b
n00b


Joined: 27 Jul 2006
Posts: 56

PostPosted: Sat Dec 23, 2006 11:45 pm    Post subject: Reply with quote

Code:
monitor ~ # rc-status show
 * show is not a valid run level !
 * Valid runlevels (obtained from `rc-status --list`):
boot
default
nonetwork
single
monitor ~ #


I'm guessing you mean this:
Code:
monitor ~ # rc-update show
            bootmisc | boot                         
             checkfs | boot                         
           checkroot | boot                         
               clock | boot                         
            coldplug | boot                         
         consolefont | boot                         
            hostname | boot                         
             keymaps | boot                         
               local |      default nonetwork       
          localmount | boot                         
             modules | boot                         
            net.eth0 |      default                 
              net.lo | boot                         
            netmount |      default                 
             oidentd |      default                 
           rmnologin | boot                         
                sshd |      default                 
           syslog-ng |      default                 
             urandom | boot                         
          vixie-cron |      default                 
              vmware |      default                 
              xinetd |      default                 
monitor ~ #


init-scripts work fine when I get to it, though all I can do with sshd is restart.....
Back to top
View user's profile Send private message
StoneC0ld
n00b
n00b


Joined: 27 Jul 2006
Posts: 56

PostPosted: Thu Dec 28, 2006 4:18 am    Post subject: Reply with quote

*bump*

Any solution?
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Dec 28, 2006 4:54 am    Post subject: Reply with quote

if only dmesg would explain it!

you wrote:
syslog-ng | default


maybe syslog would capture what happens if it were starting in default runlevel...? Then you could get perhaps a helpful error from the logs...
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
StoneC0ld
n00b
n00b


Joined: 27 Jul 2006
Posts: 56

PostPosted: Thu Dec 28, 2006 5:11 am    Post subject: Reply with quote

no error from net.eth0 in the logs

From what I can remember, the logs had the nic driver output showing a successful initialization, immediately followed by rc-scripts error messages for each rc script that depends on net.eth0....

Not running gentoo at this moment, but looking to go back to it if we can find a solution.....
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Dec 28, 2006 5:16 am    Post subject: Reply with quote

not a great solution, but i think i would just remove the net.eth0 dependancy lines, or maybe before that try letting the lines do the trick and removing the net.eth0 in the default runlevel.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Fri Jan 12, 2007 9:43 pm    Post subject: Reply with quote

Don't know last changes in unstable but
Code:
rc-update del net.eth0 default
solved.
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum