aMule Forum

English => aMule Help => Topic started by: thedogsbollock on September 10, 2005, 06:02:55 AM

Title: aMule webserver
Post by: thedogsbollock on September 10, 2005, 06:02:55 AM
Hi folks

I am running aMule 2.0 on my Apple iBook (OS X 10.4.2) - I tried the CVS version out of interest but it appears to quit immediately when I start it up - and now I have just adjusted the preferences in an effort to run the webserver.

When using MLDonkey previously, I found it easier operating it from within my browser (Safari) but I believe I've adjusted the aMule preferences as per the instructions and no matter whether I try with Safari or IE, I cannot seem to load the page http://localhost:4711/ (or 4712)

Any advice would be most appreciated, but please bear in mind that it would be best to make like you are advising an eight year old, as otherwise I am likely to struggle to understand

With my utmost thanks in advance for any assistance you can lend
Big Love
Bernard
Title: Re: aMule webserver
Post by: wuischke on September 10, 2005, 09:05:55 AM
Hi Bernard!
I don't know about Mac-specific problems, but at least at Linux the newest CVS run very well. If you compile 'em for yourself, try to compile a new one. I just compiled todays CVS (20050910) and it works like a charm, compiled with kad and webserver.
If you don't want to compile I would propose to use 2.0.3.
Regarding your settings, this should be all necessary things. (Don't forget the pw's)
Code: [Select]
[ExternalConnect]
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712
[WebServer]
Enabled=1
Port=4711
On startup there should be sth. like
Code: [Select]
*** TCP socket (ECServer) listening on 0.0.0.0:4712
...
webserver running on pid 10168
...
New external connection accepted
Connecting client: aMuleweb CVS
Access granted.
in the log in the server tab. If this works you should be able to connect through safari.
Title: Re: aMule webserver
Post by: stefanero on September 10, 2005, 10:23:59 AM
btw amuleweb is a seperated app on Mac and Linux, so its not like mldonkey which fires up the webserver at start for default

but you can set this in preferences to.
just make sure that the amuleweb binary is in path.
Title: Very much appreciate your help guys
Post by: thedogsbollock on September 10, 2005, 11:33:29 AM
..but sorry to say wuischke that the reason I became a Mac user in the first place is because it's so idiot proof. I am afraid I haven't the foggiest whenn it comes to issuing commands as you've very kindly gone to the trouble of detailing

Stefanero, after setting the prefs in aMule app (I got CVS to work by trashing the hidden ".amule" folder from the previous version, which was quite impressive for me :-) to "run aMuleweb on startup" I am hoping that the reasonit won't work if I go to localhost:4711 with my browser is because I must be missing something, like the nesessary binaries?

If it's not too much trouble do you think you could point me in the right direction, as I haven't got the foggiest when presented with a list of downloads, which ones might be most suitable for my purpose

Sorry to be such a pest and many thanks for your continued patience with this techno nincompoop
TTFN
Bernard
Title: Re: aMule webserver
Post by: stefanero on September 10, 2005, 12:15:56 PM
heh no problem ;)
but 1st could you please stop opening up 2-3threads for teh same problem :)

the .zip file you download which contained the amule app, look inside and check if there is a binary called amuleweb, if yes

open a terminal!! and goto the path where this amuleweb binary is
then simple start aMule and type in teh terminal
./amuleweb

this should startup amuleweb for ya
I hope you read http://www.amule.org/wiki/index.php/Webserver for setup
basically you can do all with the amulegui under -> preferences -> remote-control

make sure everything is setup right then amuleweb should work for ya.

btw: if you want automatically startup to work, check that the path where teh amuleweb binary is, is in your terminal path
you can check taht by typing
amuleweb
 instead of
 ./amuleweb
when you are inside teh folder where teh amuleweb binary is

if you get an error with simple
amuleweb
then the automatically startup will not work. I dont have a mac, so if you want this to get working maybe join IRC freenode network and go to #macmule

hope that helps and was not to confusing ;)
stefanero
Title: Re: aMule webserver
Post by: stefanero on September 10, 2005, 12:20:00 PM
maybe some helpfull links:

http://forum.amule.org/thread.php?threadid=7017

http://forum.amule.org/thread.php?threadid=6516

http://forum.amule.org/thread.php?postid=32589

the last two are probaly the best
Title: Re: aMule webserver
Post by: ken on September 11, 2005, 06:41:35 AM
Well, stefanero is well-meaning, but almost all of his advice is wrong.  :P ;)  The threads he linked to are either out of date or not necessary for normal operation of amuleweb on the Mac.

Except that part about not posting the same question 3 times across the forum.  I agree with him: please don't do that.

To get the webserver working on the Mac:

That should do the job.  If it still doesn't work, then we'll need to see more information to figure out what is going wrong.  You should copy the log from aMule's Servers List Window and paste it to a post here.  Also, open /Applications/Utilities/Console.app to view the console.log.  Copy the stuff from the end, starting with "Initialising aMule", and paste it here, too.
Title: Re: aMule webserver
Post by: stefanero on September 11, 2005, 12:56:25 PM
:P how am I supposed to know that they are out of date  :]

ken: maybe you should add a little section in teh amuleweb wiki about mac ;)