[Pkg-mpd-maintainers] Bug#813754: Bug#813754: Can't open port 6600 when run syste, -wide vis systemd

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Tue Feb 9 04:24:03 UTC 2016


I forgot to send the same stuff after "fixing" it by using init.d scripts.

If I use systemctl to stop the daemon it will still fail:

# systemctl stop mpd.service
Warning: Stopping mpd.service, but it can still be activated by:
  mpd.socket

# /etc/init.d/mpd start

Now netstat shows the same results as before.

But if I use the old "service" script to stop it:

# service mpd stop

And then start it via the init.d script:

# /etc/init.d/mpd start
[ ok ] Starting mpd (via systemctl): mpd.service.

I get the ports correctly opened:

# netstat -putan | grep mpd
tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      3221/mpd            
tcp        0      0 0.0.0.0:6600            0.0.0.0:*               LISTEN      3221/mpd            
tcp6       0      0 :::6600 

# lsof | grep 6600
mpd       3221             mpd   10u     IPv6              74293        0t0        TCP *:6600 (LISTEN)
mpd       3221             mpd   11u     IPv4              74294        0t0        TCP *:6600 (LISTEN)
io        3221 3246        mpd   10u     IPv6              74293        0t0        TCP *:6600 (LISTEN)
io        3221 3246        mpd   11u     IPv4              74294        0t0        TCP *:6600 (LISTEN)
player    3221 3247        mpd   10u     IPv6              74293        0t0        TCP *:6600 (LISTEN)
player    3221 3247        mpd   11u     IPv4              74294        0t0        TCP *:6600 (LISTEN)
decoder   3221 3248        mpd   10u     IPv6              74293        0t0        TCP *:6600 (LISTEN)
decoder   3221 3248        mpd   11u     IPv4              74294        0t0        TCP *:6600 (LISTEN)
output:Lu 3221 3249        mpd   10u     IPv6              74293        0t0        TCP *:6600 (LISTEN)
output:Lu 3221 3249        mpd   11u     IPv4              74294        0t0        TCP *:6600 (LISTEN)
output:Lu 3221 3250        mpd   10u     IPv6              74293        0t0        TCP *:6600 (LISTEN)
output:Lu 3221 3250        mpd   11u     IPv4              74294        0t0        TCP *:6600 (LISTEN)


-- 
Without us [Free Software developers], people would study computer science
and programming without ever having seen a real program in its entirety.
That's like becoming writers without ever having read a complete book.
  Matthias Ettrich, founder of the KDE project.
  http://www.efytimes.com/efytimes/25412/news.htm

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-mpd-maintainers/attachments/20160209/8a2f0825/attachment.sig>


More information about the Pkg-mpd-maintainers mailing list