aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: amule web server does not work !!!  (Read 9748 times)

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
amule web server does not work !!!
« on: April 02, 2004, 01:03:27 AM »

aMule web server is a little dif than the emule, right? I cannot understand how it works. In the Remote connections I can see 2 options. The first one has the port 4711 (as emule) and the second one has the 4712.

What is the 4712? Anyway if i activate the second one and browse to that port, i get the error: ­ÞíþAccess Deniedíþ­Þ

The 4711 is unrecheable... Im getting mad.

Can anybody to explain all the options in the "Remote connections"? Pls

 X(
« Last Edit: April 02, 2004, 06:28:33 AM by kherio »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amule web server does not work !!!
« Reply #1 on: April 02, 2004, 06:46:52 AM »

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #2 on: April 02, 2004, 07:07:37 AM »

yes i have already check it but what i dont see is the "~/eMule" file.... and i don't know where is it.
You say "edit your "~/.eMule" file" but i have no emule file....  ?(

These are my files in the aMule folder:

> dir
Incoming       clients.met.BAK   lastversion        server.met
Temp          cryptkey.dat   logfile           server_met.old
aMule.tmpl     emfriends.met   muleconn        shareddir.dat
addresses.dat  known.met   preferences.dat      temp-1950159646-server.met     clients.met    l_cancel.gif   preferences.ini.old  
webserver
« Last Edit: April 02, 2004, 07:10:26 AM by kherio »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amule web server does not work !!!
« Reply #3 on: April 02, 2004, 07:15:51 AM »

sure u have one .. /home/user/.eMule ;)

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #4 on: April 02, 2004, 08:03:54 AM »

ummm... I'm afraid not....  :(

I installed the aMule as root so i only have the root/.aMule folder.
is it correct or im little mad?
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: amule web server does not work !!!
« Reply #5 on: April 02, 2004, 08:54:08 AM »

Hi,

start aMule as user to create .eMule file in /home/user

Note the "." before eMule as it is an HIDDEN file: ls -a .eMule to list it. it is a file, not a dir like .aMule

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: amule web server does not work !!!
« Reply #6 on: April 02, 2004, 01:54:01 PM »

kherio,
I've been doing some test this evening after reading your post. It has nothing to do with being super-user or not. The problem is (ir that's what it seems to me) that you had already an ~/.aMule directory created, but no ~/.eMule file. When aMule sees there's an ~/.aMule directory, ti doesn't check for an ~/.eMule file. I've already added that to the Known Bugs list.
You can walkaround it by renameing your ~/.aMule file, opening aMule (now an ~.eMule file will be created), cloeseing aMule, removeing your new ~/.aMule directory and renameing yor old ~/.aMule directory back into it's original name (that is, ~/.aMule ;-) )
So, just type:

#!/bin/sh
mv ~/.aMule ~/.aTemp
amule
# (Wait for amule to be loaded and then close it as normally)
rm -r ~/.aMule
mv ~/.aTemp ~/.aTemp

I hope that helped. Please keep informing so that we can make aMule v2.0.0 a bug-free release ;-)

Greetings and thanx!
Logged

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #7 on: April 03, 2004, 06:33:44 AM »

ok i will try it but what i cannot understand (sorry if im a little sort  :] ) is what you call ".eMule" file....  You mean the folder or....

I will supose myself it's the folder and i will rename it. I will post the results...
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: amule web server does not work !!!
« Reply #8 on: April 03, 2004, 06:50:02 AM »

aMule creates an .aMule folder and an .eMule file, both on the home directory.
If you already have the .aMule folfer, aMule (bug) doesn't chek fi the .eMule file exists.
Just try doing what I posted before and tell us your experience ;-)

Thanx again and greetings!
Logged

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #9 on: April 06, 2004, 09:33:06 PM »

I have done what you said and now I have the .emule file ;)
anyway i cannot use the webserver.
the 4712 port is accesed denied and the 4711 is unreachable...
here is my .emule file

................
[WebServer]
Password=066184190cc8abcdaabf053a8c7068e2
PasswordLow=
Port=4711
Enabled=1
UseGzip=1
PageRefreshTime=120
UseLowRightsUser=0
DontCompressAvi=0
.............
[ExternalConnect]
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712
ECPassword=066184190cc8abcdaabf053a8c7068e2
DlgTabsOnTop=0
IpFilterOn=1
UseSrcSeeds=0
ShowProgressBar=1
ShowPercent=0
ExtractMetaDataTags=0
UseSecIdent=1

anything else?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule web server does not work !!!
« Reply #10 on: April 07, 2004, 10:43:48 AM »

hey kherio

well aslong your amuleweb does not accept your connection the port 4711 will always be not reachable.
       which version of amule are you using?
       does amulecmd work??

steafnero
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."

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #11 on: April 08, 2004, 05:01:30 PM »

Hi Stef,

I've run the emulecmd remotely and this is what i get:

> amulecmd
Enter password for mule connection (return if no pass defined):
This is amulecmd (TextClient)


Creating client...
Now, doing connection....
Using host localhost.localdomain port 4712
ExternalConn: Access Denied.


In the iptables I have opened already the port 4711 so i don't know where is the problem...... ?(
Logged

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #12 on: April 08, 2004, 05:03:38 PM »

If i try to run the amuleweb....  (remotely with Webmin):


> amuleweb
Enter password for mule connection (return if no pass defined):
This is amuleweb (WebInterface)


Creating client...
Now doing connection...
Using host localhost.localdomain port 4712

Trying to connect (timeout = 10 sec) ...
ExternalConn: Access Denied.


Any other trial?
Logged

kherio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: amule web server does not work !!!
« Reply #13 on: April 08, 2004, 05:30:19 PM »

even if i stop the iptables firewall it denies me....
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule web server does not work !!!
« Reply #14 on: April 08, 2004, 05:30:20 PM »

hey

well for external connecitons you have to open up port 4712 aswell....

since its sais external connections denied it can't connect to amule and that would be the first step ;)

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."
Pages: [1] 2