You are not logged in.

#1 2022-02-20 21:27:57

juancuyo
Member
Registered: 2017-11-17
Posts: 66

[SOLVED] Mopidy start-up fails

Good afternoon, I have installed Mopidy on the PC, an application for listening to music and tuning radios.
listen to music and tune radios. It works through the terminal
together with another application : ncmpcpp However it does not work, a call appears invoking an error "Errno 98" This one : ERROR 2022-02-20 17:57:55,376 [952:MainThread] mopidy.commands
  Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno 98] Address already in use
I have changed the ports in MPD and http but the error persists. I decided to install Mopidy on another OS, Voyager based on Xubuntu, following the same procedure, and there if it works, it escapes my understanding how to solve it. Has anyone gone through the same problem and know how to solve it?
https://imgur.com/ntxqdHo

Translated with www.DeepL.com/Translator (free version)

Last edited by hhh (2022-02-21 07:14:42)

Offline

#2 2022-02-20 21:46:16

twoion
-
Registered: 2015-08-10
Posts: 3,541

Re: [SOLVED] Mopidy start-up fails

juancuyo wrote:

Good afternoon, I have installed Mopidy on the PC, an application for listening to music and tuning radios.
listen to music and tune radios. It works through the terminal
together with another application : ncmpcpp However it does not work, a call appears invoking an error "Errno 98" This one : ERROR 2022-02-20 17:57:55,376 [952:MainThread] mopidy.commands
  Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno 98] Address already in use
I have changed the ports in MPD and http but the error persists. I decided to install Mopidy on another OS, Voyager based on Xubuntu, following the same procedure, and there if it works, it escapes my understanding how to solve it. Has anyone gone through the same problem and know how to solve it?
https://imgur.com/ntxqdHo

Translated with www.DeepL.com/Translator (free version)

Unless you post your mopidy.conf configuration file I can't tell for sure, but "Address already in use" is a pretty clear error message. It means that either on a UDP or TCP socket, another application is already bound to 0.0.0.0 and the port mopidy wants to bind to, or another application is using exactly the combination of IP address and port number mopidy wants to bind to. I think that when you installed ncmpcpp, the package suggested the "mpd" package as well and you now have both mopidy and mpd installed, and as mpd is the original music player daemon (mpd) implementation, it's likely bound to the port mopidy wants to bind to to serve the MPD protocol as well!

If you need further help debugging post your mopidy.conf file, and the output of the following commands:

sudo ss -tulpen
sudo systemctl status mpd.service

As for the quickest solution, in the simplest case, if my suspicion is correct, you can just uninstall mpd:

sudo apt purge mpd

and then restart mopidy and see if it works with its default configuration.

Offline

#3 2022-02-21 02:42:45

juancuyo
Member
Registered: 2017-11-17
Posts: 66

Re: [SOLVED] Mopidy start-up fails

twoion Thanks it was as you said by using "sudo apt purge mpd" and reboot it works perfectly.
https://imgur.com/4s22s7M

Offline

#4 2022-02-21 07:13:40

hhh
Colonel Robert Neville
From: That honky paradise, brother.
Registered: 2015-09-17
Posts: 13,069
Website

Re: [SOLVED] Mopidy start-up fails

Marking the thread [SOLVED], and adding a bit to the title for clarity (originally just 'Mopidy').


You know, you used to be a nice guy once.

Offline

Board footer

Powered by FluxBB