You are not logged in.

#1 2010-06-30 21:52:21

ApotheoZ
Member
Registered: 2009-08-10
Posts: 40

[SOLVED] MPD - Failde to listen on 6600

Hi,

I can't run mpd well.

Here are some informations

[agrum@io ~]$ sudo /etc/rc.d/mpd restart
Password: 
:: Stopping Music Player Daemon                                          [DONE] 
:: Starting Music Player Daemon                                          [DONE] 
[agrum@io ~]$
[agrum@io ~]$ mpd --stdout
listen: Failed to listen on *:6600: Address already in use
Aborted
music_directory       "/mnt/windows/FTP/Musique/"         # Your music dir.
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                  "agrum"
# Binding to address and port causing problems in mpd-0.14.2 best to leave
# commented.
# bind_to_address       "127.0.0.1"
# port                  "6
[agrum@io ~]$ ls -l /var/lib/mpd/
total 1988
-rwxrwxrwx 1 agrum users 2023281 Jul  1 01:04 mpd.db
-rwxrwxrwx 1 agrum users     139 Jul  1 01:43 mpdstate
drwxrwxrwx 2 agrum users    4096 Jun 27 18:35 playlists
600"
[agrum@io ~]$ ls -l /var/log/mpd/
total 492
-rwxrwxrwx 1 agrum users      0 Jul  1 00:31 mpd.error
-rwxrwxrwx 1 agrum users 496520 Jul  1 01:04 mpd.log
[agrum@io ~]$ ls -l /var/run/mpd/
total 4
-rw-r--r-- 1 agrum users 5 Jul  1 01:38 mpd.pid
[agrum@io ~]$ ls -l /mnt/windows/FTP/Musique/
total 84
drwxrwxrwx 1 root root  4096 Jun 30 15:33 B.O
drwxrwxrwx 1 root root  4096 Jun 24 23:05 Club_life
drwxrwxrwx 1 root root  4096 Jun 24 23:05 Crystal_Method
drwxrwxrwx 1 root root  4096 Jun 24 23:05 Daft_Punk
drwxrwxrwx 1 root root  8192 Jun 24 23:06 Digitalism
drwxrwxrwx 1 root root  4096 Jun 24 23:06 DJ_Antoine
drwxrwxrwx 1 root root  4096 Jun 30 15:34 Dub
drwxrwxrwx 1 root root  8192 Jun 30 21:02 Electro
drwxrwxrwx 1 root root 12288 Jun 24 23:08 Electro_Dustri
drwxrwxrwx 1 root root  4096 Jun 24 23:08 Justice Discography
drwxrwxrwx 1 root root  8192 Jun 24 23:09 Vitalic
[agrum@io ~]$ mpc stats
Artists:    563
Albums:     677
Songs:     4326

Play Time:    0 days, 0:00:00
Uptime:       0 days, 0:12:31
DB Updated:   Thu Jul  1 01:04:48 2010
DB Play Time: 13 days, 11:17:01
[agrum@io ~]$ netstat -tulpan | grep 6600
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 :::6600                 :::*                    LISTEN      2245/mpd

I think i gave you all the need stuff.

I hope you can help me.

Last edited by ApotheoZ (2010-07-01 10:05:06)

Offline

#2 2010-06-30 22:35:39

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] MPD - Failde to listen on 6600

What exactly is the problem? Looks all fine to me.. Did you install a client, e.g. Sonata or ncmpcpp?

P.S.: "MPD - Failde to listen on 6600" - its just because an mpd instance is already running, since you started the daemon in /etc/rc.d/. Try to connect with a client and see if it works.

Last edited by hokasch (2010-06-30 22:37:24)

Offline

#3 2010-07-01 10:04:47

ApotheoZ
Member
Registered: 2009-08-10
Posts: 40

Re: [SOLVED] MPD - Failde to listen on 6600

I thought mpd was not working with the mpc stats prompt but in fact it was just because i didn't have any playlist.
After installing ario all was fine.

As you said, everything was ok.

Offline

Board footer

Powered by FluxBB