You are not logged in.
I tried today to setup mpd, so I could connect ncmcpp to it, but it seems that it fails everytime I try to "systemctl start mpd".
My config for mpd (/etc/mpd.conf)
# Files and directories #######################################################
music_directory "/root/Desktop/music/"
playlist_directory "/root/Desktop/music/"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/lib/mpd/mpd.log"
pid_file "/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpd.state"
sticker_file "/var/lib/mpd/mpd.stickers"
#
# General music daemon options ################################################
user "lain"
bind_to_address "any"
port "6600"
#log_level "default"
#uncomment here and set restore_pause parameter to yes if you want MPD does not start automatically the latest playlist at startup
#restore_paused "no"
metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
auto_update "yes"
gapless_mp3_playback "yes"
#
# Zeroconf / Avahi Service Discovery ##########################################
zeroconf_enabled "yes"
zeroconf_name "Music Player Deamon"
#
# Input #######################################################################
#
input {
plugin "curl"
}
#
# Audio Output ################################################################
#
#Cubox Optical output
audio_output {
type "alsa"
name "SPDIF optique"
device "hw:0,0"
}
#Any USB dac if you plugged one
audio_output {
type "alsa"
name "Your USB DAC"
device "hw:1,0"
}
#Uncomment if you allow MPD to manage volume by software
#mixer_type "software"
#
# MPD Internal Buffering ######################################################
#Increase values if you heard some clicks and pops
audio_buffer_size "2048"
buffer_before_play "10%"
#
# Character Encoding ##########################################################
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
#
# Plugins ##########################################################
#
#uncomment to enable LastFM feature - doc : http://mpd.wikia.com/wiki/Last.fm_Radio
#playlist_plugin {
# name "lastfm"
# user "my_username"
# password "my_password"
#}My mpd.socket.
[Unit]
Description=Music Player Daemon Sockets
[Socket]
ListenStream=/var/run/mpd/socket
ListenStream=6600
[Install]
WantedBy=sockets.targetThe error I get when typing systemctl start mpd:
* mpd.service - Music Player Daemon Sockets
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Jul 11 14:22:09 Host-001.homenet.telecomitalia.it systemd[1]: [/usr/lib/systemd/system/mpd.service:1] .include not allowed here. Ignoring.
Jul 11 14:22:09 Host-001.homenet.telecomitalia.it systemd[1]: mpd.service lacks ExecStart setting. Refusing.
Jul 11 14:31:30 Host-001.homenet.telecomitalia.it systemd[1]: [/usr/lib/systemd/system/mpd.service:4] Unknown section 'Socket'. Ignoring.
Jul 11 14:31:30 Host-001.homenet.telecomitalia.it systemd[1]: mpd.service lacks ExecStart setting. Refusing.
Jul 11 14:32:04 Host-001.homenet.telecomitalia.it systemd[1]: [/usr/lib/systemd/system/mpd.service:4] Unknown section 'Socket'. Ignoring.
Jul 11 14:32:04 Host-001.homenet.telecomitalia.it systemd[1]: mpd.service lacks ExecStart setting. Refusing.
Jul 11 15:10:01 Host-001.homenet.telecomitalia.it systemd[1]: [/usr/lib/systemd/system/mpd.service:4] Unknown section 'Socket'. Ignoring.
Jul 11 15:10:01 Host-001.homenet.telecomitalia.it systemd[1]: mpd.service lacks ExecStart setting. Refusing.
Jul 11 15:10:26 Host-001.homenet.telecomitalia.it systemd[1]: [/usr/lib/systemd/system/mpd.service:4] Unknown section 'Socket'. Ignoring.
Jul 11 15:10:26 Host-001.homenet.telecomitalia.it systemd[1]: mpd.service lacks ExecStart setting. Refusing.I can see that mpd.service is my problem (I accidently put the same in it as in mpd.service), but I searched everywhere but I just don't understand what I have to enter in it.
Last edited by Mugi (2014-07-11 22:44:39)
Offline
I took a look at my own system and mpd provides at least the service file. Did you edit this file?
Is so, you can just reinstall mpd to get the correct file back. Do make a backup of your configs and other stuff, though.
Or, just do it yourself:
[Unit]
Description=Music Player Daemon
After=network.target sound.target
[Service]
ExecStart=/usr/bin/mpd --no-daemon
[Install]
WantedBy=multi-user.targetThe file is /usr/lib/systemd/system/mpd.service
EDIT: Made a more helpfull comment with a solution.
EDIT2: Added the file for your convinience
Last edited by runical (2014-07-11 15:29:30)
Offline
mpd.service lacks ExecStart setting. Refusing.This should be self explanatory. Without ExecStart entry nothing can be run.
man systemd.service # Read this for further explanationAnd grep -v \# the config file next time to get only what actually is parsed as configuration.
Offline
I took a look at my own system and mpd provides at least the service file. Did you edit this file?
Is so, you can just reinstall mpd to get the correct file back. Do make a backup of your configs and other stuff, though.Or, just do it yourself:
[Unit] Description=Music Player Daemon After=network.target sound.target [Service] ExecStart=/usr/bin/mpd --no-daemon [Install] WantedBy=multi-user.targetThe file is /usr/lib/systemd/system/mpd.service
EDIT: Made a more helpfull comment with a solution.
EDIT2: Added the file for your convinience
Thanks, it works now!
Offline
Now my connection gets refused, what did I maybe do wrong?
Couldn't connect to MPD (host = localhost, port = 6600): Connection refusedOffline
This usually means that MPD is not running. As you start it by socket, you should connect to your socket. Otherwise MPD will not be started in the first place.
Offline
This usually means that MPD is not running. As you start it by socket, you should connect to your socket. Otherwise MPD will not be started in the first place.
But I did:
systemctl enable mpd
systemctl start mpd
Offline
No errors/messages there? Check if MPD is indeed running. If not, check if nothing else is using port 6600 (this explains the not being able to connect)
If you can't find anything, please post the mpd log file.
Offline
Could I just change the port?
Offline
You can try that naturally. Just make sure nothing else is using that port.
Offline
Now my connection gets refused, what did I maybe do wrong?
Couldn't connect to MPD (host = localhost, port = 6600): Connection refused
this means that MPD is already running unless you have another daemon using that port
ps -ef | grep mpdLast edited by HiImTye (2014-07-11 18:53:23)
Offline
Mugi wrote:Now my connection gets refused, what did I maybe do wrong?
Couldn't connect to MPD (host = localhost, port = 6600): Connection refusedthis means that MPD is already running unless you have another daemon using that port
ps -ef | grep mpd
ps -ef | grep mpd:
root 8015 1707 0 21:05 pts/3 00:00:00 grep mpdSo it's not used, what's the issue then, there was nothing in the log file.
Offline
Could it be the fact that mpd is running as root? Try adding an user to your mpd.conf (I think mpd by default makes the mpd user).
Also: Nothing in the log file means nothing you thought was usefull or did it mean absolutely nothing in the log file?
Last edited by runical (2014-07-11 19:19:49)
Offline
Could it be the fact that mpd is running as root? Try adding an user to your mpd.conf (I think mpd by default makes the mpd user).
Also: Nothing in the log file means nothing you thought was usefull or did it mean absolutely nothing in the log file?
Oh you're right I ran it as root, maybe that's the issue. THere is absolutley nothing in the log.
EDIT: I ran it as a normal user, still this didn't fix the issue, same error message.
Last edited by Mugi (2014-07-11 19:25:36)
Offline
systemctl status mpd.s{ervice,ocket} -lHave you rebooted in the meantime? You need to systemctl daemon-reload after changing service files.
Last edited by emeres (2014-07-11 19:40:04)
Offline
systemctl status mpd.s{ervice,ocket} -lHave you rebooted in the meantime? You need to systemctl daemon-reload after changing service files.
I will try rebooting it now.
Offline
Okay, after I rebooted I got a new error message, this is most likey because I commented the database out, because he said that there was no such file or directory.
This is the error:
server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
fatal_error: Failed to open sqlite database '/var/lib/mpd/mpd.stickers': unable to open database fileOffline
What does the above systemctl command output? Show your current mpd configuration:
grep -v ^\# mpd.configuration-fileBy the way, the mpd.service file according to PKGBUILD for mpd package should have this instead for WantedBy:
WantedBy=default.targetLast edited by emeres (2014-07-11 20:47:03)
Offline
What does the above systemctl command output? Show your current mpd configuration:
grep -v ^\# mpd.configuration-fileBy the way, the mpd.service file according to PKGBUILD for mpd package should have this instead for WantedBy:
WantedBy=default.target
grep -v ^\# mpd.configuration-file:
# Files and directories #######################################################
music_directory "/home/lain/music/"
playlist_directory "/home/lain/music/"
# db_file "/var/lib/mpd/mpd.db"
log_file "/var/lib/mpd/mpd.log"
pid_file "/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpd.state"
sticker_file "/var/lib/mpd/mpd.stickers"
#
# General music daemon options ################################################
user "lain"
bind_to_address "any"
port "6600"
#log_level "default"
#uncomment here and set restore_pause parameter to yes if you want MPD does not start automatically the latest playlist at startup
#restore_paused "no"
metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
auto_update "yes"
gapless_mp3_playback "yes"
#
# Zeroconf / Avahi Service Discovery ##########################################
zeroconf_enabled "yes"
zeroconf_name "Music Player Deamon"
#
# Input #######################################################################
#
input {
plugin "curl"
}
#
# Audio Output ################################################################
#
#Cubox Optical output
audio_output {
type "alsa"
name "SPDIF optique"
device "hw:0,0"
}
#Any USB dac if you plugged one
audio_output {
type "alsa"
name "Your USB DAC"
device "hw:1,0"
}
#Uncomment if you allow MPD to manage volume by software
#mixer_type "software"
#
# MPD Internal Buffering ######################################################
#Increase values if you heard some clicks and pops
audio_buffer_size "2048"
buffer_before_play "10%"
#
# Character Encoding ##########################################################
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
#
# Plugins ##########################################################
#
#uncomment to enable LastFM feature - doc : http://mpd.wikia.com/wiki/Last.fm_Radio
#playlist_plugin {
# name "lastfm"
# user "my_username"
# password "my_password"
#}Offline
The point is to filter the commented lines out, fix that. The sticker_file line is there, so mpd looks for it, comment it out. Still waiting for systemctl status results.
Offline
ps -ef
netstat -anwould be useful as well
Offline
The point is to filter the commented lines out, fix that. The sticker_file line is there, so mpd looks for it, comment it out. Still waiting for systemctl status results.
You mean "systemctl status mpd.s{ervice,ocket} -l"?
* mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled)
Active: failed (Result: exit-code) since Fri 2014-07-11 22:12:54 CEST; 1h 1min ago
Process: 218 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILURE)
Main PID: 218 (code=exited, status=1/FAILURE)
Jul 11 22:12:53 localhost mpd[218]: server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Jul 11 22:12:54 localhost mpd[218]: fatal_error: Failed to open sqlite database '/var/lib/mpd/mpd.stickers': unable to open database file
* mpd.socket - Music Player Daemon Sockets
Loaded: loaded (/etc/systemd/system/mpd.socket; disabled)
Active: inactive (dead)
Listen: /var/run/mpd/socket (Stream)
[::]:6600 (Stream)Offline
ps -ef netstat -anwould be useful as well
ps -ef:
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 22:12 ? 00:00:01 /sbin/init
root 2 0 0 22:12 ? 00:00:00 [kthreadd]
root 3 2 0 22:12 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 22:12 ? 00:00:00 [kworker/0:0H]
root 7 2 0 22:12 ? 00:00:01 [rcu_preempt]
root 8 2 0 22:12 ? 00:00:00 [rcu_sched]
root 9 2 0 22:12 ? 00:00:00 [rcu_bh]
root 10 2 0 22:12 ? 00:00:00 [migration/0]
root 11 2 0 22:12 ? 00:00:00 [watchdog/0]
root 12 2 0 22:12 ? 00:00:00 [watchdog/1]
root 13 2 0 22:12 ? 00:00:00 [migration/1]
root 14 2 0 22:12 ? 00:00:00 [ksoftirqd/1]
root 16 2 0 22:12 ? 00:00:00 [kworker/1:0H]
root 17 2 0 22:12 ? 00:00:00 [khelper]
root 18 2 0 22:12 ? 00:00:00 [kdevtmpfs]
root 19 2 0 22:12 ? 00:00:00 [netns]
root 20 2 0 22:12 ? 00:00:00 [khungtaskd]
root 21 2 0 22:12 ? 00:00:00 [writeback]
root 22 2 0 22:12 ? 00:00:00 [ksmd]
root 23 2 0 22:12 ? 00:00:01 [khugepaged]
root 24 2 0 22:12 ? 00:00:00 [kintegrityd]
root 25 2 0 22:12 ? 00:00:00 [bioset]
root 26 2 0 22:12 ? 00:00:00 [crypto]
root 27 2 0 22:12 ? 00:00:00 [kblockd]
root 28 2 0 22:12 ? 00:00:00 [kworker/1:1]
root 29 2 0 22:12 ? 00:00:00 [kswapd0]
root 30 2 0 22:12 ? 00:00:00 [fsnotify_mark]
root 34 2 0 22:12 ? 00:00:00 [kthrotld]
root 35 2 0 22:12 ? 00:00:00 [ipv6_addrconf]
root 36 2 0 22:12 ? 00:00:00 [deferwq]
root 63 2 0 22:12 ? 00:00:00 [khubd]
root 64 2 0 22:12 ? 00:00:00 [ata_sff]
root 65 2 0 22:12 ? 00:00:00 [scsi_eh_0]
root 66 2 0 22:12 ? 00:00:00 [scsi_tmf_0]
root 67 2 0 22:12 ? 00:00:00 [scsi_eh_1]
root 68 2 0 22:12 ? 00:00:00 [scsi_tmf_1]
root 71 2 0 22:12 ? 00:00:00 [scsi_eh_2]
root 72 2 0 22:12 ? 00:00:00 [scsi_tmf_2]
root 73 2 0 22:12 ? 00:00:00 [scsi_eh_3]
root 74 2 0 22:12 ? 00:00:00 [scsi_tmf_3]
root 75 2 0 22:12 ? 00:00:00 [scsi_eh_4]
root 76 2 0 22:12 ? 00:00:00 [scsi_tmf_4]
root 77 2 0 22:12 ? 00:00:00 [scsi_eh_5]
root 78 2 0 22:12 ? 00:00:00 [scsi_tmf_5]
root 79 2 0 22:12 ? 00:00:00 [scsi_eh_6]
root 80 2 0 22:12 ? 00:00:00 [scsi_tmf_6]
root 81 2 0 22:12 ? 00:00:00 [scsi_eh_7]
root 82 2 0 22:12 ? 00:00:00 [scsi_tmf_7]
root 95 2 0 22:12 ? 00:00:03 [kworker/1:2]
root 98 2 0 22:12 ? 00:00:00 [kworker/1:1H]
root 99 2 0 22:12 ? 00:00:00 [kworker/0:1H]
root 107 2 0 22:12 ? 00:00:00 [jbd2/sda1-8]
root 108 2 0 22:12 ? 00:00:00 [ext4-rsv-conver]
root 143 1 0 22:12 ? 00:00:00 /usr/lib/systemd/systemd-journald
root 154 1 0 22:12 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 169 2 0 22:12 ? 00:00:00 [acpi_thermal_pm]
root 172 2 0 22:12 ? 00:00:00 [edac-poller]
root 175 2 0 22:12 ? 00:00:00 [kpsmoused]
root 176 2 0 22:12 ? 00:00:00 [cfg80211]
root 181 2 0 22:12 ? 00:00:00 [ttm_swap]
root 194 2 0 22:12 ? 00:00:00 [kvm-irqfd-clean]
root 208 2 0 22:12 ? 00:00:00 [jbd2/sda2-8]
root 209 2 0 22:12 ? 00:00:00 [ext4-rsv-conver]
dbus 219 1 0 22:12 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 222 1 0 22:12 ? 00:00:00 /usr/lib/systemd/systemd-logind
root 230 1 0 22:12 ? 00:00:00 login -- root
root 231 1 0 22:12 ? 00:00:00 /usr/bin/kdm -nodaemon
root 233 231 0 22:12 tty7 00:00:00 /usr/bin/X :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-Xupqdb
root 239 231 0 22:12 ? 00:00:00 -:0
kdm 240 239 0 22:12 ? 00:00:02 /usr/lib/kde4/libexec/kdm_greet
root 251 1 0 22:13 ? 00:00:00 /usr/lib/systemd/systemd --user
root 253 251 0 22:13 ? 00:00:00 (sd-pam)
root 255 230 0 22:13 tty1 00:00:00 -bash
root 337 1 0 22:13 ? 00:00:00 wpa_supplicant -B -P /run/wpa_supplicant_wlp8s0.pid -i wlp8s0 -D nl80211,wext -c/run/network/wpa_supplicant_wlp8s0.conf
root 500 1 0 22:13 ? 00:00:00 dhcpcd -4 -q -t 30 -L wlp8s0
root 503 255 0 22:13 tty1 00:00:00 /bin/sh /usr/bin/startx
root 520 503 0 22:13 tty1 00:00:00 xinit /root/.xinitrc -- /etc/X11/xinit/xserverrc :1 -auth /tmp/serverauth.AO0gpiN7dM
root 521 520 2 22:13 ? 00:01:16 /usr/bin/X -nolisten tcp :1 -auth /tmp/serverauth.AO0gpiN7dM vt1
root 525 520 0 22:13 tty1 00:00:05 awesome
root 530 1 0 22:13 tty1 00:00:00 /usr/bin/dbus-launch --autolaunch 947893976d9f4146aced9d933faba20c --binary-syntax --close-stderr
root 531 1 0 22:13 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
root 541 1 0 22:13 ? 00:00:00 urxvt
root 542 541 0 22:13 pts/0 00:00:00 -bash
root 551 1 7 22:14 ? 00:04:26 /usr/lib/firefox/firefox
root 557 1 0 22:14 ? 00:00:00 /usr/lib/GConf/gconfd-2
root 650 2 0 22:23 ? 00:00:02 [kworker/0:2]
root 682 2 0 22:55 ? 00:00:00 [kworker/u8:25]
root 722 2 0 22:55 ? 00:00:00 [kworker/u8:65]
root 904 1 0 22:59 ? 00:00:00 urxvt
root 905 904 0 22:59 pts/1 00:00:00 -bash
root 910 1 0 22:59 ? 00:00:00 urxvt
root 911 910 0 22:59 pts/2 00:00:00 -bash
root 916 1 0 22:59 ? 00:00:00 urxvt
root 917 916 0 22:59 pts/3 00:00:00 -bash
root 922 1 0 22:59 ? 00:00:00 urxvt
root 923 922 0 22:59 pts/4 00:00:00 -bash
root 927 905 0 22:59 pts/1 00:00:00 su lain
lain 928 927 0 22:59 pts/1 00:00:00 bash
lain 929 928 0 22:59 pts/1 00:00:00 weechat
root 948 2 0 23:06 ? 00:00:00 [kworker/0:0]
root 959 2 0 23:11 ? 00:00:00 [kworker/0:1]
root 969 1 0 23:14 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
root 973 969 0 23:14 ? 00:00:00 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
root 976 1 0 23:14 ? 00:00:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
root 987 2 0 23:16 ? 00:00:00 [kworker/u8:0]netstat -an:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.1.105:37496 91.217.189.42:6667 ESTABLISHED
udp 0 0 0.0.0.0:68 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 10763 /var/run/xdmctl/dmctl-:0/socket
unix 2 [ ] DGRAM 11794 /run/user/0/systemd/notify
unix 2 [ ACC ] STREAM LISTENING 11796 /run/user/0/systemd/private
unix 2 [ ACC ] STREAM LISTENING 11645 @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 12359 @/tmp/.X11-unix/X1
unix 2 [ ACC ] STREAM LISTENING 12360 /tmp/.X11-unix/X1
unix 2 [ ] DGRAM 7031 /run/systemd/notify
unix 2 [ ACC ] STREAM LISTENING 7033 /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 10620 /run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 11646 /tmp/.X11-unix/X0
unix 2 [ ] DGRAM 11916 /run/wpa_supplicant/wlp8s0
unix 2 [ ] DGRAM 7054 /run/systemd/shutdownd
unix 6 [ ] DGRAM 7056 /run/systemd/journal/dev-log
unix 2 [ ACC ] STREAM LISTENING 190509 @/tmp/dbus-OIWjnV7E3y
unix 2 [ ACC ] STREAM LISTENING 7060 /run/lvm/lvmetad.socket
unix 2 [ ACC ] SEQPACKET LISTENING 7063 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 7066 /run/systemd/journal/stdout
unix 6 [ ] DGRAM 7068 /run/systemd/journal/socket
unix 2 [ ACC ] STREAM LISTENING 12383 @/tmp/dbus-vOywFZMoCE
unix 2 [ ACC ] STREAM LISTENING 10739 /var/run/xdmctl/dmctl/socket
unix 3 [ ] STREAM CONNECTED 12927 @/tmp/dbus-vOywFZMoCE
unix 3 [ ] STREAM CONNECTED 108627 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 10765
unix 3 [ ] STREAM CONNECTED 11535
unix 3 [ ] STREAM CONNECTED 12907 @/tmp/.X11-unix/X1
unix 3 [ ] DGRAM 7777
unix 3 [ ] STREAM CONNECTED 12936
unix 3 [ ] STREAM CONNECTED 12787 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 13392
unix 3 [ ] STREAM CONNECTED 11688
unix 3 [ ] STREAM CONNECTED 12384
unix 3 [ ] STREAM CONNECTED 10767
unix 3 [ ] STREAM CONNECTED 10774
unix 3 [ ] STREAM CONNECTED 10627
unix 3 [ ] STREAM CONNECTED 11782
unix 3 [ ] STREAM CONNECTED 13395 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 10775
unix 3 [ ] STREAM CONNECTED 13372
unix 3 [ ] STREAM CONNECTED 13444 @/tmp/dbus-vOywFZMoCE
unix 3 [ ] STREAM CONNECTED 190499 /run/systemd/journal/stdout
unix 2 [ ] DGRAM 11256
unix 3 [ ] STREAM CONNECTED 189949 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 12950
unix 3 [ ] STREAM CONNECTED 108596
unix 3 [ ] STREAM CONNECTED 10748 /run/systemd/journal/stdout
unix 3 [ ] STREAM CONNECTED 12032 @/tmp/dbus-vOywFZMoCE
unix 3 [ ] STREAM CONNECTED 190498 /run/systemd/journal/stdout
unix 3 [ ] STREAM CONNECTED 12019
unix 3 [ ] STREAM CONNECTED 189892 @/tmp/dbus-vOywFZMoCE
unix 3 [ ] STREAM CONNECTED 190533
unix 3 [ ] STREAM CONNECTED 12025
unix 3 [ ] STREAM CONNECTED 189948
unix 3 [ ] STREAM CONNECTED 190510
unix 3 [ ] STREAM CONNECTED 190511
unix 3 [ ] STREAM CONNECTED 189939 @/tmp/dbus-OIWjnV7E3y
unix 3 [ ] STREAM CONNECTED 11404
unix 3 [ ] STREAM CONNECTED 12020 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 189915
unix 3 [ ] STREAM CONNECTED 11403
unix 3 [ ] STREAM CONNECTED 11379
unix 3 [ ] STREAM CONNECTED 189916
unix 3 [ ] STREAM CONNECTED 10768
unix 2 [ ] DGRAM 7773
unix 3 [ ] STREAM CONNECTED 13402 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 107420
unix 2 [ ] DGRAM 11529
unix 3 [ ] STREAM CONNECTED 10779 @/tmp/.X11-unix/X0
unix 2 [ ] DGRAM 12942
unix 3 [ ] STREAM CONNECTED 13386
unix 3 [ ] STREAM CONNECTED 10766
unix 3 [ ] STREAM CONNECTED 10769 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 12934
unix 3 [ ] STREAM CONNECTED 190504
unix 3 [ ] DGRAM 7776
unix 3 [ ] STREAM CONNECTED 12933 @/tmp/dbus-vOywFZMoCE
unix 3 [ ] STREAM CONNECTED 12941
unix 3 [ ] STREAM CONNECTED 11783 /run/systemd/journal/stdout
unix 3 [ ] STREAM CONNECTED 10706 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12937
unix 3 [ ] STREAM CONNECTED 107351
unix 3 [ ] STREAM CONNECTED 12385
unix 3 [ ] STREAM CONNECTED 11694
unix 3 [ ] STREAM CONNECTED 12387 @/tmp/.X11-unix/X1
unix 2 [ ] DGRAM 10860
unix 3 [ ] STREAM CONNECTED 11405 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 108566 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 12283
unix 2 [ ] DGRAM 11789
unix 3 [ ] STREAM CONNECTED 12386
unix 3 [ ] STREAM CONNECTED 12033
unix 3 [ ] STREAM CONNECTED 12016 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 12390 /run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12364
unix 3 [ ] STREAM CONNECTED 189888
unix 3 [ ] STREAM CONNECTED 107395 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 189889
unix 3 [ ] STREAM CONNECTED 189918 /run/systemd/journal/stdout
unix 3 [ ] STREAM CONNECTED 190535 @/tmp/dbus-vOywFZMoCE
unix 2 [ ] DGRAM 7123
unix 3 [ ] STREAM CONNECTED 10747 /run/systemd/journal/stdout
unix 3 [ ] STREAM CONNECTED 189938
unix 3 [ ] STREAM CONNECTED 11445
unix 2 [ ] DGRAM 108886
unix 3 [ ] STREAM CONNECTED 107451 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 189917 /run/systemd/journal/stdout
unix 3 [ ] STREAM CONNECTED 12031
unix 3 [ ] STREAM CONNECTED 12377 @/tmp/.X11-unix/X1
unix 3 [ ] STREAM CONNECTED 108657 Offline
By the way, the mpd.service file according to PKGBUILD for mpd package should have this instead for WantedBy:
WantedBy=default.target
Is seems I have the wrong config file on my computer then. Strange, as I have never edited it.
Mugi, does the user you use have read/write permissions on the files you named in the config file? So, the files in /var/lib and /run/mpd? If not, try putting these files somewhere where the user has access (for example in /home/liam/.mpd).
Also, you might consider the local user setup instead of the global setup if you are going to use this as your music player instead of on a headless server.
Last edited by runical (2014-07-11 21:25:01)
Offline
emeres wrote:By the way, the mpd.service file according to PKGBUILD for mpd package should have this instead for WantedBy:
WantedBy=default.targetIs seems I have the wrong config file on my computer then. Strange, as I have never edited it.
Mugi, does the user you use have read/write permissions on the files you named in the config file? So, the files in /var/lib and /run/mpd? If not, try putting these files somewhere where the user has access (for example in /home/liam/.mpd).
Also, you might consider the local user setup instead of the global setup if you are going to use this as your music player instead of on a headless server.
I will try local configuration now.
Offline