aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [long] amuleweb - Socket error  (Read 3150 times)

ciencio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
[long] amuleweb - Socket error
« on: September 29, 2005, 01:53:29 PM »

Hello,
this is my configuration:
- debian Sarge
- repository http://amule-debian.dyndns.org/ debian
- packages installed: amule-daemon; amule-common
- amule.conf options:
[ExternalConnect]
ExtractMetaDataTags=0
FullChunkAlloc=0
FullPartAlloc=0
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712
ECPassword=
ShowProgressBar=1
ShowPercent=0
UseSrcSeeds=0
UseSecIdent=1
IpFilterOn=1
[WebServer]
Enabled=0
Password=
PasswordLow=
Port=4711
UseGzip=1
UseLowRightsUser=0
PageRefreshTime=120

This is the problem:
1) I start amuled and get this response:
ciencio@router:~$ amuled  
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /home/ciencio/.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/ciencio/.aMule/Incoming/ shared

2) then, on another shell I launch amuleweb and get:
ciencio@router:~$ amuleweb
Enter password for mule connection (return if no pass defined):

Creating client...
Now, doing connection....
Using host 'localhost' port:4712
Trying to connect (timeout = 10 sec)...
A socket error occured during authentication. Exiting.

I really can't understand what's wrong, the password is exactly the one I got using
ciencio@router:~$ echo -n | md5sum | cut -d ' ' -f 1

I got exactly the same error trying to use amulecmd

Please Help me!
Logged
--
Pace e amore
       ciencio

lfroen

  • Guest
Re: [long] amuleweb - Socket error
« Reply #1 on: September 29, 2005, 02:16:10 PM »

Please post relevant part of amule(d) log. I suspect you connecting to wrong port.
Logged

ciencio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: [long] amuleweb - Socket error
« Reply #2 on: September 29, 2005, 11:34:15 PM »

Quote
Originally posted by lfroen
Please post relevant part of amule(d) log. I suspect you connecting to wrong port.

I take a look to ~/.aMule/logfile but it seems perfect (it is in italian, so I try to translate it)

it says it found 61 server in server.met

it found no incomplete files

then the onlypart in english
2005-09-29 23:45:25: *** TCP socket (ECServer) listening on 0.0.0.0:4712

after this it tries to connect to servers and when it manages to connecto to one it stops logging.

when I launche amuleweb there's nothing about it in the log file, no other entries.

Hope this helps, if it doesn't please let me know what to look for.
Logged
--
Pace e amore
       ciencio

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: [long] amuleweb - Socket error
« Reply #3 on: September 30, 2005, 04:11:06 PM »

I had the same problem on my gentoo router.
It was a permission problem for the user p2p to access /dev/urandom I solved it with chown p2p /dev/urandom.
You should find more information here.
I hope this should help you.

Stammi bene (da un'altro italiano :D )
Logged

ciencio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: [long] amuleweb - Socket error
« Reply #4 on: September 30, 2005, 07:21:19 PM »

Quote
Originally posted by DigitoErgoSum
I had the same problem on my gentoo router.
It was a permission problem for the user p2p to access /dev/urandom I solved it with chown p2p /dev/urandom.
You should find more information here.
I hope this should help you.

Stammi bene (da un'altro italiano :D )

well, in the thread you suggested I coudn't find anything about /dev/urandom but i'll trust you all the same :-)

my /dev/urandom has root:root permissions so probably this is the problem...

Let's hope it works

 grazie mille, alla prossima
Logged
--
Pace e amore
       ciencio

ciencio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: [long] amuleweb - Socket error
« Reply #5 on: September 30, 2005, 07:32:33 PM »

Quote
Originally posted by DigitoErgoSum
I had the same problem on my gentoo router.
It was a permission problem for the user p2p to access /dev/urandom I solved it with chown p2p /dev/urandom.
You should find more information here.
I hope this should help you.

Stammi bene (da un'altro italiano :D )

Two things:
- I don't have a p2p user, I suppose this is the user you use to launch amuled, isn't it?
- starting from that assumption I chown /dev/usandom to group users.
user ciencio (the one that launch amuled and amuleweb) is a member or users group.

Amuleweb keeps on failing with the same error, did I got something wrong?
Logged
--
Pace e amore
       ciencio

ciencio

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: [long] amuleweb - Socket error
« Reply #6 on: September 30, 2005, 07:44:14 PM »

Quote
well, in the thread you suggested I coudn't find anything about /dev/urandom but i'll trust you all the same :-)
 grazie mille, alla prossima

ok, i'm blind... I found it.

anyway nothing changes, even when I try to launch amuleweb with user root I have the same problem.

sniff sniff

P.S. ma che sfiga!
Logged
--
Pace e amore
       ciencio

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: [long] amuleweb - Socket error
« Reply #7 on: September 30, 2005, 08:43:30 PM »

Try deactivating autoconnect to ed2k&kad.
Logged