View previous topic :: View next topic |
Author |
Message |
dye464 n00b
Joined: 23 Jun 2005 Posts: 42 Location: Germany
|
Posted: Wed Dec 24, 2008 7:57 pm Post subject: All Daemon Init Scripts are messed up...[solved] |
|
|
Since i have updated my profile with "eselect profile set" to default/linux/amd64/2008.0 every Daemon Init Script is messed up.
Code: |
dye # /etc/init.d/apache2 start
* Caching service dependencies ... [ ok ]
* Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ...
eth0: dhcpcd already running on pid 20314 (/var/run/dhcpcd-eth0.pid) [ !! ]
* Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ...
eth0: dhcpcd already running on pid 20314 (/var/run/dhcpcd-eth0.pid) [ !! ]
* ERROR: cannot start netmount as net.eth0 could not start
* ERROR: cannot start apache2 as net.eth0 could not start
|
Code: |
dye # /etc/init.d/mysql start
* Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ...
eth0: dhcpcd already running on pid 25847 (/var/run/dhcpcd-eth0.pid) [ !! ]
* Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ...
eth0: dhcpcd already running on pid 25847 (/var/run/dhcpcd-eth0.pid) [ !! ]
* ERROR: cannot start netmount as net.eth0 could not start
|
Proftpd the same Error.
I don't know how to fix that without editing every single init file (which would suck pretty hard).
I'm on amd64 stable and only have a few unstable packages which are in no way related to the daemons. _________________ "I essentially started using Gentoo because my ....ing KDE clock would never show the right time in Red Hat."
Last edited by dye464 on Thu Dec 25, 2008 7:31 am; edited 1 time in total |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Wed Dec 24, 2008 8:10 pm Post subject: |
|
|
Quote: | eth0: dhcpcd already running on pid 25847 (/var/run/dhcpcd-eth0.pid) |
run "ps aux | grep 25847", if dhcpcd isn't running, rm the file and start eth0 again.
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
dye464 n00b
Joined: 23 Jun 2005 Posts: 42 Location: Germany
|
Posted: Wed Dec 24, 2008 8:16 pm Post subject: |
|
|
Code: |
dye # cat /var/run/dhcpcd-eth0.pid
27204
dye # ps aux|grep 27204
root 27204 0.0 0.0 8000 348 ? Ss 20:51 0:00 dhcpcd eth0
root 27528 0.0 0.0 5580 672 pts/0 R+ 21:14 0:00 grep --colour=auto 27204
|
The PID in the file is right and dhcpcd running.
I restarted dhcpcd about a million times since i loose internet connection every time i try to start a daemon.
EDIT: After Reboot everything works fine... _________________ "I essentially started using Gentoo because my ....ing KDE clock would never show the right time in Red Hat." |
|
Back to top |
|
|
|