aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CECSocket error: Invalid socket (uninitialized)  (Read 2626 times)

dreamer

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
CECSocket error: Invalid socket (uninitialized)
« on: May 14, 2006, 10:49:32 PM »

When I want to start amuleweb I get the following message after I enterd the password:

>amuleweb
Dies ist amuleweb 2.1.1
Enter password for mule connection:

Erstelle Client...
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Input/Output error
Verbindung fehlgeschlagen. Verbindung zum angegebenen Host nicht möglich

(My Translation: Connection to host is not possible)

Does anybody has an idea what is wrong there?
Logged

lfroen

  • Guest
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #1 on: May 15, 2006, 03:34:38 PM »

Quote
Does anybody has an idea what is wrong there?

Quote
(My Translation: Connection to host is not possible)

This mean that amuleweb is unable to connect to host, where  core (amule/amuled) is running.
Logged

dreamer

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #2 on: May 15, 2006, 09:23:37 PM »

What could the Problem be? Why, do you think, the connection does not work?

The host is the localhost - amuleweb is started on the same mashine as were amuled is running at

By the way, what is a CECSocket?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #3 on: May 15, 2006, 10:31:57 PM »

its the socket where amule tryes to connect to amule(d)

plz post your amule.conf file here, so we can figure out whats going wrong..
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."

dreamer

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #4 on: May 15, 2006, 11:39:24 PM »

Here it is ->amule.conf

[eMule]
AppVersion=aMule 2.1.1
Nick=http://www.eMule.org
QueueSizePref=50
VerboseDebug=0
MaxUpload=0
MaxDownload=0
SlotAllocation=2
Port=4662
UDPPort=4672
UDPDisable=0
Autoconnect=1
MaxSourcesPerFile=300
MaxConnections=500
MaxConnectionsPerFiveSeconds=20
RemoveDeadServer=1
DeadServerRetry=2
ServerKeepAliveTimeout=0
Reconnect=1
Scoresystem=1
Serverlist=0
AddServersFromServer=1
AddServersFromClient=1
SafeServerConnect=0
AutoConnectStaticOnly=0
SmartIdCheck=1
ConnectToKad=1
ConnectToED2K=1
TempDir=/raid5/download/Temp
IncomingDir=/raid5/download
ICH=1
AICHTrust=0
CheckDiskspace=1
MinFreeDiskSpace=1
AddNewFilesPaused=0
PreviewPrio=0
ManualHighPrio=0
FullChunkTransfers=1
StartNextFile=0
StartNextFileSameCat=0
FileBufferSizePref=16
DAPPref=1
UAPPref=1
OSDirectory=/home/dreamer/.aMule/
OnlineSignature=0
OnlineSignatureUpdate=5
EnableTrayIcon=0
MinToTray=0
ConfirmExit=0
StartupMinimized=0
3DDepth=10
ToolTipDelay=1
ShowOverhead=0
ShowInfoOnCatTabs=0
ShowRatesOnTitle=0
VerticalToolbar=0
VideoPlayer=
VideoPreviewBackupped=1
StatGraphsInterval=3
statsInterval=30
DownloadCapacity=3
UploadCapacity=3
StatsAverageMinutes=5
VariousStatisticsMaxValue=100
SeeShare=2
FilterLanIPs=1
IPFilterAutoLoad=1
IPFilterURL=
FilterLevel=127
FilterMessages=0
FilterAllMessages=0
MessagesFromFriendsOnly=0
MessageFromValidSourcesOnly=1
FilterWordMessages=0
MessageFilter=
ShareHiddenFiles=0
AutoSortDownloads=0
NewVersionCheck=0
ExecOnCompletion=0
ExecOnCompletionCommand=sh -c '~/example.sh "%FILE" %HASH'
Language=
SplitterbarPosition=75
YourHostname=
DateTimeFormat=%A, %x, %X
IndicateRatings=1
AllcatType=0
ShowAllNotCats=0
DisableKnownClientList=0
DisableQueueList=0
MaxMessageSessions=50
PermissionsFiles=416
PermissionsDirs=488
Address=
[FakeCheck]
Browser=0
BrowserTab=1
CustomBrowser=
[Proxy]
ProxyEnableProxy=0
ProxyType=0
ProxyName=
ProxyPort=1080
ProxyEnablePassword=0
ProxyUser=
ProxyPassword=
[WebServer]
Enabled=0
Password=
PasswordLow=
Port=4711
UseGzip=1
UseLowRightsUser=0
PageRefreshTime=120
Template=
[ExternalConnect]
AcceptExternalConnections=1
ECAddress=
ECPort=4712
ECPassword=hallo
ShowProgressBar=1
ShowPercent=0
UseSrcSeeds=0
UseSecIdent=1
IpFilterOn=1
[Razor_Preferences]
FastED2KLinksHandler=1
FullQueueSources=0
HighQueueRankingSources=0
HighQueueRanking=1200
AutoDropTimer=240
NoNeededSourcesHandling=2
[SkinGUIOptions]
UseSkinFile=0
SkinFile=
[Statistics]
MaxClientVersions=0
TotalDownloadedBytes=0
TotalUploadedBytes=0
[Debug]
Cat_General=0
Cat_Hasher=0
Cat_ED2k\ Client=0
Cat_Local\ Client\ Protocol=0
Cat_Remote\ Client\ Protocol=0
Cat_Packet\ Parsing\ Errors=0
Cat_CFile=0
Cat_FileIO=0
Cat_ZLib=0
Cat_AICH-Hasher=0
Cat_AICH-Transfer=0
Cat_AICH-Recovery=0
Cat_ListenSocket=0
Cat_Credits=0
Cat_ClientUDPSocket=0
Cat_DownloadQueue=0
Cat_IPFilter=0
Cat_KnownFileList=0
Cat_PartFiles=0
Cat_SHAHashSet=0
Cat_Servers=0
Cat_Proxy=0
Cat_Searching=0
Cat_ServerUDP=0
Cat_Client\ Kademlia\ UDP=0
Cat_Kademlia\ Search=0
Cat_Kademlia\ Routing=0
Cat_Kademlia\ Indexing=0
Cat_Kademlia\ Main\ Thread=0
Cat_Kademlia\ Preferences=0
Cat_PartFileConvert=0
Cat_MuleUDPSocket=0
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #5 on: May 16, 2006, 08:07:03 AM »

ok 2 things

1st. all passwords have to be md5sum so

ECPassword=hallo <-- hallo musst be the md5sum of hallo

2nd. you dont have a password set for the webserver login

[WebServer]
Enabled=0 <<-- change this to 1
Password= <<-- here also teh md5sum of hallo for example

you can get a howto here -> http://www.amule.org/wiki/index.php/AMuleWeb
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."

dreamer

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #6 on: May 16, 2006, 10:47:17 AM »

Thx alot!! -Now it works!

...but what does that mean?: WSThread: could not create socket on :4711


Gelungen! Verbindung aufgebaut zu aMule 2.1.1

-------------------------------------
|          aMule Webserver          |
-------------------------------------

'Help' zeigt die Befehlsübersicht.

Webserver: gestartet
aMuleweb$
WSThread: Thread started
WSThread: could not create socket on :4711
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: CECSocket error: Invalid socket (uninitialized)
« Reply #7 on: May 16, 2006, 01:55:20 PM »

when you did the enable=1 on the amule.conf

amuleweb gets started automatically with amuled, so taht if you start it manually afterwards in a console, the socket is blocked of course

if you want to start it manually, set enabled=0 and create a remote.conf file, since you will need that if you dont "autostart"

search the forum remote.conf or read the man pages...
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."