● mpd.service - Music Player Daemon
Loaded: loaded (/lib/systemd/system/mpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-04-05 12:16:27 PDT; 11s ago
Docs: man:mpd(1)
man:mpd.conf(5)
file:///usr/share/doc/mpd/user-manual.html
Process: 10161 ExecStart=/usr/bin/mpd --no-daemon $MPDCONF (code=exited, status=1/FAILURE)
Main PID: 10161 (code=exited, status=1/FAILURE)
Apr 05 12:16:26 radio systemd[1]: Starting Music Player Daemon...
Apr 05 12:16:27 radio mpd[10161]: Apr 05 12:16 : exception: Failed to bind to '[::1]:6600'
Apr 05 12:16:27 radio mpd[10161]: Apr 05 12:16 : exception: nested: Failed to bind socket: Address already in use
Apr 05 12:16:27 radio systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 05 12:16:27 radio systemd[1]: mpd.service: Failed with result 'exit-code'.
Apr 05 12:16:27 radio systemd[1]: Failed to start Music Player Daemon.
audio_output {
type "shout"
encoding "mp3"
encoder "lame"
# type "httpd"
name "Dead Pirate Radio"
# description "Dead Pirate Radio"
host "localhost"
mount "/mpd.mp3"
port "6700"
tags "yes"
# quality "5.0"
bitrate "192"
password "<password>"
# protocol "icecast2"
# device "hw:0,0" # optional
# mixer_type "hardware" # optional
# mixer_device "default" # optional
# mixer_control "PCM" # optional
# mixer_index "0" # optional
}
root@radio:~# systemctl status mpd.service
● mpd.service - Music Player Daemon
Loaded: loaded (/lib/systemd/system/mpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-04-05 12:42:00 PDT; 14min ago
Docs: man:mpd(1)
man:mpd.conf(5)
file:///usr/share/doc/mpd/user-manual.html
Process: 450 ExecStart=/usr/bin/mpd --no-daemon $MPDCONF (code=exited, status=1/FAILURE)
Main PID: 450 (code=exited, status=1/FAILURE)
Apr 05 12:41:55 radio systemd[1]: Starting Music Player Daemon...
Apr 05 12:42:00 radio mpd[450]: Apr 05 12:42 : exception: Failed to configure output in line 240
Apr 05 12:42:00 radio mpd[450]: Apr 05 12:42 : exception: nested: Need full audio format specification
Apr 05 12:42:00 radio systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 05 12:42:00 radio systemd[1]: mpd.service: Failed with result 'exit-code'.
Apr 05 12:42:00 radio systemd[1]: Failed to start Music Player Daemon.
root@radio:~# systemctl stop mpd
root@radio:~# systemctl start mpd
root@radio:~# mpc
Rick Astley - Never Gonna Give You Up.mp3
[paused] #1/3 0:00/3:32 (0%)
volume: n/a repeat: off random: off single: off consume: off
root@radio:~# systemctl status pd
Unit pd.service could not be found.
root@radio:~# systemctl status mpd
● mpd.service - Music Player Daemon
Loaded: loaded (/lib/systemd/system/mpd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-04-05 13:17:58 PDT; 17s ago
Docs: man:mpd(1)
man:mpd.conf(5)
file:///usr/share/doc/mpd/user-manual.html
Main PID: 658 (mpd)
Tasks: 6 (limit: 4915)
Memory: 13.0M
CGroup: /system.slice/mpd.service
└─658 /usr/bin/mpd --no-daemon
Apr 05 13:17:57 radio systemd[1]: Starting Music Player Daemon...
Apr 05 13:17:58 radio systemd[1]: Started Music Player Daemon.
radio@radio:~$ mpc
Rick Astley - Never Gonna Give You Up.mp3
[paused] #1/3 0:00/3:32 (0%)
volume: n/a repeat: off random: off single: off consume: off
radio@radio:~$ mpc play
Rick Astley - Never Gonna Give You Up.mp3
[paused] #1/3 0:00/3:32 (0%)
volume: n/a repeat: off random: off single: off consume: off
ERROR: Failed to enable output "Dead Pirate Radio" (httpd); Failed to bind to '[::]:8000'; Failed to bind socket: Address already in use
radio@radio:~$ systemctl status mpd
● mpd.service - Music Player Daemon
Loaded: loaded (/lib/systemd/system/mpd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-04-05 13:26:43 PDT; 29s ago
Docs: man:mpd(1)
man:mpd.conf(5)
file:///usr/share/doc/mpd/user-manual.html
Main PID: 449 (mpd)
Tasks: 6 (limit: 4915)
Memory: 41.2M
CGroup: /system.slice/mpd.service
└─449 /usr/bin/mpd --no-daemon
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:*
udp UNCONN 0 0 169.254.<sub.net?>:137 0.0.0.0:*
udp UNCONN 0 0 169.254.<?.???>:137 0.0.0.0:*
udp UNCONN 0 0 <otherip>:137 0.0.0.0:*
udp UNCONN 0 0 <myLANip>:137 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:137 0.0.0.0:*
udp UNCONN 0 0 169.254.<sub.net?>:138 0.0.0.0:*
udp UNCONN 0 0 169.254.<?.???>:138 0.0.0.0:*
udp UNCONN 0 0 <otherip>:138 0.0.0.0:*
udp UNCONN 0 0 <myLANip>:138 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:138 0.0.0.0:*
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
tcp LISTEN 0 50 0.0.0.0:445 0.0.0.0:*
tcp LISTEN 0 5 0.0.0.0:8000 0.0.0.0:*
tcp LISTEN 0 5 127.0.0.1:6600 0.0.0.0:*
tcp LISTEN 0 50 0.0.0.0:139 0.0.0.0:*
tcp ESTAB 0 0 <myLANip>:22 <myLANip>:40358
tcp LISTEN 0 128 [::]:22 [::]:*
tcp LISTEN 0 50 [::]:445 [::]:*
tcp LISTEN 0 5 [::1]:6600 [::]:*
tcp LISTEN 0 50 [::]:139 [::]:*
Apr 05 12:07 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Apr 05 12:07 : exception: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Apr 05 12:07 : exception: Failed to enable output "Dead Pirate Radio" (httpd)
Apr 05 12:07 : exception: nested: Failed to bind to '[::]:8000'
Apr 05 12:07 : exception: Failed to bind socket: Address already in use
Apr 05 12:29 : player: played "Rick Astley - Never Gonna Give You Up.mp3"
Apr 05 13:17 : exception: Failed to enable output "Dead Pirate Radio" (httpd)
Apr 05 13:17 : exception: nested: Failed to bind to '[::]:8000'
Apr 05 13:17 : exception: Failed to bind socket: Address already in use
Apr 05 13:18 : client: [0] opened from [::1]:46178
Apr 05 13:18 : client: [0] closed
Apr 05 13:25 : player: played "Rick Astley - Never Gonna Give You Up.mp3"
Apr 05 13:26 : exception: Failed to enable output "Dead Pirate Radio" (httpd)
Apr 05 13:26 : exception: nested: Failed to bind to '[::]:8000'
Apr 05 13:26 : exception: Failed to bind socket: Address already in use
Apr 05 13:26 : client: [0] opened from [::1]:39212
Apr 05 13:26 : client: [0] closed
Apr 05 13:26 : client: [1] opened from [::1]:39214
Apr 05 13:26 : exception: Failed to enable output "Dead Pirate Radio" (httpd)
Apr 05 13:26 : exception: nested: Failed to bind to '[::]:8000'
Apr 05 13:26 : exception: Failed to bind socket: Address already in use
Apr 05 13:26 : exception: Failed to enable output "Dead Pirate Radio" (httpd)
Apr 05 13:26 : exception: nested: Failed to bind to '[::]:8000'
Apr 05 13:26 : exception: Failed to bind socket: Address already in use
Apr 05 13:26 : client: [1] closed
audio_output {
# type "shout"
# type "alsa"
# encoding "mp3"
# encoder "lame"
type "httpd"
name "Dead Pirate Radio"
# description "Dead Pirate Radio"
bind_to_address "<MyLANIP>"
# host "localhost"
# mount "/mpd.mp3"
port "8001"
tags "yes"
# quality "5.0"
bitrate "192"
# password "<password>"
# protocol "icecast2"
# device "hw:0,0" # optional
# mixer_type "hardware" # optional
# mixer_device "default" # optional
# mixer_control "PCM" # optional
# mixer_index "0" # optional
}
root@radio:~# systemctl restart mpd
root@radio:~# mpc
Rick Astley - Never Gonna Give You Up.mp3
[paused] #1/3 0:00/3:32 (0%)
volume: n/a repeat: off random: off single: off consume: off
root@radio:~# mpc play
Rick Astley - Never Gonna Give You Up.mp3
[playing] #1/3 0:00/3:32 (0%)
volume: n/a repeat: off random: off single: off consume: off
● mpd.service - Music Player Daemon
Loaded: loaded (/lib/systemd/system/mpd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-04-09 19:30:48 PDT; 14min ago
Docs: man:mpd(1)
man:mpd.conf(5)
file:///usr/share/doc/mpd/user-manual.html
Main PID: 11144 (mpd)
Tasks: 6 (limit: 4915)
Memory: 13.5M
CGroup: /system.slice/mpd.service
└─11144 /usr/bin/mpd --no-daemon
Apr 09 19:30:47 radio systemd[1]: Starting Music Player Daemon...
Apr 09 19:30:48 radio systemd[1]: Started Music Player Daemon.
Apr 09 19:28 : client: [1] closed
Apr 09 19:30 : player: played "Rick Astley - Never Gonna Give You Up.mp3"
Apr 09 19:30 : client: [0] opened from [::1]:41178
Apr 09 19:30 : client: [0] closed
Apr 09 19:30 : client: [1] opened from [::1]:41180
Apr 09 19:30 : client: [1] closed
Apr 09 19:34 : player: played "Rick Astley - Never Gonna Give You Up.mp3"
Apr 09 19:37 : player: played "Rick Astley - Never Gonna Give You Up.mp3"
Apr 09 19:41 : player: played "Rick Astley - Never Gonna Give You Up.mp3"
Apr 09 19:47 : client: [2] opened from [::1]:41190
Apr 09 19:47 : client: [2] closed
root@radio:~# mpd /etc/mpd2.conf
Apr 11 18:12 : exception: Failed to bind to '[::]:6601'
Apr 11 18:12 : exception: nested: Failed to bind socket: Address already in use
Return to System configuration
Users browsing this forum: No registered users and 21 guests