Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
When i try to restart amuled: /etc/init.d/amuled restart the system shows an error message: Pentium1 ~ # /etc/init.d/amuled restart * Stopping aMule daemon ... [ ok ] * An instance of aMule webserver is already running Pentium1 ~ # /etc/init.d/amuled start * Starting aMule Daemon ... [ ok ] Pentium1 ~ # After this error, a system command ps -ea shows two or more amuled instances running. In order to start amuled i have to killall amuled, and now /etc/init.d/amuled start works. I'm using amule-2.1.0.
Does it still happen? Reopen if so.
Thanks. I solved the problem with a few modifications in /etc/init.d/amuled. In the original /etc/init.d/amuled, i the old code is restart() { svc_stop sleep 3 svc_start } Seems that waiting 3 seconds is not enought to make sure the amuled and amulegui jobs are closed,I changed the code by this: restart() { svc_stop # sleep 3 while `pgrep -u ${AMULEUSER} amuled >/dev/null`; do echo . >/dev/null; done svc_start } and now the restart function, after a few weeks of testing, seems that is working ok.
Notes: actualy i'm using amule-2.1.3, not amule-2.1.0.
I think it's fixed now. Reemerge it in 2 hours or so, and the init script should be updated.