aMule Forum
English => aMule Help => Topic started 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
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?
-
delete ~/.aMule/muleLock and restart amule.
-
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?
-
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 ^^
-
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?
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
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.
-
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 ^^
-
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