View previous topic :: View next topic |
Author |
Message |
cmdic n00b
Joined: 06 Apr 2012 Posts: 27
|
Posted: Sat Apr 07, 2012 8:31 pm Post subject: trouble using dhcpcd |
|
|
When I try to start apache2 I get these errors:
Quote: |
* Bringing up interface eth0
* dhcp ...
* Running dhcpcd ...
dhcpcd[18704]: dhcpcd already running on pid 30298 (/var/run/dhcpcd-eth0.pid) [ !! ]
* ERROR: net.eth0 failed to start
* Bringing up interface eth1
* dhcp ...
* Running dhcpcd ...
dhcpcd[18807]: version 5.5.6 starting
dhcpcd[18807]: eth1: waiting for carrier
dhcpcd[18807]: timed out
dhcpcd[18807]: allowing 8 seconds for IPv4LL timeout
dhcpcd[18807]: timed out [ !! ]
* ERROR: net.eth1 failed to start
* Bringing up interface eth0
* dhcp ...
* Running dhcpcd ...
dhcpcd[18927]: dhcpcd already running on pid 30298 (/var/run/dhcpcd-eth0.pid) [ !! ]
* ERROR: net.eth0 failed to start
* Bringing up interface eth1
* dhcp ...
* Running dhcpcd ...
dhcpcd[19026]: version 5.5.6 starting
dhcpcd[19026]: eth1: waiting for carrier
dhcpcd[19026]: timed out
dhcpcd[19026]: allowing 8 seconds for IPv4LL timeout
dhcpcd[19026]: timed out [ !! ]
* ERROR: net.eth1 failed to start
* ERROR: cannot start netmount as net.eth0 would not start
* ERROR: cannot start apache2 as net.eth0 would not start
|
I am getting a similar message while booting and it takes like 30 seconds. The only differences is that on boot dhcpcd find's the working interface (eth0)
I am also using the NetworkManager. I don't know whether that's important.
If you need more informations let me know. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Sat Apr 07, 2012 8:44 pm Post subject: |
|
|
cmdic,
Welcome to Gentoo
If you want to use NetworkManager, remove the /etc/init.d/net.eth0 and eth1 files and remove the entries from the defualt runlevel.
Choose exactly one method for controlling your network interfaces.
If both interfaces get addresses in the same subet, you won't like the results. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
cmdic n00b
Joined: 06 Apr 2012 Posts: 27
|
Posted: Sat Apr 07, 2012 9:17 pm Post subject: |
|
|
Ah! That makes sense
And it works
Thanks a lot! |
|
Back to top |
|
|
|