aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Connection to Kad on startup  (Read 1943 times)

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
Connection to Kad on startup
« on: May 15, 2006, 03:08:42 PM »

Hi,

I'm having troubles with aMule connecting to the Kad-Network on startup. It worked fine until I restarted the server.

So my question is if I have to provide a valid Kad-Node (IP) for Bootstrapping. I'm currently using aMule-CVS-20060508 on Debian GNU/Linux testing branch (Kernel Version 2.6.12) with wxWidgets 2.6.3.

Neither searching this forum nor googling helped me on this topic.

Here is my startup-output:
Code: [Select]
username@machine:/usr/local/aMule/bin$ ./amuled --only-chuck-norris-would-stop-me -o
amuled: OnInit - starting timer
Logging to stdout enabled
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
2006-05-15 14:49:21: Creditfile loaded, 13016 clients are known
2006-05-15 14:49:21:  - Credits expired for 38 clients!
2006-05-15 14:49:21: Loading server.met file: /home/username/.aMule/server.met
2006-05-15 14:51:33: 9417 servers in server.met found
Loading temp files from /home/username/.aMule/Temp.
Loading PartFile 17 of 17
All PartFiles Loaded.
2006-05-15 14:51:33: Found 17 part files
2006-05-15 14:51:33: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2006-05-15 14:51:33: MuleUDPSocket: Created Server UDP-Socket at port 4665
ListenSocket: Ok.
2006-05-15 14:51:33: MuleUDPSocket: Created Client UDP-Socket at port 4672

*** 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
Adding file /home/username/.aMule/Temp/020.part.met to shares
Adding file /home/username/.aMule/Temp/019.part.met to shares
Adding file /home/username/.aMule/Temp/015.part.met to shares
Adding file /home/username/.aMule/Temp/014.part.met to shares
Adding file /home/username/.aMule/Temp/011.part.met to shares
Adding file /home/username/.aMule/Temp/010.part.met to shares
Adding file /home/username/.aMule/Temp/009.part.met to shares
Adding file /home/username/.aMule/Temp/008.part.met to shares
Adding file /home/username/.aMule/Temp/007.part.met to shares
Adding file /home/username/.aMule/Temp/006.part.met to shares
Adding file /home/username/.aMule/Temp/005.part.met to shares
Adding file /home/username/.aMule/Temp/004.part.met to shares
Adding file /home/username/.aMule/Temp/003.part.met to shares
Adding file /home/username/.aMule/Temp/002.part.met to shares
Adding file /home/username/.aMule/Temp/001.part.met to shares
Empty dir /home/username/.aMule/Incoming/ shared
2006-05-15 14:51:33: Found 15 known shared files
2006-05-15 14:51:33: Connecting
2006-05-15 14:51:33: Read 0 Kad contacts
2006-05-15 14:51:33: General: CamuleDaemonApp::OnRun()
2006-05-15 14:51:33: Deleted stale lock file '/home/username/.aMule/muleLock'.
2006-05-15 14:51:34: Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
2006-05-15 14:51:34: Loaded 0 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2006-05-15 14:51:34: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2006-05-15 14:51:34: ThreadScheduler: Completed task 'Load IPFilter', 1 tasks remaining.
2006-05-15 14:51:35: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2006-05-15 14:52:35: New external connection accepted
2006-05-15 14:52:35: Connecting client: aMuleweb CVS
2006-05-15 14:52:35: Access granted.

