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: Can't connect to amuled  (Read 12850 times)

IWantMyMule

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Can't connect to amuled
« 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?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't connect to amuled
« Reply #1 on: January 05, 2006, 07:28:59 PM »

can you post teh console logout when amuleD starts?
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."

IWantMyMule

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: Can't connect to amuled
« Reply #2 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?
Logged

lfroen

  • Guest
Re: Can't connect to amuled
« Reply #3 on: January 06, 2006, 01:08:49 PM »

Please post your network setup and console output of amulecmd.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't connect to amuled
« Reply #4 on: January 06, 2006, 05:03:46 PM »

oh yeah the ports you run amuled on make it really unanynomous lol
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."

IWantMyMule

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: Can't connect to amuled
« Reply #5 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:
Logged

IWantMyMule

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
Re: Can't connect to amuled
« Reply #6 on: January 10, 2006, 11:49:08 AM »

Nobody got an idea...?  8o ;(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't connect to amuled
« Reply #7 on: January 10, 2006, 01:40:00 PM »

post your amule.conf and remote.conf plz
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."

nibel

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Can't connect to amuled
« Reply #8 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
« Last Edit: January 23, 2006, 01:48:06 AM by nibel »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't connect to amuled
« Reply #9 on: January 23, 2006, 08:52:44 AM »

and what does amuleweb show on console?
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."

nibel

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Can't connect to amuled
« Reply #10 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.
« Last Edit: January 23, 2006, 07:04:12 PM by nibel »
Logged

TheOnlyFish

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: Can't connect to amuled
« Reply #11 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?
« Last Edit: February 01, 2006, 04:02:21 PM by TheOnlyFish »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't connect to amuled
« Reply #12 on: February 01, 2006, 05:15:31 PM »

could this be the socket is maybe blocked by some other apps?

check with

netstat -ntlp
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."

TheOnlyFish

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: Can't connect to amuled
« Reply #13 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      -
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Can't connect to amuled
« Reply #14 on: February 02, 2006, 09:03:13 AM »

can you telnet to the port

telnet localhost 4712
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