You are not logged in.
Pages: 1
hello, i've switched to arch recently,
love it so far.
I've been trying to start mpd, with no success :
systemctl status mpd.service
mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-02-21 12:52:02 CET; 3s ago
Process: 1924 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILURE)
Main PID: 1924 (code=exited, status=1/FAILURE)
I cant really see what goes wrong, I get no error message on "systemctl start mpd.service", and I dont see anything in "journalctl" :
Feb 21 12:30:42 SGC cantata[1694]: libpng warning: iCCP: known incorrect sRGB profile
Feb 21 12:30:42 SGC cantata[1694]: libpng warning: iCCP: known incorrect sRGB profile
Feb 21 12:30:42 SGC cantata[1694]: QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal() error: "org.freedesktop.DBus.Error.ServiceUnknown"
Feb 21 12:35:01 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:35:01 SGC baloo_file[507]: Normal
Feb 21 12:35:44 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:35:44 SGC baloo_file[507]: Normal
Feb 21 12:36:50 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:36:50 SGC baloo_file[507]: Normal
Feb 21 12:39:45 SGC konsole[659]: org.kde.kurlfilter-ikws: "d2a291c6bf4fad8aaf7442433364ab6bfb2eecd969885543bfd1e4071db8633b"
Feb 21 12:40:26 SGC konsole[659]: org.kde.kurlfilter-ikws: "d2a291c6bf4fad8aaf7442433364ab6bfb2eecd969885543bfd1e4071db8633b"
Feb 21 12:42:48 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:42:48 SGC baloo_file[507]: Normal
Feb 21 12:43:43 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:43:43 SGC baloo_file[507]: Normal
Feb 21 12:43:52 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:43:52 SGC baloo_file[507]: Normal
Feb 21 12:45:45 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:45:45 SGC baloo_file[507]: Normal
Feb 21 12:45:48 SGC konsole[659]: org.kde.kurlfilter-ikws: "systemctl status mpd.service ● mpd.service - Music Player Daemon Loaded: loaded (/usr/lib/systemd/system/mpd.serv
Feb 21 12:45:56 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:45:56 SGC baloo_file[507]: Normal
Feb 21 12:46:07 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:46:07 SGC baloo_file[507]: Normal
Feb 21 12:48:52 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:48:52 SGC baloo_file[507]: Normal
Feb 21 12:49:07 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:49:07 SGC baloo_file[507]: Normal
Feb 21 12:49:40 SGC konsole[659]: org.kde.kurlfilter-ikws: "Feb 21 12:45:56 SGC baloo_file[507]: Normal Feb 21 12:46:07 SGC baloo_file[507]: "/home/demo/.xsession-errors" Fe
Feb 21 12:49:44 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:49:44 SGC baloo_file[507]: Normal
Feb 21 12:50:04 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:50:04 SGC baloo_file[507]: Normal
Feb 21 12:50:28 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:50:28 SGC baloo_file[507]: Normal
Feb 21 12:51:00 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:51:00 SGC baloo_file[507]: Normal
Feb 21 12:53:49 SGC konsole[659]: org.kde.kurlfilter-ikws: "Feb 21 12:14:12 SGC kded5[480]: kf5.kservice.sycoca: Trying to open ksycoca from "/home/demo/.cache/ksycoca5" Feb
Feb 21 12:54:03 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:54:03 SGC baloo_file[507]: Normal
Feb 21 12:54:56 SGC konsole[659]: org.kde.kurlfilter-ikws: "systemctl status mpd.service ● mpd.service - Music Player Daemon Loaded: loaded (/usr/lib/systemd/system/mpd.serv
Feb 21 12:55:01 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:55:01 SGC baloo_file[507]: Normal
Feb 21 12:55:17 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:55:17 SGC baloo_file[507]: Normal
Feb 21 12:55:36 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:55:36 SGC baloo_file[507]: Normal
Feb 21 12:55:48 SGC baloo_file[507]: "/home/demo/.xsession-errors"
Feb 21 12:55:48 SGC baloo_file[507]: Normal
Here's my /etc/mpd.conf :
# See: /usr/share/doc/mpd/mpdconf.example
music_directory "~/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
bind_to_address "127.0.0.1"
port "6600"
audio_output {
type "alsa"
name "Output"
}
#pid_file "/run/mpd/mpd.pid"
#db_file "/var/lib/mpd/mpd.db"
#state_file "/var/lib/mpd/mpdstate"
#playlist_directory "/var/lib/mpd/playlists"
Thanks in advance,
Last edited by demo (2015-02-21 13:14:00)
Offline
Mpd runs as a system service, you're running journalctl as a user. Have a look at `sudo journalctl` or sudo systemctl status mpd (should tell you the relevant journal-entries directly)
Offline
Mpd runs as a system service
In this case the system service is indeed the one that failed, but mpd also provides a user service file and all the paths in demo's /etc/mpd.conf (even though that is the default config for the system service) seem to indicate a user service might be more appropriate.
Last edited by Raynman (2015-02-21 12:53:17)
Offline
Thanks,
The relevant journal showed me the error (since it was running as system, "~/.mpd/mpd.db" wasnt where i thought it was)
Offline
Spider.007 wrote:Mpd runs as a system service
In this case the system service is indeed the one that failed, but mpd also provides a user service file and all the paths in demo's /etc/mpd.conf (even though that is the default config for the system service) seem to indicate a user service might be more appropriate.
Indeed, I've made the appropriate change to run it as user service
(put my mdp.conf in ~/.mpd, and add "mpd ~/.mpd/mpd.conf" to my home ".profile")
Last edited by demo (2015-02-21 13:13:41)
Offline
Great, then you can mark this topic as solved
Offline
Pages: 1