First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 119181
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo net-p2p team <net-p2p@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francisco Lloret <fcolloret@terra.es>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119181 depends on: Show dependency tree
Show dependency graph
Bug 119181 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-16 03:54 0000
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.

------- Comment #1 From Raúl Porcel 2007-02-24 19:21:51 0000 -------
Does it still happen?

Reopen if so.

------- Comment #2 From Francisco Lloret 2007-02-24 21:21:40 0000 -------
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.

------- Comment #3 From Francisco Lloret 2007-02-24 21:25:37 0000 -------
Notes: actualy i'm using amule-2.1.3, not amule-2.1.0.

------- Comment #4 From Raúl Porcel 2007-03-22 16:44:19 0000 -------
I think it's fixed now. Reemerge it in 2 hours or so, and the init script
should be updated.

First Last Prev Next    No search results available      Search page      Enter new bug