Moode Forum
[SOLVED] MPD service won't start - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] MPD service won't start (/showthread.php?tid=4862)



MPD service won't start - zeitchef - 05-12-2022

Since the last couple of hours, I've been getting "MPD Error: OpenMpdSock() failed" notifications in the UI, rendering it unusable. 

Checking the syslog and I see the following:

Code:
May 12 16:47:40 moode2 systemd[1]: Failed to start Music Player Daemon.
May 12 16:47:45 moode2 winbindd[757]: [2022/05/12 16:47:45.597129,  0] ../../source3/rpc_server/rpc_ncacn_np.c:454(rpcint_dispatch)
May 12 16:47:45 moode2 winbindd[757]:   rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
May 12 16:47:45 moode2 winbindd[757]: [2022/05/12 16:47:45.599135,  0] ../../source3/rpc_server/rpc_ncacn_np.c:454(rpcint_dispatch)
May 12 16:47:45 moode2 winbindd[757]:   rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
May 12 16:47:46 moode2 systemd[1]: Starting Music Player Daemon...
May 12 16:47:47 moode2 mpd[2444]: exception: Error in /etc/mpd.conf line 1; Letter expected
May 12 16:47:47 moode2 systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
May 12 16:47:47 moode2 systemd[1]: mpd.service: Failed with result 'exit-code'.
May 12 16:47:47 moode2 systemd[1]: Failed to start Music Player Daemon.

Opened up the /etc/mpd.conf and found this, which seems a bit odd:


Code:
<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>&<88>^V^C'<91>&<89>


I tried rebooting and manually restarting the MPD service, but nothing helps. Can you give me an example of a working mpd.conf?


RE: MPD service won't start - TheOldPresbyope - 05-12-2022

@zeitchef

The good news is, if you simply delete /etc/mpd.conf (as root of course) then moOde will generate a new one. See the code at about line 393 in /var/www/command/worker.php

Better figure out what overwrote it, though, or you're likely to be regenerating a lot!

ETA: don't sweat the DCE/RPC error. It's known; annoying but apparently harmless.

Regards,
Kent


RE: MPD service won't start - zeitchef - 05-13-2022

(05-12-2022, 07:55 PM)TheOldPresbyope Wrote: @zeitchef

The good news is, if you simply delete /etc/mpd.conf (as root of course) then moOde will generate a new one. See the code at about line 393 in /var/www/command/worker.php

Better figure out what overwrote it, though, or you're likely to be regenerating a lot!

ETA: don't sweat the DCE/RPC error. It's known; annoying but apparently harmless.

Regards,
Kent

@TheOldPresbyope 

Thanks, Kent! That did the trick for me. Hoping it was just an anomaly. 
Have a great weekend,
Scott