aMule Forum
English => en_Bugs => Topic started 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?
-
can you post teh console logout when amuleD starts?
-
Here it is:
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?
-
Please post your network setup and console output of amulecmd.
-
oh yeah the ports you run amuled on make it really unanynomous lol
-
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:This is amulecmd 2.1.0
Enter password for mule connection:
Creating client...
Doesn't seem very helpful to me... :D
Any ideas...? :baby:
-
Nobody got an idea...? 8o ;(
-
post your amule.conf and remote.conf plz
-
i've got exactly the same problem my
EC part in amule.conf:
[ExternalConnect]
AcceptExternalConnections=1
ECAddress=
ECPort=4712
ECPassword=******
ShowProgressBar=1
ShowPercent=0
UseSrcSeeds=0
UseSecIdent=1
IpFilterOn=1
-
and what does amuleweb show on console?
-
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.
-
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?
-
could this be the socket is maybe blocked by some other apps?
check with
netstat -ntlp
-
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:
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:
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 -
-
can you telnet to the port
telnet localhost 4712
-
Seems to connect...:
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.
-
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?
-
Here comes the remote.conf:
Locale=
[EC]
Host=localhost
Port=4712
Password=XXXXXXXXXXXXXXXXXXXXX
[Webserver]
Port=4711
Template=php-default
UseGzip=0
AllowGuest=0
AdminPassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
GuestPassword=
-
I solved my problem. Reason (from logfile):
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!
-
puh
I was just running out of idears ! :)) have fun
-
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$
-
well as always
post amule.conf and remote.conf
-
Originally posted by TheOnlyFish
I solved my problem. Reason (from logfile):
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
-
ECPassword=4
Hmm ? That's not what md5 hash looks like.
-
I wonder if some people actually read the wiki pages?! :rolleyes:
-
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
-
es... you have to set the md5 passwd on the conf file, not the plain one...
-
:D
lmao, sorry for bugging you and thx for the help!