You are not logged in.

#1 2015-06-25 23:49:28

cj360
Member
Registered: 2013-10-12
Posts: 67

[solved]Mpd fails to start since it cannot connect to 6600

Hello so I've been trying to setup mpd and failing at it. I've created a config at /home/andrew/.mpd/mpd.conf:

# Required files
db_file            "~/.mpd/database"
log_file           "~/.mpd/log"

# Optional
music_directory    "~/Music"
playlist_directory "~/.mpd/playlists"
pid_file           "~/.mpd/pid"
state_file         "~/.mpd/state"
sticker_file       "~/.mpd/sticker.sql"

Along with all the dirs in the config:

ls ~/.mpd
database  log  mpd.conf  pid  playlists  state  sticker.sql

Yet it fails to start, with this being the output:

$ mpd --no-daemon --stdout --verbose
config_file: loading file /home/andrew/.mpd/mpd.conf
socket: Failed to bind to '[::]:6600': Address already in use

Though

netstat -a | grep 6600

returns nothing.

The worst part is I had mpd working before reboot, now I can't revive it.

Edit--

Turns out I had ncmpcpp installed and it was continuing to run mpd and jam the socket.
SO double check that no extra mpd clients are running...

Last edited by cj360 (2015-06-26 00:15:11)

Offline

Board footer

Powered by FluxBB