aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: invisible mule  (Read 3371 times)

Mig21

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 57
  • Just another guy.
invisible mule
« 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?
Logged

darksidex

  • Mule Farmer
  • Full Member
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 194
Re: invisible mule
« Reply #1 on: March 10, 2006, 12:26:50 PM »

delete ~/.aMule/muleLock and restart amule.
Logged
First of all, I apologize for my bad english. :D

Mig21

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 57
  • Just another guy.
Re: invisible mule
« Reply #2 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?
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: invisible mule
« Reply #3 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 ^^
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Mig21

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 57
  • Just another guy.
Re: invisible mule
« Reply #4 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.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: invisible mule
« Reply #5 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 ^^
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Mig21

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 57
  • Just another guy.
Re: invisible mule
« Reply #6 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
Logged