aMule Forum

English => en_Bugs => Topic started by: IWantMyMule on January 05, 2006, 07:26:50 PM

Title: Can't connect to amuled
Post by: IWantMyMule on January 05, 2006, 07:26:50 PM
Hi,

I can't connect amulecmd to amuled running on the same machine. amulecmd always says "Creating client..." (but doesn't create anything) and at the same time, amuled says "CECSocket error: Invalid socket (uninitialized)"

What can I do?
Title: Re: Can't connect to amuled
Post by: stefanero on January 05, 2006, 07:28:59 PM
can you post teh console logout when amuleD starts?
Title: Re: Can't connect to amuled
Post by: IWantMyMule on January 06, 2006, 12:51:45 PM
Here it is:

Code: [Select]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/muleuser/.aMule/Temp.
Loading PartFile 50 of 50
All PartFiles Loaded.
ListenSocket: Could not listen to TCP port.
*** TCP socket (ECServer) listening on 0.0.0.0:[...]
*** Server UDP socket (TCP+3) at 0.0.0.0:[...]
*** TCP socket (TCP) listening on 0.0.0.0:[...]
Port [...] is not available. You will be LOWID
*** Client UDP socket (extended eMule) at 0.0.0.0:[...]
Adding file /home/muleuser/.aMule/Temp/004.part.met to shares
Adding file /home/muleuser/.aMule/Temp/036.part.met to shares
Adding file /home/muleuser/.aMule/Temp/039.part.met to shares
Adding file /home/muleuser/.aMule/Temp/047.part.met to shares
Adding file /home/muleuser/.aMule/Temp/051.part.met to shares
Adding file /home/muleuser/.aMule/Temp/052.part.met to shares
Adding file /home/muleuser/.aMule/Temp/053.part.met to shares
Adding file /home/muleuser/.aMule/Temp/061.part.met to shares
Adding file /home/muleuser/.aMule/Temp/063.part.met to shares
Adding file /home/muleuser/.aMule/Temp/005.part.met to shares
Adding file /home/muleuser/.aMule/Temp/008.part.met to shares
Adding file /home/muleuser/.aMule/Temp/012.part.met to shares
Adding file /home/muleuser/.aMule/Temp/013.part.met to shares
Adding file /home/muleuser/.aMule/Temp/014.part.met to shares
Adding file /home/muleuser/.aMule/Temp/015.part.met to shares
Adding file /home/muleuser/.aMule/Temp/016.part.met to shares
Adding file /home/muleuser/.aMule/Temp/020.part.met to shares
Adding file /home/muleuser/.aMule/Temp/022.part.met to shares
Adding file /home/muleuser/.aMule/Temp/028.part.met to shares
Empty dir [...] shared
Empty dir [...] shared
Empty dir [...] shared
Empty dir [...] shared

CECSocket error: Invalid socket (uninitialized)

The CECSocket error appeared after I tried to connect with amulecmd. [...] means informations removed for anonymity reasons.

Any idea what the problem could be?
Title: Re: Can't connect to amuled
Post by: lfroen on January 06, 2006, 01:08:49 PM
Please post your network setup and console output of amulecmd.
Title: Re: Can't connect to amuled
Post by: stefanero on January 06, 2006, 05:03:46 PM
oh yeah the ports you run amuled on make it really unanynomous lol
Title: Re: Can't connect to amuled
Post by: IWantMyMule on January 07, 2006, 03:35:19 AM
Of course they do. Maybe I'm the only person in the world running amule on these ports. 8) Well, maybe not. :D

I connect to the internet via pppoe, the computer that runs amule is directly connected to the modem. So the device in question is ppp0.

Console output of amulecmd:
Code: [Select]
This is amulecmd 2.1.0
Enter password for mule connection:

Creating client...
Doesn't seem very helpful to me... :D

