You are not logged in.

#1 2016-01-03 11:19:15

clemens
Member
Registered: 2015-10-08
Posts: 36

MLDonkey not starting anymore

Hello,

somehow recently MLDonkey stopped working and I am having trouble understanding why this is happening since the only change I have done recently is related to the switch from IBUS to FCITX, which is unlikely to be connected, plus I don't use the web-interface (the log mentions the 4080 port) but just the standard GUI
The log says:

2016/01/03 12:08:27 [cO] Started logging...
2016/01/03 12:08:27 [dcCO] LETS reverse clients list NOW
2016/01/03 12:08:28 [cCO] Options correctly saved
2016/01/03 12:08:28 [dMain] Check http://www.mldonkey.org for updates
2016/01/03 12:08:28 [dMain] enabling networks: 
2016/01/03 12:08:28 [dMain] ---- enabling Donkey ----
2016/01/03 12:08:28 [EDK] loading sources completed
2016/01/03 12:08:28 [dMain] using port 14930 (client_port TCP)
2016/01/03 12:08:28 [dMain] using port 14934 (client_port UDP)
2016/01/03 12:08:28 [dMain] ---- enabling FileTP ----
2016/01/03 12:08:28 [dMain] ---- enabling interfaces ----
2016/01/03 12:08:28 [dMain] using port 4080 (http_port)
2016/01/03 12:08:28 [dMain] using port 4000 (telnet_port)
2016/01/03 12:08:28 [dMain] using port 4001 (gui_port)
2016/01/03 12:08:28 [dMain] disabled networks: BitTorrent Direct Connect 

Exception: bind failed: Address already in use at port 4080
This is normally caused by another application currently using this port.
Close that application and restart MLDonkey, exiting...

Thank you.

