Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Open MPDSOCK Failed
#1
Hi Tim and Crew,

Since updating to 8.3.2 it's been kind of a hot mess.

Latest tonight on the sender unit I'm receiving open mpd sock failed.

ALSO-- yes it was streaming radio previously, yes it was working with spotify, then the error. Also please note I can not disable the sender daemon.  

All the error logs posted below.

Please advise

Code:
pi@AudioController:~ $ moodeutl -l
20230427 222803 worker: --
20230427 222803 worker: -- Start moOde 8 series
20230427 222803 worker: --
20230427 222803 worker: Successfully daemonized
20230427 222803 worker: Waiting for Linux startup...
20230427 222815 worker: Linux startup complete
20230427 222815 worker: Boot config backed up
20230427 222817 worker: File check (OK)
20230427 222818 worker: Session vacuumed
20230427 222818 worker: Session loaded
20230427 222818 worker: Debug logging (OFF)
20230427 222818 worker: --
20230427 222818 worker: -- Audio debug
20230427 222818 worker: --
20230427 222818 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20230427 222818 worker: MPD config: (0: | mixer:(Digital) | card:0)
20230427 222818 worker: ALSA mixer actual (PCM)
20230427 222819 worker: ALSA PCM volume set to (0%)
20230427 222819 worker: --
20230427 222819 worker: -- System
20230427 222819 worker: --
20230427 222821 worker: Host      (AudioController)
20230427 222821 worker: Hardware  (Pi-4B 1.5 4GB)
20230427 222821 worker: moOde     (8.3.2 2023-04-21)
20230427 222821 worker: RaspiOS   (11.3)
20230427 222821 worker: Kernel    (6.1.21-v8+ #1642)
20230427 222821 worker: Procarch  (aarch64, 64-bit)
20230427 222821 worker: MPD ver   (0.23.12)
20230427 222821 worker: CPU gov   (performance)
20230427 222821 worker: Userid    (pi)
20230427 222821 worker: Homedir   (/home/pi)
20230427 222821 worker: USB boot  (enabled)
20230427 222821 worker: File sys  (expanded)
20230427 222821 worker: HDMI port (Off)
20230427 222821 worker: Sys LED0  (Off)
20230427 222821 worker: Sys LED1  (Off)
20230427 222821 worker: --
20230427 222821 worker: -- Network
20230427 222821 worker: --
20230427 222821 worker: eth0 adapter exists
20230427 222821 worker: eth0 address check (Off)
20230427 222821 worker: IP addr (192.168.1.15)
20230427 222821 worker: Netmask (255.255.255.0)
20230427 222821 worker: Gateway (192.168.1.1)
20230427 222821 worker: Pri DNS (8.8.8.8)
20230427 222821 worker: Domain  ()
20230427 222821 worker: wlan0 adapter does not exist
20230427 222821 worker: --
20230427 222821 worker: -- Software update
20230427 222821 worker: --
20230427 222821 worker: Automatic check (On)
20230427 222821 worker: Checking for available update...
20230427 222822 worker: Software is up to date
20230427 222822 worker: --
20230427 222822 worker: -- Audio config
20230427 222822 worker: --
20230427 222822 worker: MPD conf update skipped (Tx On)
20230427 222822 worker: ALSA card number (0)
20230427 222822 worker: MPD audio output (Pi HDMI 1)
20230427 222822 worker: Audio formats (U8, S16_LE)
20230427 222822 worker: ALSA mixer name (Digital)
20230427 222822 worker: MPD mixer type ()
20230427 222822 worker: Hdwr volume controller not detected
20230427 222822 worker: ALSA output mode (Default: plughw)
20230427 222822 worker: ALSA loopback (On)
20230427 222822 worker: Reset renderer active flags
20230427 222822 worker: CamillaDSP configuration (off)
20230427 222822 worker: CamillaDSP volume sync   (off)
20230427 222822 worker: CamillaDSP volume range  (60)
20230427 222822 worker: --
20230427 222822 worker: -- File sharing
20230427 222822 worker: --
20230427 222822 worker: SMB file sharing (Off)
20230427 222822 worker: NFS file sharing (Off)
20230427 222822 worker: --
20230427 222822 worker: -- MPD startup
20230427 222822 worker: --
20230427 222822 worker: MPD started
20230427 222825 worker: MPD connection refused
20230427 222825 worker: MPD crossfade (off)
20230427 222825 worker: MPD ignore CUE files (yes)
20230427 222825 worker: --
20230427 222825 worker: -- Music sources
20230427 222825 worker: --
20230427 222825 worker: USB sources
20230427 222825 worker: No drives found
20230427 222825 worker: NAS sources
20230427 222825 worker: None configured
20230427 222825 worker: --
20230427 222825 worker: -- Feature availability
20230427 222825 worker: --
20230427 222825 worker: Input select (available)
20230427 222825 worker: Input (MPD)
20230427 222825 worker: Output (Pi HDMI 1)
20230427 222849 worker: Bluetooth (available: started)
20230427 222849 worker: Pairing agent (started)
20230427 222849 worker: AirPlay renderer (available: started)
20230427 222849 worker: Spotify renderer (available: started)
20230427 222849 worker: Squeezelite (available)
20230427 222849 worker: RoonBridge renderer (not installed)
20230427 222849 worker: Multiroom sender (available: started)
20230427 222849 worker: Multiroom receiver (available)
20230427 222849 worker: UPnP renderer (available)
20230427 222849 worker: DLNA server (available)
20230427 222849 worker: GPIO button handler (available)
20230427 222849 worker: Stream recorder (available: not installed)
20230427 222849 worker: HTTPS-Only mode (n/a)
20230427 222849 worker: --
20230427 222849 worker: -- Other
20230427 222849 worker: --
20230427 222849 worker: USB volume knob (Off)
20230427 222849 worker: USB auto-mounter (devmon)
20230427 222849 worker: Saved MPD vol level (0)
20230427 222849 worker: Preamp volume level (0)
20230427 222849 worker: MPD volume level (26) restored
20230427 222849 worker: ALSA volume level (None)
20230427 222849 worker: Auto-play (Off)
20230427 222850 worker: LocalUI (Off)
20230427 222850 worker: Automatic CoverView (Off)
20230427 222850 worker: On-screen keyboard (Off)
20230427 222850 worker: Library scope (all)
20230427 222850 worker: View reset to playback
20230427 222850 worker: Maintenance interval (360 minutes)
20230427 222850 worker: Screen saver activation (Never)
20230427 222850 worker: Session permissions (OK)
20230427 222850 worker: --
20230427 222850 worker: -- Startup complete
20230427 222850 worker: --
20230427 222850 worker: Mount monitor (off)
20230427 222850 worker: Watchdog monitor (started)
20230427 222850 worker: Ready
20230427 222850 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222853 worker: Job cpugov
20230427 222857 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222903 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222909 worker: Job cpugov
20230427 222909 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222916 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222922 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222925 command/index.php: Connection to MPD failed
20230427 222928 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222935 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222941 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222947 watchdog: Error: MPD restarted (check syslog for messages)
20230427 222954 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223000 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223007 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223013 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223019 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223026 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223032 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223038 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223045 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223051 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223057 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223104 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223110 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223117 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223123 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223129 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223136 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223142 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223148 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223155 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223201 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223207 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223214 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223220 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223227 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223233 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223239 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223246 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223252 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223258 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223305 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223311 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223317 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223324 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223330 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223336 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223343 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223349 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223356 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223402 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223408 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223415 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223421 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223427 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223434 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223440 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223446 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223453 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223459 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223505 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223512 watchdog: Error: MPD restarted (check syslog for messages)
20230427 223518 watchdog: Error: MPD restarted (check syslog for messages)
Code:
pi@AudioController:/var/log $ tail syslog
Apr 27 23:33:10 AudioController mpd[6251]: Apr 27 23:33 : exception: Failed to configure output in line 49; Unrecognized mixer type
Apr 27 23:33:10 AudioController systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 27 23:33:10 AudioController systemd[1]: mpd.service: Failed with result 'exit-code'.
Apr 27 23:33:10 AudioController systemd[1]: Failed to start Music Player Daemon.
Apr 27 23:33:17 AudioController systemd[1]: Starting Music Player Daemon...
Apr 27 23:33:17 AudioController mpd[6261]: Ignoring the 'pid_file' setting in systemd mode
Apr 27 23:33:17 AudioController mpd[6261]: Apr 27 23:33 : exception: Failed to configure output in line 49; Unrecognized mixer type
Apr 27 23:33:17 AudioController systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 27 23:33:17 AudioController systemd[1]: mpd.service: Failed with result 'exit-code'.
Apr 27 23:33:17 AudioController systemd[1]: Failed to start Music Player Daemon.


   
   


Reply
#2
(04-28-2023, 02:48 AM)dmueller Wrote: ...
20230427 222821 worker: HDMI port (Off)
...
20230427 222822 worker: MPD audio output (Pi HDMI 1)pi@AudioController:/var/log $ tail syslog
...

Looks to me that MPD is (was) set to use the HDMI port as output, but it is disabled.
Reply
#3
Couple of observations:

1. The log shows an old version of RaspiOS. The 832 images are at 11.6
Code:
"20230427 222821 worker: RaspiOS   (11.3)"

2. Wrong ALSA mixer name for HDMI 1 audio output. It should be "PCM"
Code:
20230427 222822 worker: MPD audio output (Pi HDMI 1)
20230427 222822 worker: ALSA mixer name (Digital)

It looks like this system may have had another audio device configured prior to reconfiguring it as a Multiroom Sender?
Your best bet is to start with a fresh image. I have a small multiroom setup plus two other systems and I always go with fresh images plus settings restore. It's takes less than half hour for all five systems. That way if there are any issues I know it's not due to something that resulted from accumulated in-place updates.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: