You are not logged in.
any time when i tried to using a mpd client i got this:
[freenight@localhost ~]$sonata
2010-03-14 02:17:32 timed out
2010-03-14 02:17:32 Not connectedi have installed and configure the mpd as what arch wiki entry http://wiki.archlinux.org/index.php/Mpd … _procedure said.. but the client just cann't connect to the server, why?
the /etc/mpd.conf:
music_directory "/home/freenight/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
error_file "/var/log/mpd/mpd.error"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
user "mpd"Last edited by freenight (2010-03-13 13:01:35)
Offline
New versions of mpd need to have an entry in hosts.allow
add something like "mpd: ALL"
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
New versions of mpd need to have an entry in hosts.allow
add something like "mpd: ALL"
thanks rasi, but it seems like didn't work for me
Offline
New versions of mpd need to have an entry in hosts.allow
add something like "mpd: ALL"
You'll get a 'connection refused by server' error if that's the case.
freenight,
Kill mpd with 'mpd --kill', restart it with 'mpd -v', and post the output.
Offline
[freenight@sunny awesome]$ sudo mpd -v
config: loading file /etc/mpd.conf
listen: binding to any address
listen: binding to socket address [::]:6600
listen: binding to socket address 0.0.0.0:6600
path: path_set_fs_charset: fs charset is: UTF-8
failed to stat music directory "/home/freenight/music": Permission denied
database: reading DB
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
output: Successfully detected a alsa audio device
daemon: opening pid file
[freenight@sunny awesome]$ daemon: daemonized!
daemon: writing pid fileOffline
failed to stat music directory "/home/freenight/music": Permission denied
You may want to look at the permissions on that directory. I don't use MPD as user mpd, so I don't know what the set up is like.
Offline
TCP wrappers syntax changed again, unannounced. The man page is now incorrect.
Try to find an up-to-date one somewhere on the 'net; if you're trying to call shell commands from hosts.allow, you now need the word 'spawn' in front of them. That seemed to fix the problem for me, anyway; there might be other differences too.
~Felix.
Offline