aMule Forum

English => Multiplatform => Mac OSX => Topic started by: Craze on February 24, 2006, 02:14:32 PM

Title: Problem with starting aMule
Post by: Craze on February 24, 2006, 02:14:32 PM
Hi everyone.
Hate to bother anyone on a first post with annoying question but this one is driving me nuts. I used aMule 2.0.6 before and no problems whatsoever. Now I switched to 2.1.0 and the app won't start up properly anymore.

Let me explain.

Whenever I start up aMule the user interface appears faithfully and then it switches to the waiting cursor (the rainbow-coloured swirling thingie). And it stays like this for an eternity. OK, I don't know how long it actually stays but my patience ran out after 20 minutes.
After 15 minutes there is no sign that aMule is doing anything, even HD activity stops at this point.
I never had this problem with the version I was previously using.

I'm running aMule on a G5 iMac (1GB RAM) with Tiger (and yes, I've downloaded the Tiger-version).

I'd appreciate any help on this topic. Anyone? Please?  :)
Title: Re: Problem with starting aMule
Post by: Craze on February 24, 2006, 03:16:55 PM
Well, it seems that there was a thread that answered my question. Sorry for not looking properly beforehand.  :]

Deleted the Library/Application Support/aMule directory, let aMule create a new one, restored the Temp folder and everything's peachy again. This forum has still been most helpful. Thanks anyway.
 :D
Title: Re: Problem with starting aMule
Post by: lionel77 on February 24, 2006, 10:14:16 PM
Glad you worked it out.
I'm still wondering, though, why some users experience this problem when they migrate from 2.0.3 to 2.1.0 and others don't.
Title: RE: Problem with starting aMule
Post by: anthropomastoras on March 03, 2006, 10:15:51 PM
Hi fellows ..

Really useful information as i was ready to start an new post about this problem .. Now the only think that remained is to keep the right files for the last version's preferences.

Thanks again ...

Keep sharing ...
Title: Re: Problem with starting aMule
Post by: lionel77 on March 04, 2006, 01:43:54 AM
I'm starting to get really curious what the reason for this problem is.

The next one reading this who is experiencing this problem, could you please start aMule through the Terminal and post the output here?


Thanks in advance. :)
Title: Re: Problem with starting aMule
Post by: anthropomastoras on March 05, 2006, 03:08:34 PM
Ok just tryied it  about 10 times and every single one was on my screen the following message from Terminal ..

RegisterProcess failed (error = -50)
/Users/helios/Desktop/boinc_4.05_powerpc-apple-darwin; exit
[Process was terminated by signal 6]


Now as for my machine i am running 10.4.2 on a

  Machine Name:   eMac
  Machine Model:   PowerMac4,4
  CPU Type:   PowerPC G4  (3.3)
  Number Of CPUs:   1
  CPU Speed:   1 GHz
  L2 Cache (per CPU):   256 KB
  Memory:   768 MB
  Bus Speed:   133 MHz
  Boot ROM Version:   4.6.4f1

Hope that i gave you a sign to resolve this problem ...

Greetings from a Greek in Ferrara Italy ...
Title: Re: Problem with starting aMule
Post by: lionel77 on March 06, 2006, 05:15:11 AM
/me tries to telepathically summon ken... ;)
Title: Re: Problem with starting aMule
Post by: ken on March 08, 2006, 06:07:30 AM
You rang?  ;)

Well, uh, that's a new one on me.  It mentions "boinc", which is the Berkeley Open Infrastructure for Network Computing (http://boinc.berkeley.edu/).  It's the infrastructure underneath a bunch of distributed computing projects, such as SETI@Home and ClimatePrediction.net.  I have no idea why it would be showing up in the messages produced when you try to run aMule.

