aMule Forum

English => aMule Help => Topic started by: Mig21 on March 08, 2006, 09:22:56 PM

Title: invisible mule
Post by: Mig21 on March 08, 2006, 09:22:56 PM
hi

this is a problem i run into about once every 20 reboots.

i use slackware 10.2 and xfce. i have a link to amule in ~/Desktop/Autostart so amule will start when i log in.

at times amule does not start. i have automatic login enabled so i can't say if it looks like it starts.

but the thing is it's not in my tray and if i do `ps ax` there is no amule there.

if i  try to run it, i get

Quote
Initialising aMule
Checking if there is an instance already running...
There is an instance of aMule already running
Raising current running instance.
and nothing is raised :)

any ideas?
Title: Re: invisible mule
Post by: darksidex on March 10, 2006, 12:26:50 PM
delete ~/.aMule/muleLock and restart amule.
Title: Re: invisible mule
Post by: Mig21 on March 13, 2006, 01:26:48 AM
thanks for the sugestion, i'll try it.

but until it happens again, i wonder, how come amule is able to start after a reboot. shouldn't the lock file still be there?
Title: Re: invisible mule
Post by: thedude0001 on March 13, 2006, 09:09:42 AM
On a clean shutdown amule should always remove the lockfile. How do you stop amule when shutting down the system? Do you stop it manually or do you just let the system handle it? Usually Linux gives processes 20 seconds between SIGTERM and AIGKILL on shutdown. If you have a lot of downloads that might not always be enough time for amule to shut down properly.

However, the problem with the stall lockfile has been taken care of on SVN (as far as I know), so this should be ficed either on 2.1.1 or on 2.2.0 ^^
Title: Re: invisible mule
Post by: Mig21 on March 13, 2006, 09:51:10 AM
Quote
On a clean shutdown amule should always remove the lockfile.
right. but if it weren't shut down properly and the lock file is still there, how is it able to start?

Quote
How do you stop amule when shutting down the system? Do you stop it manually or do you just let the system handle it
50/50 randomly

Quote
Usually Linux gives processes 20 seconds between SIGTERM and AIGKILL on shutdown.
it would have to be X since amule won't run without it, right? i often wondered if xfce does the sigterm when logging out.
Title: Re: invisible mule
Post by: thedude0001 on March 13, 2006, 12:32:54 PM
Quote
Originally posted by Mig21
right. but if it weren't shut down properly and the lock file is still there, how is it able to start?

I think this is the problem you are facing: the lockfile is still there and that is why amule refuses to start ^^
Title: Re: invisible mule
Post by: Mig21 on March 15, 2006, 02:35:43 AM
Quote
Originally posted by darksidex
delete ~/.aMule/muleLock and restart amule.
yep, deleting the file worked.

i still don't understand how it got deleted by itself before but it doesn't matter

thanks