You are not logged in.
Vague title I know. I have attempted to setup mpd.
Some data,
[frost@Avalon mpd]$ mpd --no-daemon --stdout --verbose
config_file: loading file /home/frost/.config/mpd/mpd.conf
exception: Default TCP listener setup failed, but this is okay because we have a $XDG_RUNTIME_DIR listener: Failed to bind to '[::]:6600'; Failed to bind socket: Address already in use
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.7
opus: libopus 1.3.1
sndfile: libsndfile-1.0.28
hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled
exception: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
simple_db: reading DB
Failed to initialize io_uring: io_uring_queue_init() failed: Cannot allocate memory
exception: Input plugin 'tidal' is not configured: No Tidal application token configured
exception: Input plugin 'qobuz' is not configured: No Qobuz app_id configured
curl: version 7.74.0
curl: with OpenSSL/1.1.1i
avahi: Initializing interface
exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
avahi: Client changed to state 101
avahi: Client is CONNECTING
state_file: Loading state file /home/frost/.config/mpd/state
inotify: initializing inotify
inotify: watching music directory
^Cstate_file: Saving state file /home/frost/.config/mpd/state
avahi: Shutting down interface
[frost@Avalon mpd]$
Here is my config file
[frost@Avalon mpd]$ cat mpd.conf
# Logs to systemd journal
log_file "syslog"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "/home/frost/Music"
# Recommended location for database
db_file "~/.config/mpd/database"
# Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes"
# Uncomment to enable the functionalities
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
audio_output {
type "pulse"
name "pulse audio"
}
Here is the output of systemctl status mpd.service. I am running this as a user not as root with a local config file. I have disabled systemctl for the above tests.
Jan 31 06:23:34 Avalon systemd[1]: Starting Music Player Daemon...
Jan 31 06:23:34 Avalon mpd[4567]: exception: bind to '0.0.0.0:6600' failed (continuing anyway, because binding to '[::]:6600' succeeded): Failed to bind socke>
Jan 31 06:23:34 Avalon mpd[4567]: exception: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
Jan 31 06:23:34 Avalon mpd[4567]: config: Found database setting without music_directory - disabling database
Jan 31 06:23:34 Avalon mpd[4567]: output: No 'audio_output' defined in config file
Jan 31 06:23:34 Avalon mpd[4567]: output: Successfully detected a alsa audio device
Jan 31 06:23:34 Avalon systemd[1]: Started Music Player Daemon.
Thanks for any help, I have been attempting to solve this problem solo for 4 hours or so. Would like to fix it and move on. Also, I am able to connect to local host using ncmpcpp, however none of my music is visible.
Offline
Please wrap outputs in
[code]code tags[/code]systemctl status mpd.service refers to the system service. Run
systemctl disable mpd --nowand manipulate the user service instead
systemctl --user start/enable mpd.serviceOffline
I did so.
systemctl --user status mpd.service
Jan 31 23:14:16 Avalon systemd[953]: Starting Music Player Daemon...
Jan 31 23:14:16 Avalon mpd[6234]: exception: Default TCP listener setup failed, but this is okay because we have a $XDG_RUNTIM>
Jan 31 23:14:16 Avalon mpd[6234]: exception: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc>
Jan 31 23:14:16 Avalon mpd[6234]: Failed to initialize io_uring: io_uring_queue_init() failed: Cannot allocate memory
Jan 31 23:14:16 Avalon systemd[953]: Started Music Player Daemon.Pretty sure the second to last line is the primary issue but, I am not sure what it means.
Offline
This thread looks like it found a solution to that line.
Offline
And neither of those are fatal in any case so you need to define "not running properly". If you can connect and play back now you can consider mpd to be generally usable.
Offline