aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: cannot get amuleweb working  (Read 3323 times)

reddragon72

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
cannot get amuleweb working
« on: November 28, 2004, 07:01:58 AM »

I have been thru the fact/setup/everything else. I am running Fedora Core 3 and have loaded, via apt, amule rc7. I have been forth and back several hundred times trying to get the web stuff to sork and no go. I see that there are two ports listed so when trying both I get connection refused for the webserver port 4711 and when trying the tcp prt 4712 I get a dialog box wanting me to download a bin file. Please help I'm at wits end on this. thanks.
Logged
Linux user # 370497

Toshiba laptop running XP  ;(
Desktop(home built) running FC3


Don't ask and I wont answer.

snac

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: cannot get amuleweb working
« Reply #1 on: November 28, 2004, 09:38:59 AM »

check if you have a system with wxWidgets installed twice, run:

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*

if no, you install it

Faq su amuleweb is a
http://www.amule.org/wiki/index.php/Webserver
« Last Edit: November 28, 2004, 09:40:59 AM by snac »
Logged
Desktop:: AMD Barton 2600 + ArchLinux Heavy Modded + KDE 3.4.1 + aMule 2.0.3
Portable:: Ibook G4 - 1,25Ghz - OSX 10.3.9
Linux User Nr.372724

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: cannot get amuleweb working
« Reply #2 on: November 28, 2004, 12:46:56 PM »

reddragon72, check if you have the amuleweb binary, and if you do, you have to start it like amuleweb -f
If you don't have, then you have to get the sources and compile for yourself.
You should configure something like ./configure --enable-optimize --disable-debug --enable-webserver

On TCP port 4712 is amule(d) listening for external connections. amuleweb and amulecmd use this port to connect to the core.

On TCP port 4711 is amuleweb listening for browser connections (after you have started it and successfully connected to core), so you should point your browser to http://127.0.0.1:4711/. Unfortunately webserver doesn't work over LAN/MAN/WAN/etc., so you must run amuleweb on the same machine where your browser is. It is not a problem if amule and amuleweb are on different machines, only browser connection is affected by this bug. Sorry for the inconvenience it may have caused. lol
Logged
concordia cum veritate

reddragon72

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: cannot get amuleweb working
« Reply #3 on: November 29, 2004, 03:56:05 PM »

Ok first, I do not have the amuleweb binary. I did a search and nothing but the amule binary came up, then I looked around for the widgits and I have those. It looks as tho the freshrpm amule does not have all the extras loaded with it, so i'll unistall it and download and install from source according to amules site for FC3.

Now part two, you said that webserver(is this seperate from amuleweb?) does not work over a lan. I have a XP laptop and my main desktop. My desktop run FC3 and amule. What I want to do is control amule from my laptop. I have emule running on my laptop(for testing) and emuleweb works great from both PC's so i know that each PC can see each other(I have yet been able to get file/printer sharing working yet,but it's a linux issue right now) So am i going to be able to control amule from my laptop? I don't want to control it from outside my network, so I'll keep that port closed on the router. if this is an issue then I'll have to find a way to get emule running on Linux.


thanks for the help guy's, I'll let you know after I compile this bad boy from scratch.
« Last Edit: November 29, 2004, 03:57:00 PM by reddragon72 »
Logged
Linux user # 370497

Toshiba laptop running XP  ;(
Desktop(home built) running FC3


Don't ask and I wont answer.

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: cannot get amuleweb working
« Reply #4 on: November 30, 2004, 09:04:30 AM »

hey

well one thing is that I dont remember exactly when amuleweb/webserver for amule got brocken...so it could be brocken already in rc7 but it does not have to!
in current cvs it is defintly brocken over lan.

but one thing I know for sure is that it works fine in rc6!! so if you get teh webserver only working from localhost with rc7 then try with rc6 this should definelty work! :)
sorry for the trouble we are trying to find the problem.

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lfroen

  • Guest
Re: cannot get amuleweb working
« Reply #5 on: November 30, 2004, 09:21:33 AM »

Clarification: amuleweb is not broken in any way. Using it on localhost must work fine. If someone thinks differently pls notify me. And of course tell me what exactly broken (no LAN issues pls)

Regarding LAN: I'm still checking trace stefanero sent me. In this trace for some reason amuleweb doesn't return images to browser, but resetting connection instead. No conclusion yet.

BTW: I suspect it never really worked, since there was no change in amuleweb socket code - only in html generation.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: cannot get amuleweb working
« Reply #6 on: November 30, 2004, 09:31:53 AM »

well lfroen when I try rc6 amule with rc6 amuleweb I have no lan issues at all ;)

so soemthing changed here...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lfroen

  • Guest
Re: cannot get amuleweb working
« Reply #7 on: November 30, 2004, 11:48:07 AM »

Quote
well lfroen when I try rc6 amule with rc6 amuleweb I have no lan issues at all

Oh, that is really interesting: same wx, same options - but rc6 works while cvs not. Do I understand you correctly ?
Logged

reddragon72

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: cannot get amuleweb working
« Reply #8 on: December 01, 2004, 07:20:32 PM »

Ok well I have not had a chance to install from scratch yet, but the way you guys are talking has me cornfused. Should I scratch rc6 or 7? I need this to work from both another PC on my lan and from the internet. I am really setting up my PC at home to allow me to remotely do allot of things I cannot do from work. Plus it is a nice perk while on vacation. Heck I'm even getting a backup power pack for the thing so it wont go down. I'm also going to be running and FTP server and a web server. Now if I could just figure out how to get my news reader to do remote(I don't have a good reader yet so suggestions are welcome).  I will be adding another PC to my network that is a an older model and I will be running all this from there, so I can still have my desktop for gaming and my laptop for remote cntrl/browsing/playing music/ other things. I'm even starting on my Tivo, so I can get the web server on it running so I can check/change my schedual remotely. I'm all about connectivity. Oh I am rambling anyways which will work, I hate to go through this twice.   :D
Logged
Linux user # 370497

Toshiba laptop running XP  ;(
Desktop(home built) running FC3


Don't ask and I wont answer.