aMule Forum

English => aMule Help => Topic started by: kherio on April 02, 2004, 01:03:27 AM

Title: amule web server does not work !!!
Post by: kherio 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(
Title: Re: amule web server does not work !!!
Post by: deltaHF on April 02, 2004, 06:46:52 AM
look here plz http://www.amule.org/amule/thread.php?threadid=678&sid=

greets
Title: Re: amule web server does not work !!!
Post by: kherio 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
Title: Re: amule web server does not work !!!
Post by: deltaHF on April 02, 2004, 07:15:51 AM
sure u have one .. /home/user/.eMule ;)
Title: Re: amule web server does not work !!!
Post by: kherio 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?
Title: Re: amule web server does not work !!!
Post by: thepolish 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
Title: Re: amule web server does not work !!!
Post by: Jacobo221 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!
Title: Re: amule web server does not work !!!
Post by: kherio 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...
Title: Re: amule web server does not work !!!
Post by: Jacobo221 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!
Title: Re: amule web server does not work !!!
Post by: kherio 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?
Title: Re: amule web server does not work !!!
Post by: stefanero 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
Title: Re: amule web server does not work !!!
Post by: kherio 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...... ?(
Title: Re: amule web server does not work !!!
Post by: kherio 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?
Title: Re: amule web server does not work !!!
Post by: kherio on April 08, 2004, 05:30:19 PM
even if i stop the iptables firewall it denies me....
Title: Re: amule web server does not work !!!
Post by: stefanero 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
Title: Re: amule web server does not work !!!
Post by: kherio on April 08, 2004, 05:39:39 PM
the iptables is stopped so all ports are open.... (including the 4712)   :)

There is any other way to open the ports???? ?(
Title: Re: amule web server does not work !!!
Post by: stefanero on April 08, 2004, 05:49:16 PM
that means it working now??!

and yes there is probably a way --> google iptables

you just need to open up 4712 and if you want teh webserver 4711,
did you not have to open up some ports for amule aswell?! same thing here...

stefanero
Title: Re: amule web server does not work !!!
Post by: kherio on April 08, 2004, 05:55:50 PM
no, it doesnt work.....

I know there is a great google but now the iptables is stopped, so there is no closed ports. All are open.
Title: Re: amule web server does not work !!!
Post by: stefanero on April 08, 2004, 06:03:44 PM
ähhmm

did you enable TCP ports in .eMule file??!?!
thats the setting it should ahve....

[ExternalConnect]  
AcceptExternalConnections=1
ECUseTCPPort=1

when oyu have to change that make sure amule is shut down while you change it....

also you shoudl be able to make a telnet conneciton to that port...
does it work localy?!
are you trying to make the connciotn to that port over the lan?! or locally?
Title: Re: amule web server does not work !!!
Post by: stefanero on April 08, 2004, 06:30:03 PM
hey

check also that you are allowed to make connecitons to your localhost...
sometimes this is disabled and we could try for hours here...

stefanero
Title: Re: amule web server does not work !!!
Post by: kherio on April 08, 2004, 06:56:42 PM
i also have a web server, a mail server.... (i think it doesn't matter...)

Anyway all the trials are made from the webmin. Im not locally, but when i tried localhost:4712 it gave me the same error (access denied). I really don't know where is the problem really....

im working on a software company in spain and we go through a proxy server but i have already check with the typical modem (56k i think) and i get the same results (fyi)

If you want i send you my IP and i give you full access with the webmin... hehehe
Title: Re: amule web server does not work !!!
Post by: Kry on April 08, 2004, 07:25:07 PM
You work on a sft company in spain? you can tell them I'm looking for a job! lol


Mucho español por aqui ultimamente XD
Title: Re: amule web server does not work !!!
Post by: kherio on April 08, 2004, 08:45:13 PM
ok so send me you CV and i will try here..... hehehe  :P

there is any other solution or must i give up and abandon the amule forever?  :(

I dont know what else to try..... im lost. I have check everything many many many many times and i dont have a clue where is the problem.... maybe it's me? hehe
Title: Re: amule web server does not work !!!
Post by: Kry on April 08, 2004, 09:48:58 PM
join irc, #amule, freenode. and try to catch me (for the webserver stuff)