Any ideas...?  :baby:
Title: Re: Can't connect to amuled
Post by: IWantMyMule on January 10, 2006, 11:49:08 AM
Nobody got an idea...?  8o ;(
Title: Re: Can't connect to amuled
Post by: stefanero on January 10, 2006, 01:40:00 PM
post your amule.conf and remote.conf plz
Title: Re: Can't connect to amuled
Post by: nibel on January 23, 2006, 01:47:47 AM
i've got exactly the same problem my
 
EC part in amule.conf:
Code: [Select]
[ExternalConnect]
AcceptExternalConnections=1
ECAddress=
ECPort=4712
ECPassword=******
ShowProgressBar=1
ShowPercent=0
UseSrcSeeds=0
UseSecIdent=1
IpFilterOn=1
Title: Re: Can't connect to amuled
Post by: stefanero on January 23, 2006, 08:52:44 AM
and what does amuleweb show on console?
Title: Re: Can't connect to amuled
Post by: nibel on January 23, 2006, 07:00:43 PM
Everything's the same in stdout of the amuleweb and amulecmd you can read "creating client" but nothing's happen and in amuled appears "CECSocket error: Invalid socket (uninitialized)"

My system is Debian sarge on both machines. I use the .deb release from this forum.
Title: Re: Can't connect to amuled
Post by: TheOnlyFish on February 01, 2006, 04:01:01 PM
Hi,

I try to run amule 2.1.0 on Suse 8.2 using the rpm's. I get exactly the same error from amuled when connectiong via amuleweb or amulecmd:

CECSocket error: Invalid socket (uninitialized)

amuled says:

amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/jh/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/jh/.aMule/Incoming shared
CECSocket error: Invalid socket (uninitialized)

amuleweb says
- loading the template
- This amuleweb 2.1.0
- Creating Client...
and hangs

Is there any chance to get the webserver running?
Title: Re: Can't connect to amuled
Post by: stefanero on February 01, 2006, 05:15:31 PM
could this be the socket is maybe blocked by some other apps?

check with

netstat -ntlp
Title: Re: Can't connect to amuled
Post by: TheOnlyFish on February 02, 2006, 08:10:57 AM
Quote
could this be the socket is maybe blocked by some other apps?
I don't know, what kind of socket this is (CECSocket).

The typical used ports are not used by other apps.

netstat before start of amuled:
Code: [Select]
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      931/
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      1061/xinetd
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      705/perl
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      623/
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      690/cupsd
tcp        0      0 0.0.0.0:1241            0.0.0.0:*               LISTEN      1837/nessusd: waiti
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      931/
tcp        0      0 :::22                   :::*                    LISTEN      740/sshd
netstat after start of amuled:
Code: [Select]
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:4712            0.0.0.0:*               LISTEN      19411/amuled
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:4662            0.0.0.0:*               LISTEN      19411/amuled
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:1241            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -
tcp        0      0 :::22                   :::*                    LISTEN      -
Title: Re: Can't connect to amuled
Post by: stefanero on February 02, 2006, 09:03:13 AM
can you telnet to the port

telnet localhost 4712
Title: Re: Can't connect to amuled
Post by: TheOnlyFish on February 02, 2006, 09:51:26 AM
Seems to connect...:

Code: [Select]
jh@stargate:~> telnet localhost 4712
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

PS. Ich hoffe, mein Englisch ist verständlich, quäl mir ziemlich einen ab.
Title: Re: Can't connect to amuled
Post by: stefanero on February 02, 2006, 10:59:07 AM
yo english is ok ;) dont worry

well it seams to connect so it has to be a problem with amuleweb,
do you have a remote.conf file or not?
Title: Re: Can't connect to amuled
Post by: TheOnlyFish on February 02, 2006, 11:11:39 AM
Here comes the remote.conf:

Quote
Locale=
[EC]
Host=localhost
Port=4712
Password=XXXXXXXXXXXXXXXXXXXXX
[Webserver]
Port=4711
Template=php-default
UseGzip=0
AllowGuest=0
AdminPassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
GuestPassword=
Title: Re: Can't connect to amuled
Post by: TheOnlyFish on February 02, 2006, 11:53:01 AM
I solved my problem. Reason (from logfile):

Code: [Select]
2006-02-02 11:36:50: Neue externe Verbindung akzeptiert
2006-02-02 11:36:50: Verbinde zu Client: aMuleweb 2.1.0
2006-02-02 11:36:50: EC Auth failed: (XXXX != YYY).
2006-02-02 11:36:50: Authentifizierung fehlgeschlagen.
2006-02-02 11:36:50: Unautorisierter Verbindungsversuch. Verbindung getrennt.

In english, there were different passwords in amule.conf and remote.conf

Sorry, this log entry wasnt there at yesterday (had another problem with two instances of amuled).

