View previous topic :: View next topic |
Author |
Message |
Jefferson n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2005 Posts: 66
|
Posted: Mon Dec 31, 2007 10:11 am Post subject: [SOLVED] Mldonkey 2.9.2 startet nicht - bind failed |
|
|
Hallo an alle,
ich habe hier ein Problem mit mldonkey 2.9.2.
Beim starten mittels /etc/init.d/mldonkey start bekomme ich die folgende Fehlermeldung:
Code: |
mars mldonkey # /etc/init.d/mldonkey start
* Starting mldonkey ...
2007/12/31 11:02:37 [cO] Starting MLDonkey 2.9.2 ...
2007/12/31 11:02:37 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open files 1024
2007/12/31 11:02:37 [cO] MLDonkey is working in /home/mldonkey/mldonkey
2007/12/31 11:02:37 [cO] creating new MLDonkey base directory in /home/mldonkey/mldonkey
2007/12/31 11:02:37 [Gettext] Loading language resource mlnet_strings.EN_ANSI_X3.4-1968
2007/12/31 11:02:37 [cO] loaded language resource file
2007/12/31 11:02:37 [DNS] Resolving [mars] ...
2007/12/31 11:02:37 [DNS] Resolving [www.mldonkey.org] ...
2007/12/31 11:02:37 [cO] Logging in /home/mldonkey/mldonkey/mlnet.log [ !! ]
|
In der Datei mlnet.log ist dann folgendes zu finden.
Code: |
2007/12/31 11:02:37 [cO] Started logging...
2007/12/31 11:02:37 [dcCO] LETS reverse clients list NOW
2007/12/31 11:02:37 [cCO] Options correctly saved
2007/12/31 11:02:37 [dMain] Check http://www.mldonkey.org for updates
2007/12/31 11:02:37 [dMain] enabling networks:
2007/12/31 11:02:37 [dMain] ---- enabling Donkey ----
2007/12/31 11:02:37 [EDK] loading sources completed
2007/12/31 11:02:37 [dMain] using port 21796 (client_port TCP)
2007/12/31 11:02:37 [dMain] using port 21800 (client_port UDP)
2007/12/31 11:02:37 [dMain] using port 9542 (overnet_port TCP+UDP)
2007/12/31 11:02:37 [dMain] ---- enabling BitTorrent ----
2007/12/31 11:02:37 [dMain] using port 6882 (client_port TCP)
2007/12/31 11:02:37 [dMain] using port 6881 (tracker_port TCP)
2007/12/31 11:02:37 [dMain] ---- enabling FileTP ----
2007/12/31 11:02:37 [dMain] ---- enabling interfaces ----
2007/12/31 11:02:37 [dMain] using port 4080 (http_port)
2007/12/31 11:02:37 [dMain] using port 4000 (telnet_port)
2007/12/31 11:02:37 [dMain] using port 4001 (gui_port)
2007/12/31 11:02:37 [dMain] disabled networks: Fasttrack G2 Gnutella Direct Connect
Exception: bind failed: Address already in use at port 4001
This is normally caused by another application currently using this port.
Close that application and restart MLDonkey, exiting...
|
Die Fehlermeldung besagt, dass irgendeine Applikation den Port 4001 bereits benutzt. Wenn ich netstat -atupn eingebe um rausfinden welche Applikation jetzt den Port benutzt erhalte ich folgendes.
Code: |
mars mldonkey # netstat -atupn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:4001 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 6432/rsync
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 5908/portmap
tcp 0 0 0.0.0.0:3632 0.0.0.0:* LISTEN 6320/distccd
tcp 0 0 192.168.178.24:22 0.0.0.0:* LISTEN 6491/sshd
tcp 0 0 127.0.0.1:8118 0.0.0.0:* LISTEN 6373/privoxy
tcp 0 0 192.168.178.24:631 0.0.0.0:* LISTEN 6030/cupsd
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 6550/tor
tcp 0 0 127.0.0.1:37435 0.0.0.0:* LISTEN 6691/kded [kdeinit]
tcp 0 0 0.0.0.0:32765 0.0.0.0:* LISTEN 5971/rpc.statd
tcp 0 0 0.0.0.0:32767 0.0.0.0:* LISTEN 6092/rpc.mountd
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:4001 0.0.0.0:* -
udp 0 0 0.0.0.0:111 0.0.0.0:* 5908/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 6030/cupsd
udp 0 0 0.0.0.0:635 0.0.0.0:* 5971/rpc.statd
udp 0 0 0.0.0.0:32765 0.0.0.0:* 5971/rpc.statd
udp 0 0 0.0.0.0:32767 0.0.0.0:* 6092/rpc.mountd
|
Wie zu sehen ist, wird keine Anwendung angezeigt, die den Port 4001 benutzt. Der Port steht nur auf dem Status "Listen".
Ich habe bereits hier im Forum und auch über Google versucht eine Lösung für das Problem zu finden aber leider erfolglos.
Vielleicht hat ja einer von euch eine Idee, warum mldonkey nicht startet bzw. wie ich noch rausfinden kann, welche Applikation den Port benutzt.
Ach so ganz vergessen. Wenn ich das System reboote, keine Applikationen am laufen habe und als erstes mldonkey starte, erhalte ich genau das selbe wie oben beschrieben.
Danke für eure Hilfe und Grüße
Jefferson
Last edited by Jefferson on Mon Dec 31, 2007 12:22 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jefferson n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2005 Posts: 66
|
Posted: Mon Dec 31, 2007 12:21 pm Post subject: |
|
|
Problem erkannt, Gefahr gebannt
Ich habe die Lösung gefunden und endlich rausbekommen, welche Applikation tatsächlich den Port 4001 belegt.
Der entscheidende Hinweis kommt von hier:
[url]
http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4974&highlight=bind+failed
[/url]
snipp
Ok, I found nfs-kernel-server uses the same ports mldonkey-server uses by default. I just changed the last ones and now it works.
snapp
Ich habe hier auch nfs laufen und nach einem kurzen /etc/init.d/nfs stop und /etc/init.d/mldonkey start wurde der Core anstandslos gestartet.
Daher auch die Änderung in "solved"
Grüße
Jefferson |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|