EDIT:
I just tried accessing the web-interface through this link http://127.0.0.1:4080/
and it seems to be working.
I wonder what happened to the GUI and how to bring it back to life (reinstallation didn't do anything:(

Last edited by clemens (2016-01-03 11:34:08)

Offline

#2 2016-01-03 11:43:02

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,078
Website

Re: MLDonkey not starting anymore

clemens wrote:

MLDonkey

Not heard of this one, did you install from the Debian repositories?
https://packages.debian.org/jessie/mldonkey-gui

Check for open ports with:

netstat -tunlp

You may need to install the net-tools package first.

There's also nmap and it's GUI front end, zenmap for general port management.

EDIT: you can also use `lsof` to determine which program is accessing that resource.

EDIT2: Nice link:
http://www.cyberciti.biz/faq/what-proce … inux-port/

Last edited by Head_on_a_Stick (2016-01-03 11:46:30)

Offline

#3 2016-01-03 11:51:32

clemens
Member
Registered: 2015-10-08
Posts: 36

Re: MLDonkey not starting anymore

Thank you for the links.
It seems that it is MLDonkey itself using the port, but somehow the gui, which I installed and reinstalled from the Debian repositories, does not start.
It's a very strange thing since everything was fine until a couple of days ago.

Offline

#4 2016-01-03 11:59:32

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,078
Website

Re: MLDonkey not starting anymore

Does the telnet interface work?
http://mldonkey.sourceforge.net/Quickstart_guide

I think we may have to wait for another MLDonkey user here 'cos I don't know anything about it  :8

FWIW, the quickstart guide recommends the browser interface.

Offline

#5 2016-01-03 14:55:12

clemens
Member
Registered: 2015-10-08
Posts: 36

Re: MLDonkey not starting anymore

Thank you both for the replies.
Both the telnet and the web interfaces work. I didn't know that the web interface was to be preferred to the gui, but now I will use it instead.
Still it is very funny that the gui stopped showing up.
In the initial page of the web-interface I get:

DNS resolution does not work

Starting the gui from terminal I get:

2016/01/03 15:42:32 [cO] Starting MLDonkey 3.1.2 ... 
2016/01/03 15:42:32 [cO] Language EN, locale UTF-8, ulimit for open files 1024
2016/01/03 15:42:32 [cO] raised ulimit for open files from 1024 to 4096
2016/01/03 15:42:32 [cO] MLDonkey is working in /home/sweethome/.mldonkey

2016/01/03 15:42:32 [cO] creating new MLDonkey base directory in /home/sweethome/.mldonkey

2016/01/03 15:42:32 [Gettext] Loading language resource mlnet_strings.en_US.UTF-8
2016/01/03 15:42:32 [cO] loaded language resource file
2016/01/03 15:42:32 [DNS] Resolving [Sweethome] ...
2016/01/03 15:42:32 [DNS] Resolving [www.mldonkey.org] ...

Attention!
This core is running with glibc 2.17 but it was compiled with glibc 2.13.
This can lead to unexpected behaviour. Consider compiling the core yourself
or getting a binary compiled with glibc 2.13.

2016/01/03 15:42:33 [cO] Logging in /home/sweethome/.mldonkey/mlnet.log

I am not sure how to kill a process  :8

I also just checked the xsession error report and realized that actually I didn't just install FCITX, but I have also been trying the Midori browser, which actually wasn't working as expected.
As a matter of fact the xsession errors are mainly:

(midori:7094): libsoup-WARNING **: (soup-uri.c:1023):soup_uri_set_path: runtime check failed: (path != NULL)

I guess that might be the culprit

Last edited by clemens (2016-01-03 14:55:34)

Offline

#6 2016-01-03 15:17:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,078
Website

Re: MLDonkey not starting anymore

clemens wrote:

Midori

How did you install that?
https://packages.debian.org/search?keyw … ection=all

Also:

kill $PID

See kill(1) wink

Offline

#7 2016-01-03 15:19:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: MLDonkey not starting anymore

clemens wrote:

...
I am not sure how to kill a process  :8
...

I'm sure a search engine could help you there wink

There are also the manpages for `kill`, `killall`, `pkill`, `pidof` etc.

You can also use `htop`, and search/filter and kill processes (the command is `htop`, or Menu -> Accessories -> Task Manager (htop) )


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2016-01-03 18:45:15

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: MLDonkey not starting anymore

This is likely the culprit

Attention!
This core is running with glibc 2.17 but it was compiled with glibc 2.13.
This can lead to unexpected behaviour. Consider compiling the core yourself
or getting a binary compiled with glibc 2.13.

MLDonkey was built against Wheezy's version of libc6. You should be running verion 2.17 if you are tracking Jessie. Is there any chance you can find an uupdate to it?

Offline

#9 2016-01-04 10:52:12

clemens
Member
Registered: 2015-10-08
Posts: 36

Re: MLDonkey not starting anymore

Hello, thank you all for the replies and sorry if I ask even very basic questions that I could check by myself.

The reason is that although I have been using Debian for quite a while, I know very little of the internal workings, especially the way to handle things through terminal alone.

I can follow reasonably well instructions given to me, but I am always a bit scared of trying new things on my own, in fear that my system might get stuck, as indeed has happened before, something that I cannot afford at the moment.

Before this thread I didn't even know what a PID was, even though I have killed programs every now and then through xkill, but only clicking on the program frame, not through terminal alone.

Thank to you all I am learning many new things smile

By the way, after a bit of searching on how to find the specific PID of a program I found this page that explains things clearly and concisely
http://www.cyberciti.biz/faq/kill-proce … x-systems/
I am sure most of you don't need it, but just in case there are other newbies like me.

Back to my situation: I tried killing mldonkey, or better mlnet, which lies underneath since mldonkey proper (it's a GUI+mlnet I guess) does not start or show among the processes, and then tried restarting. But again I get only mlnet and no mldonkey.

In any case it is not a big deal after you kindly pointed me to the web-interface which seems to work fine, so I do not want to want to waste too much of your time with this quirky gui and prefer to save the "bullets" for more critical situations wink


Cheers

P.s. I installed all software (midori and mldonkey) through synaptic and I am using Wheezy, not yet Jessie (I am worried about updates and upgrades) so I guess the library problem must have been there from the beginning when the GUI was working.

Last edited by clemens (2016-01-04 10:54:36)

Offline

#10 2016-01-04 11:03:33

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,078
Website

Re: MLDonkey not starting anymore

clemens wrote:

I am using Wheezy, not yet Jessie

Erm, can we see the output of:

apt-cache policy libc6

That error message quoted by tknomanzr seems to suggest you are using the jessie version.

That would be bad.

Offline

#11 2016-01-04 11:26:08

clemens
Member
Registered: 2015-10-08
Posts: 36

Re: MLDonkey not starting anymore

I hope all is fine smile

libc6:
  Installed: 2.17-97mcr120+3
  Candidate: 2.17-97mcr120+3
  Version table:
 *** 2.17-97mcr120+3 0
        500 http://main.mepis-deb.org/mepiscr/experimental/ experimental/test amd64 Packages
        100 /var/lib/dpkg/status
     2.13-38+deb7u8 0
        500 http://debian.fastweb.it/debian/ wheezy/main amd64 Packages
        500 http://security.debian.org/ wheezy/updates/main amd64 Packages

EDIT P.s. I don' remember why I installed the experimental repositories, but it must have been when trying to install something and followed the online instructions. By the way, I have just read "Don't break Bunsenlabs", I wish I had seen it before!

Last edited by clemens (2016-01-04 11:35:29)

Offline

#12 2016-01-04 11:27:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,078
Website

Re: MLDonkey not starting anymore

^ In this case, yes.

I see you are taking advantage of Stevo's "experimental" repository -- that guy really knows his stuff big_smile

However, that may be the reason why the GUI isn't starting.

EDIT: It may be worth feeding this back to the MEPIS team, here is their thread:
http://forum.mepiscommunity.org/viewtop … 88&t=37022

Last edited by Head_on_a_Stick (2016-01-04 11:29:43)

Offline

#13 2016-01-04 11:36:47

clemens
Member
Registered: 2015-10-08
Posts: 36

Re: MLDonkey not starting anymore

Thank you, I will do as you suggest and post a message there as well.

Offline

#14 2016-01-04 11:42:21

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,078
Website

Re: MLDonkey not starting anymore

clemens wrote:

EDIT P.s. I don' remember why I installed the experimental repositories, but it must have been when trying to install something and followed the online instructions. By the way, I have just read "Don't break Bunsenlabs", I wish I had seen it before!

The "experimental" repository you have added is a special case, it was created by @Stevo and others in the MEPIS community specifically for Debian wheezy-based systems so it should be fine.

Offline

Board footer

Powered by FluxBB