amuleweb is now running!
Title: Re: Can't connect to amuled
Post by: stefanero on February 02, 2006, 12:08:35 PM
puh

I was just running out of idears ! :)) have fun
Title: Re: Can't connect to amuled
Post by: thedavis on February 25, 2006, 04:12:52 PM
My problem :S

amule@IRIA:~/amule$ ./bin/amuleweb
This is amuleweb 2.1.0

Creating client...
CECSocket error: The timeout for this operation expired
CECSocket error: The timeout for this operation expired
Connection Failed. Unable to connect to the specified host
amule@IRIA:~/amule$
Title: Re: Can't connect to amuled
Post by: stefanero on February 25, 2006, 08:01:46 PM
well as always

post amule.conf and remote.conf
Title: Re: Can't connect to amuled
Post by: Atlan on March 09, 2006, 06:47:43 PM
Quote
Originally posted by TheOnlyFish
I solved my problem. Reason (from logfile):

Code: [Select]
2006-02-02 11:36:50: Neue externe Verbindung akzeptiert
2006-02-02 11:36:50: Verbinde zu Client: aMuleweb 2.1.0
2006-02-02 11:36:50: EC Auth failed: (XXXX != YYY).
2006-02-02 11:36:50: Authentifizierung fehlgeschlagen.
2006-02-02 11:36:50: Unautorisierter Verbindungsversuch. Verbindung getrennt.

In english, there were different passwords in amule.conf and remote.conf

Sorry, this log entry wasnt there at yesterday (had another problem with two instances of amuled).

amuleweb is now running!



Hi Guys,

I am having the same problem. I cannot connect either using amulegui or amuleweb. Both generate the same logfile entry as above. As well amuled is giving "CECSocket error: Invalid socket (uninitialized)".
When i change the password in amule.conf, i can see that the hash changes in the logfile. This is as well for the hash that is given for the pw that i enter in the login window from amulegui. The problem is that the hashes are always different.

Do you have an idea what the problem could be?

Greetings

atlan


p.s. here an excerpt of my amule.conf (remote.conf does not exist)
[ExternalConnect]
AcceptExternalConnections=1
ECAddress=
ECPort=4712
ECPassword=4
ShowProgressBar=1
ShowPercent=0
UseSrcSeeds=0
UseSecIdent=1
IpFilterOn=1
Title: Re: Can't connect to amuled
Post by: lfroen on March 11, 2006, 07:47:01 AM
Quote
ECPassword=4

Hmm ? That's not what md5 hash looks like.
Title: Re: Can't connect to amuled
Post by: stefanero on March 11, 2006, 05:12:44 PM
I wonder if some people actually read the wiki pages?!  :rolleyes:
Title: Re: Can't connect to amuled
Post by: Atlan on March 11, 2006, 05:40:52 PM
yep, you are right lfroen. that is the amule.conf entry and not the hash from the log file http://forum.amule.org/images/bunfirlite/smilies/smile.gif
Smile.
sometimes my explanations are confusing to other people. so here are some examples.

amulegui=4; ECPassword=4
EC Auth failed: (A87FF679A2F3E71D9181A67B7542122C != 4000E00A0C000EC00000A00000000000)

amulegui=3; ECPassword=4
EC Auth failed: (ECCBC87E4B5CE2FE28308FD9F2A7BAF3 != 4000E00A0C000EC00000A00000000000)

amulegui=3; ECPassword=3
EC Auth failed: (ECCBC87E4B5CE2FE28308FD9F2A7BAF3 != 3000E00A0C000EC00000A00000000000)

amulegui=4; ECPassword=3
EC Auth failed: (A87FF679A2F3E71D9181A67B7542122C != 3000E00A0C000EC00000A00000000000)

[with amulegui=x i mean the pw i am typing in the login window]

but as stefanero is writing, i should probably have again a look at the wiki pages. but if you know what i am doing wrong. please help me.

thanks

atlan
Title: Re: Can't connect to amuled
Post by: Kry on March 11, 2006, 05:45:02 PM
es... you have to set the md5 passwd on the conf file, not the plain one...
Title: Re: Can't connect to amuled
Post by: Atlan on March 11, 2006, 05:48:29 PM
:D
lmao, sorry for bugging you and thx for the help!