This is my config-file (amule.conf):
Code: [Select]
[eMule]
AppVersion=aMule CVS
Nick=http://www.aMule.org
Language=
TransferDoubleClick=1
MinToTray=0
ConfirmExit=0
ToolTipDelay=1
StartupMinimized=0
MaxDownload=20
MaxUpload=5
SlotAllocation=2
DownloadCapacity=32
UploadCapacity=5
Port=4662
UDPPort=4672
UDPDisable=0
MaxSourcesPerFile=150
MaxConnections=200
Autoconnect=1
Reconnect=1
ShowOverhead=0
RemoveDeadServer=1
DeadServerRetry=2
Serverlist=0
AddServersFromServer=1
AddServersFromClient=1
Scoresystem=1
SmartIdCheck=1
SafeServerConnect=0
AutoConnectStaticOnly=0
ManualHighPrio=0
ICH=1
AICHTrust=0
AddNewFilesPaused=0
DAPPref=1
PreviewPrio=0
UAPPref=1
FullChunkTransfers=1
StartNextFile=0
CheckDiskspace=1
MinFreeDiskSpace=1
IncomingDir=/home/username/.aMule/Incoming
TempDir=/home/username/.aMule/Temp
ShareHiddenFiles=0
VideoPlayer=
VideoPreviewBackupped=1
StatGraphsInterval=3
StatsAverageMinutes=5
VariousStatisticsMaxValue=100
statsInterval=30
MaxConnectionsPerFiveSeconds=20
Verbose=0
FileBufferSizePref=16
QueueSizePref=50
ServerKeepAliveTimeout=0
3DDepth=10
ShowInfoOnCatTabs=0
ShowRatesOnTitle=0
SeeShare=2
IPFilterAutoLoad=1
IPFilterURL=
FilterLevel=127
FilterBadIPs=1
OnlineSignature=0
OSDirectory=/home/username/.aMule/
FilterMessages=0
FilterAllMessages=0
MessagesFromFriendsOnly=0
MessageFromValidSourcesOnly=1
FilterWordMessages=0
MessageFilter=
SplitterbarPosition=75
FilterServersByIP=0
YourHostname=machine
DateTimeFormat=%A, %x, %X
IndicateRatings=1
AllcatType=0
ShowAllNotCats=0
ResumeNextFromSameCat=0
DontRecreateStatGraphsOnResize=0
DisableKnownClientList=0
DisableQueueList=0
MaxMessageSessions=50
WebTemplateFile=eMule.tmpl
PermissionsFiles=416
PermissionsDirs=488
StatColor0=64
StatColor1=12632319
StatColor2=8454016
StatColor3=53760
StatColor4=32768
StatColor5=16744576
StatColor6=13107200
StatColor7=9175040
StatColor8=9869055
StatColor9=12583104
StatColor10=16777088
StatColor11=0
StatColor12=16777215
TableSortAscendingSearch=1
TableSortItemSearch=2
TableWidthsSearch=385,100,79,65,280
TableSortAscendingServer=1
TableSortItemServer=5
TableWidthsServer=150,140,56,150,25,94,45,60,40,40,80
TableSortAscendingDownload=0
TableSortItemDownload=0
TableWidthsDownload=407,60,65,91,83,170,79,55,70,110,220,220
TableSortAscendingUploads=0
TableSortItemUploads=0
TableWidthsUploads=150,275,100,60,65,60,60,110,100,100,100
TableSortAscendingShared=0
TableSortItemShared=0
TableWidthsShared=250,100,50,70,100,220,100,100,120,120,120
EnableTrayIcon=0
StartNextFileSameCat=0
AutoSortDownloads=0
FilterLanIPs=1
OnlineSignatureUpdate=5
VerboseDebug=0
NewVersionCheck=0
ConnectToED2K=0
ConnectToKad=1
ExecOnCompletion=0
ExecOnCompletionCommand=sh -c '~/example.sh "%FILE" %HASH'
VerticalToolbar=0
Address=
StatColor13=53760
StatColor14=32768
TableSortingServer=0
TableSortingDownload=0
TableSortingUploads=0
TableSortingShared=0
ParanoidFiltering=1
[FakeCheck]
Browser=0
CustomBrowser=
BrowserTab=1
SafeMaxConn=0
VerbosePacketError=0
[SkinGUIOptions]
UseSkinFile=0
SkinFile=
[Razor_Preferences]
FastED2KLinksHandler=1
NoNeededSourcesHandling=2
FullQueueSources=0
HighQueueRankingSources=0
HighQueueRanking=1200
AutoDropTimer=240
MAIN_X_POS=0
MAIN_Y_POS=30
MAIN_X_SIZE=790
MAIN_Y_SIZE=506
SRV_SPLITTER_POS=204
[Statistics]
TotalDownloadedBytes=101959232202
TotalUploadedBytes=84402285742
DesktopMode=4
MaxClientVersions=0
[GUI]
[GUI/TransferWnd]
Splitter=115
ShowClientList=1
[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=
ShowProgressBar=1
ShowPercent=0
UseSrcSeeds=0
UseSecIdent=1
IpFilterOn=1
[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
Cat_ThreadScheduler=0

Thanks for reading and best regards,
Rainer
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Connection to Kad on startup
« Reply #1 on: May 15, 2006, 03:23:18 PM »

2006-05-15 14:51:33: Read 0 Kad contacts

^^for the log

thats the problem here, you have no contacts in your nodes.dat which is the most importand thing for an autostart

I am not sure how good "bootstraping" works, so I would suggest you todo the following

1. stop the mule
2. wget http://download.overnet2000.de/nodes.dat
    and save it into the .aMule folder, from the user which uses aMule
3. restart amule(d)
4. should work :)
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."

dubbaluga

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.xfreaks.net
Oh, great :)
« Reply #2 on: May 16, 2006, 07:14:46 PM »

Hi,

and thank you very much - that was exactly what I was looking for ;-)

Best regards,
Rainer
Logged