[Pkg-mpd-maintainers] Bug#742833: Bug#742833: mpd: fails to start when using systemd

Florian Schlichting fsfs at debian.org
Fri Apr 4 07:48:25 UTC 2014


Hi Nicolas,

> I recently decided to try systemd instead of sysvinit.
> Since this switch mpd does not start when the computer starts anymore.

are there any (error) messages? What is the output of 'systemctl status
mpd.service'? Do you find anything mpd-related in your syslog / systemd
journal, or in mpd's log?

> Here's an excerpt of the terminal session:
> 
>    balisto:~% pms
>    Practical Music Search v0.42
>    (c) 2006-2010 by Kim Tore Jensen <kimtjen at gmail.com>
>    Didn't find configuration file /etc/xdg/pms/rc
>    Didn't find configuration file /usr/local/etc/xdg/pms/rc
>    Reading configuration file /home/nicoe/.config/pms/rc
>    Finished reading configuration file.
>    Connecting to host 127.0.0.1, port 6600...failed.
>    problems connecting to "127.0.0.1" on port 6600: Connexion refusée

Apparently, mpd is not listening on 127.0.0.1:6600; is mpd running at
all, is it listening somewhere else perhaps?

If mpd is not running, can you try starting in foreground mode, e.g.
using 'mpd --no-daemon --verbose --stderr' - what does it say?

> I think it lacks an mpd.socket file or something like that.

mpd in Debian does not use socket activation yet. If enabled, it is
started unconditionally using the configuration in /etc/mpd.conf.

> -- Configuration Files:
> /etc/mpd.conf changed [not included]

What changes did you make to /etc/mpd.conf? What's the content of
/etc/default/mpd?

Florian



More information about the Pkg-mpd-maintainers mailing list