M
M
Mor2021-09-04 12:24:47
linux
Mor, 2021-09-04 12:24:47

MPD does not start, what is the reason for this?

When I run mpd in terminal it says:

❯ sudo mpd
[sudo] пароль для *****: 
exception: Failed to bind to '[::]:6600'; Failed to bind socket: Address already in use

My goal is to get the polybar to interact with the mpd module, but it doesn't work.
(Arch Linux).

At the same time, I can play music. Tried removing MPD completely and playing music, it worked without it.
Now I installed MPD again and I'm trying to figure out what the problem is.

Ran this while the music was playing:
❯ systemctl stop mpd
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Чтобы остановить «mpd.service», необходимо пройти аутентификацию.
Authenticating as: ***
Password: 
==== AUTHENTICATION COMPLETE ====

After stopping the MPD, the music continues to play.

❯ systemctl status mpd.service
× mpd.service - Music Player Daemon
     Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sat 2021-09-04 13:45:58 EEST; 9min ago
       Docs: man:mpd(1)
             man:mpd.conf(5)
    Process: 27948 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILURE)
   Main PID: 27948 (code=exited, status=1/FAILURE)
        CPU: 196ms

сен 04 13:45:58 *** systemd[1]: Starting Music Player Daemon...
сен 04 13:45:58 *** mpd[27948]: exception: Failed to bind to '[::]:6600'; Failed to bind socket: Address already in use
сен 04 13:45:58 *** systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
сен 04 13:45:58 *** systemd[1]: mpd.service: Failed with result 'exit-code'.
сен 04 13:45:58 *** systemd[1]: Failed to start Music Player Daemon.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2021-09-04
@Drno

it says the port is busy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question