aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMuleweb in aMule 2.2.2 does not work for me  (Read 1973 times)

java8964

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
aMuleweb in aMule 2.2.2 does not work for me
« on: December 02, 2008, 12:22:02 AM »

Hi,

I original used the aMule cvs version. I am not sure which version it is, but it works for me. Today, I tried to give aMule 2.2.2 a try, but the amuleweb does not work for me. Here is what did:
1) My original amule installed on /apps/aMule. I stop the amule daemon and amule web.
    mv /apps/aMule to /apps/aMule_old
    mv $HOME/.aMule to $HOME/.aMule_old
2) Download the aMule 2.2.2 source
3) configure the source as the following command:
./configure --prefix=/apps/aMule --enable-webserver --enable-amule-gui --enable-amule-daemon --enable-amulecmd --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-optimize
4) Make, make install, everything works fine. I get the aMule 2.2.2 binary under /apps/aMule
ls /apps/aMule/bin
alc  alcc  amule  amulecmd  amuled  amulegui  amuleweb  autostart-xas  cas  ed2k  wxcas

5) Following this link to genreate $HOME/.aMule folder:
http://www.amule.org/wiki/index.php/HowTo_get_aMule_web_interface#Configuration_of_the_aMule-daemon
6) Modify the $HOME/.aMule/amule.conf and modify the following 2 places:
AcceptExternalConnections=1
ECPassword=xxxxxxxx
7) start the aMule daemon:
casey@moon:/apps/aMule/bin> ./amuled &
[1] 31931
casey@moon:/apps/aMule/bin> amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
ListenSocket: Ok.
Loading temp files from /export/home/casey/.aMule/Temp.

All PartFiles Loaded.
No shareable files found in directory: /export/home/casey/.aMule/Incoming
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended

8) start the aMuleweb
casey@moon:/apps/aMule/bin> ./amuleweb
This is amuleweb 2.2.2

Creating client...
Succeeded! Connection established to aMule 2.2.2

--------------------------------------
|          aMule Web Server          |
--------------------------------------

Use 'Help' for command list


9) On another console, check the process id of amule:
moon: # ps -ef | grep amule
casey    32070 31743  0 18:16 pts/1    00:00:00 ./amuled
casey    32079 31743  1 18:16 pts/1    00:00:00 ./amuleweb
root     32082 30147  0 18:16 pts/0    00:00:00 grep amule

10) Try to connect amule web interface
http://localhost:4711/

give me back a Page load error

11) Check the port
moon: # netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:nfsd                  *:*                     LISTEN
tcp        0      0 *:39238                 *:*                     LISTEN
tcp        0      0 *:4712                  *:*                     LISTEN
tcp        0      0 *:49225                 *:*                     LISTEN
tcp        0      0 *:5801                  *:*                     LISTEN
tcp        0      0 *:netbios-ssn           *:*                     LISTEN
tcp        0      0 *:49292                 *:*                     LISTEN
tcp        0      0 *:5901                  *:*                     LISTEN
tcp        0      0 *:38735                 *:*                     LISTEN
tcp        0      0 *:sunrpc                *:*                     LISTEN
tcp        0      0 *:49267                 *:*                     LISTEN
tcp        0      0 *:33364                 *:*                     LISTEN
tcp        0      0 *:oms                   *:*                     LISTEN
tcp        0      0 *:49238                 *:*                     LISTEN
tcp        0      0 localhost:ipp           *:*                     LISTEN
tcp        0      0 localhost:smtp          *:*                     LISTEN
tcp        0      0 localhost:6010          *:*                     LISTEN
tcp        0      0 *:microsoft-ds          *:*                     LISTEN
tcp        0      0 *:49214                 *:*                     LISTEN
tcp        0      0 *:urm                   *:*                     LISTEN
tcp        0      0 *:65535                 *:*                     LISTEN

Port 4711 is not occupied by any process. Only 4712 is good

12) Find some info about copy skins for webserver
cp -R /apps/aMule/share/amule/webserver/default $HOME/.aMule/webserver/

13) Restart amuled and amuleweb, still, nothing in http://localhost:4711/

Why?

Thanks for your help
Logged

java8964

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: aMuleweb in aMule 2.2.2 does not work for me
« Reply #1 on: December 02, 2008, 04:25:57 AM »

I solved this problem.

Somehow, in the aMule 2.2.2, when you start the emuleweb command, you HAVE to pass the server port in the parameter like this:

amuleweb -s=4711

If you remove the -s=4711, the amuleweb won't take the port 4711, and you won't see the web interface. This is not the case in the pre-2.2.2 release.  I have to start the amuleweb  with -s=4711. The default port 4711 does not work for me.

Logged