I would guess that it tries to keep track ("RegisterProcess") of what programs are running for some reason (maybe so that it doesn't take too many resources from them?).  For some reason, this is failing with aMule and preventing aMule from running.  Try disabling whatever BOINC-based program(s) you might be running and starting aMule.  If that fixes it, you need to submit a bug report to the BOINC folks.
Title: Re: Problem with starting aMule
Post by: anthropomastoras on March 10, 2006, 11:28:26 PM
Yep .. that was really strange as i am not running the application of climate prediction since 2 years and more strange as i am not running any other application on my eMac since i am using it only for downloading .. The problem started when i installed the aMule 2.1.0 version for Tiger and i also tried the Panther version without any further luck..

I used to run Terminal for prebinding without problems and until now ... i do not know what else to do ..

I tried the same operation with my iBook with ppc and with different account .. but still the application is not responding ..

This seems e real X-File ...
 :P
Title: Re: Problem with starting aMule
Post by: ken on March 12, 2006, 05:48:23 PM
Whatever BOINC stuff you used to have, it probably used haxie-like technology (APE (http://www.unsanity.com/haxies/ape)) to inject code into every running process, or something.  I can't think of a good reason for it to do that, but that's my best guess as to what's happening.

It should be possible to disable that technology.  I think there should be a System Preferences Pane to control it.  If you're not using it for anything, it's best to uninstall it altogether.  You should also check your login items (System Preferences -> Accounts -> Login Items) and delete any items you don't need to have running.

If you want to test if this is the problem before actually changing anything, log out and then hold the shift key while logging back in.  That will temporarily disable login items for that login session.  Then you can see if aMule runs.
Title: Re: Problem with starting aMule
Post by: anthropomastoras on March 12, 2006, 07:00:59 PM
I see ...

Anyway Ken thanx for the tip ..

Practickly i resolved the problem by erasing anything that had to do with the Boinc stuff and all the logs of aMule.
Then i reinstalled the aMule and after fixing the prefs of the programm started working again...

The server list could not be downloaded automatically so i did it myself and then installed it in the right file ..

After repairing the permissions and restarting my eMac everything returned to normal ...

Really thnx for your time ..

Keep the good work ..
Title: Re: Problem with starting aMule
Post by: bettix on April 06, 2006, 05:40:43 PM
MY AMULE DOES NOT START HERE COPY AND PASTE OF TERMINAL UTILITY


Last login: Thu Apr  6 17:02:05 on console
Welcome to Darwin!
[adsl-ull-253-252:~] bettaman% /Users/bettaman/Desktop/aMule.app
tcsh: /Users/bettaman/Desktop/aMule.app: Permission denied.
[adsl-ull-253-252:~] bettaman%
[adsl-ull-253-252:~] bettaman%



ELISABETTA
Title: Re: Problem with starting aMule
Post by: wuischke on April 06, 2006, 05:47:00 PM
Mh, Please don't be angry if I'm telling you wrong things, I'm just supposing, that Mac OS and Unix use the same commands.

What's the result of ls -l /Users/bettaman/Desktop/ | grep aMule.app?

A way to solve this should be chmod 754 /Users/bettaman/Desktop/aMule.app
Title: Re: Problem with starting aMule
Post by: bettix on April 06, 2006, 06:03:21 PM
SORRY I can't understand, whta do i need to do?

bettix
Title: Re: Problem with starting aMule
Post by: wuischke on April 06, 2006, 06:19:26 PM
OK. Open a terminal and try to copy and execute the first italic command.

This way:

Code: [Select]
[adsl-ull-253-252:~] bettaman% ls -l /Users/bettaman/Desktop/ | grep aMule.app
The result should look similar to:
Quote
tux@ubuntu:~$ ls -l /home/tux | grep aMule-2.1.1.tar.bz2
-rw-r--r--   1 tux tux  3263428 2006-03-18 13:41 aMule-2.1.1.tar.bz2

The first thing which I highlighted by writing it in bold letters shows you the permissions for this file.
You see, I have no 'x' there, no one can execute it. You need to allow execution, which can be done with the second command. After doing this it should look like -rwxr-xr--
Title: Still Confusing..help!
Post by: bettix on April 06, 2006, 06:32:06 PM
I don't really understand peer to peer stuff, so please be more clear....what does mean first italic? and what is a terminal, is the terminal i have in utility? I don't know I don't understand, i've tried a few things but it says, that does not match..... strange

PLEASE BE MORE BASIC IN EXPLANING.................I'M GETTING NUTS
Title: Re: Problem with starting aMule
Post by: wuischke on April 06, 2006, 06:53:44 PM
This is italic text. This is bold text. This is underlined text. This is normal text.

Yes, I mean the Terminal you have in Utilies.

And this is not about Peer-to-Peer stuff, these are just some basic things about the backbone of your Operating System.

Could you please post the messages you got about 'does not match'?

And just try to be calm. :) Computers ain't worth any emotions.
Title: i know.....
Post by: bettix on April 07, 2006, 10:09:08 AM
.....what a italic text is but couldn't recognize from the writing you've sent me....
Title: Re: Problem with starting aMule
Post by: thedude0001 on April 07, 2006, 12:24:21 PM
Well, the bold got lost because the tags are ignored inside code tags, I took the liberty to change that to quote ^^
Title: Re: Problem with starting aMule
Post by: bettix on April 07, 2006, 09:48:09 PM
hi wuischke,

are you there? I still have that prob...

Last login: Fri Apr 7 19:56:10 on console
Welcome to Darwin!
[adsl-ull-253-252:~] bettaman% /Users/bettaman/Desktop/aMule.app/
tcsh: /Users/bettaman/Desktop/aMule.app/: Permission denied.
[adsl-ull-253-252:~] bettaman%
Title: Re: Problem with starting aMule
Post by: wuischke on April 07, 2006, 10:16:12 PM
OK. We need to get to know the file's permissions.

One way to find this out is by using the terminal.
Open up a terminal, just like you did it to start amule.
Then type or copy the following in the terminal.
Code: [Select]
ls -l /Users/bettaman/Desktop/ | grep aMule.appTo explain the command:
'ls' lists all files in a directory.
The switch '-l' list further details about the files.
The '|' forwards the output to the next command.
'grep' filters the result, that only lines with 'aMule.app' will be outputted.

Now you should please post the result of this command here.


Maybe there is someone else who knows more about mac, who can post here as well.
Title: Re: Problem with starting aMule
Post by: bongo on April 08, 2006, 12:51:58 PM
i think was bettix tries is to start the application package in the terminal which doesn't work. when i try it here i get also an error (amule.app is a directory). the different error on bettix side is sure a permission thing but to get the cause for the problem not beeing able to start amule with double-click you must ctrl-click in finder (or right-click if you have a 2-btn mouse) your amule on the desktop.
in the popup-menu the is a command like "show package contents". select it an you get a new window with the content of the amule package.
open the folder "contents".
open the folder "MacOS"
there you have the amule application.

now open a terminal window (start application terminal in folder applications/utilities)
now drag the application amule form above in the open terminal window.
you have then something like
Code: [Select]
tcsh: /Users/bettaman/Desktop/aMule.app/Contents/MacOS/amulenow press return.

now either amule will start or you will get an error which could be of some help to find out what's wrong.

(if amule start up normally don't worry if it exits when you close your terminal window, this is normal)
Title: Re: Problem with starting aMule
Post by: bettix on April 08, 2006, 07:38:30 PM
dear Bongo tanx you were really clear....I did all what you've said, but when I open  the popup-menu the  command show package contents I've select and you got the window with the content of the amule package, i've opened the folder
opened the folder "MacOS" but there wasn't the amule application, i had 6 elments, I show it to you: 1- ed2kHelperScript.app, 2-an icon like the one of the terminal, i think is a consol, named amule,and other 3, one is amulecmd, the other is: amuleweb, and: ed2k.....but not amule app. that one is on my desktop... so...i've tried to open the terminal amule finded in the os folder and this is the result, but i don't know if is relevant to do it or not, i'll show it to you anyway:

 Last login: Sat Apr  8 19:25:25 on ttyp1
/Users/bettaman/Desktop/aMule.app/Contents/MacOS/amule; exit
Welcome to Darwin!
[adsl-ull-253-252:~] bettaman% /Users/bettaman/Desktop/aMule.app/Contents/MacOS/amule; exit
Initialising aMule
Checking if there is an instance already running...
There seems to be an instance of aMule already running
If this is not the case, you may have to remove
the file ~/.aMule/muleLock, to allow aMule to run.
Attempting to raise current running instance.
logout
[Processo completato]
Title: Re: Problem with starting aMule
Post by: wuischke on April 08, 2006, 07:59:06 PM
Hello bettix!

Either you did already start aMule and it is running. If this is the case, just close the other running aMule and try it again.
If you are sure, that there is no other aMule running, delete the file ".mulelock" aMule's configuration directory.

regards :)
Title: Re: Problem with starting aMule
Post by: bongo on April 09, 2006, 12:26:34 PM
the amule with the terminal icon is the right on. as wuischke said, there is probably already an amule process running on your machine.
open the process monitor in your utilities folder and you get a list of all running programms. if ther is one called amule select it and end it with the btn in the right corner.
this can happen when amule crashes and the gui disappears but the process itself gets not killed.

then try again the terminal-thing from above to see if there is an error.

if there is no amule in the process listing it's probably th lock file.
so go to ~/library/application support/ where ~ is your home folder.
there you have an folder amule.
now open the terminal enter "cd " and drag the amule folder in the terminal window and press return.

now enter "ls" and you get a listing of the files in the amule folder.
if there is a file "muleLok" (and amule isn't running as checked above) type "rm muleLok" and the try starting amule again.
Title: Re: Problem with starting aMule
Post by: bettix on April 09, 2006, 01:06:36 PM
Amule isn't running from the process....


the terminal I have to drag amule folder is from utility terminal? because in the sistem folder there is a empty folder called terminal....anyway i did it from the usual terminal fro utility...and nothing happen....when u say enter CD you mean type cd? and enter is also?
Title: Re: Problem with starting aMule
Post by: bettix on April 09, 2006, 01:09:14 PM
it says...command not found  ....??

[adsl-ull-253-252:~] bettaman%
[adsl-ull-253-252:~] bettaman% /Users/bettaman/Library/Application\ Support/aMule/
tcsh: /Users/bettaman/Library/Application Support/aMule/: Permission denied.
[adsl-ull-253-252:~] bettaman% cd/Users/bettaman/Library/Application\ Support/aMule/
tcsh: cd/Users/bettaman/Library/Application Support/aMule/: Command not found.
[adsl-ull-253-252:~] bettaman% is
tcsh: is: Command not found.
[adsl-ull-253-252:~] bettaman%
Title: Re: Problem with starting aMule
Post by: bettix on April 09, 2006, 01:09:59 PM
listen....isn't it better if i re-installit it?
Title: Re: Problem with starting aMule
Post by: ken on April 09, 2006, 02:36:51 PM
bettix, probably the simplest solution for you is to just trash the muleLock file  from ~/Library/Application Support/aMule.  You can do this from the Finder -- no need to mess with the Terminal.  That should allow aMule to start.
Title: Should this be in this thread
Post by: VonSmallHousen on May 02, 2006, 12:21:36 PM
I also have a problem with not only starting up. But I kind of traced it (from a user point of view).

I'm running BOINC. I usualy have it to "Run Allways" since it is nicely behaved and backs off the cpu when I nead it for other things.

The only exception is with aMule.

If I have boinc running when I startup aMule, it loads the UI but the system starts spinning the little colored disk and it does'nt load anymore. While in this state of "spinning" if I pause boinc it finishes loading aMule and all is normal.

Second problem.

It is similar to the first and must have to do with the same problem as it affects amule and boinc.
If I have amule running and set boinc to run after a few minutes of inactivity the folowing happens:
as soon as boinc starts crunching aMule let's go of the processor, looses the conection, stops up/downloading.

Is this a bug

running 10.4.6 with amule 2.1.1 and latest boinc
Title: Re: Problem with starting aMule
Post by: ken on May 07, 2006, 07:30:51 AM
When aMule is frozen (giving the spinning rainbow cursor), use Activity Monitor to get a sample of the process and post it here.  Instructions are in this post (http://forum.amule.org/thread.php?postid=54452#post54452).
Title: This is the sample
Post by: VonSmallHousen on May 10, 2006, 07:59:04 PM
When I open amule with boinc set to run allways

More info:

with boinc set to run allways, I do the folowing
double click amule.app to open it
amule opens , loads the gui and stops responding
if I pause boinc amule continues to run normaly.
if I unpause boinc (make it crunch numbers) amule stops responding again.
Title: Re: Problem with starting aMule
Post by: ken on May 14, 2006, 08:52:24 AM
This seems to be a problem with aMule's internal timer events.  It's similar to that reported by another user on another thread, and to lionel77's reports of aMule chewing 100% cpu sometimes.  I don't know if it's been fixed in recent code and all that's needed is a new Mac binary, or if it's still unfixed.  Unfortunately, I don't have time to get into it myself.  :(

For the time being, I would recommend that you keep BOINC paused or disabled while you run aMule.

Thanks for the report.
Title: Re: Problem with starting aMule
Post by: benjaprud on June 27, 2006, 03:14:15 AM
I got the same problem described on the first post... aMule is very very slow... I tried to delete the /Library/Application Support/aMule directory but it doesn't change anything... I posted that (http://forum.amule.org/thread.php?threadid=10449&sid=) before I found the Mac section of the forum... The problem appears with both 2.1.0 and 2.1.3 since the first time I tried aMule... I don't use boinc and aMule uses about 2-3% of CPU time, but it remains frozen with the spinning wheel...
Title: Re: Problem with starting aMule
Post by: benjaprud on June 27, 2006, 08:18:43 PM
So, as you can read in the other thread (sorry guys for multipost) the problem is that aMule cannot work properly while another program like Seti@home or dnetc (the one i'm using) is working... Is there a way to make them work together ?
Title: Same Trouble
Post by: dr.ananas on August 10, 2006, 04:31:50 PM
@craze:
hi i have the same problem. in your second post what did u mean by "restore the temp"? did u erase the amule temp folder? if i do this then all download parts will be deleted. or did u mean changing the temp folder in the properties? this is impossible because my properties window doesnt open. every time i try to enter the properties amule crashes/laggs.
u said that u found a thread which describes everything i need to know, which thread is it?
what did u type in the search field?
i hope somebody got the answers for this trouble, otherwise i have to make another thread focusing this problem.
greets