Moode Forum
[PROBLEM] lib-config: Connection to MPD failed - 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: [PROBLEM] lib-config: Connection to MPD failed (/showthread.php?tid=2870)

Pages: 1 2


lib-config: Connection to MPD failed - Meestor_X - 08-08-2020

System Parameters:
moOde release = 6.4.2 2020-02-12
Raspbian OS = 10.4
Linux kernel = 4.19.97-v7+ #1293
Platform = Pi-3B+ 1GB v1.3
Architecture = armv7l (32-bit)
System uptime = up 2 minutes


Moode.log:
pi@moode:/var/log $ cat moode.log

20200808 173001 worker: -- Start
20200808 173001 worker: Successfully daemonized
20200808 173001 worker: Integrity check (passed)
20200808 173001 worker: Session loaded
20200808 173001 worker: Debug logging (off)
20200808 173001 worker: Device raw: (0Confusedndrpihifiberry|1:empty|i2s:HiFiBerry DAC+ Pro)
20200808 173001 worker: Device cfg: (HiFiBerry DAC+ Pro|0|0|Digital|0)
20200808 173002 worker: ALSA volume set to (0%)
20200808 173002 worker: -- System
20200808 173003 worker: Host name     (moode)
20200808 173003 worker: moOde release (6.4.2 2020-02-12)
20200808 173003 worker: Raspbian OS   (10.4)
20200808 173003 worker: Linux kernel  (4.19.97-v7+ #1293)
20200808 173003 worker: Platform      (Pi-3B+ 1GB v1.3)
20200808 173003 worker: Architecture  (armv7l)
20200808 173003 worker: MPD version   ()
20200808 173003 worker: CPU governor  (ondemand)
20200808 173004 worker: USB boot enabled
20200808 173004 worker: File system expanded
20200808 173004 worker: HDMI port on
20200808 173005 worker: File check (OK)
20200808 173005 worker: -- Network
20200808 173005 worker: eth0 exists
20200808 173005 worker: IP addr (192.168.1.48)
20200808 173005 worker: Netmask (255.255.255.0)
20200808 173005 worker: Gateway (192.168.1.1)
20200808 173006 worker: Pri DNS (192.168.1.1)
20200808 173006 worker: Domain  (hitronhub.home)
20200808 173006 worker: wlan0 exists
20200808 173006 worker: wifi country (US)
20200808 173006 worker: wlan0 SSID is blank
20200808 173006 worker: eth0 addr exists, AP mode not started
20200808 173006 worker: wlan0 address not assigned
20200808 173006 worker: -- Audio
20200808 173007 worker: ALSA outputs unmuted
20200808 173007 worker: ALSA card number (0)
20200808 173007 worker: Audio output (I2S audio device)
20200808 173007 worker: Audio device (HiFiBerry DAC+ Pro)
20200808 173007 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20200808 173007 worker: ALSA mixer name (Digital)
20200808 173007 worker: MPD volume control (software)
20200808 173007 worker: Hdwr volume controller exists
20200808 173007 worker: Max ALSA volume (100%)
20200808 173007 worker: -- Services
20200808 173007 worker: Reset renderer active state
20200808 173008 worker: MPD conf updated
20200808 173008 worker: MPD started
20200808 173011 worker: MPD connection refused
20200808 173011 worker: Configure MPD outputs
20200808 173012 worker: 
20200808 173012 worker: 
20200808 173012 worker: 
20200808 173012 worker: 
20200808 173012 worker: 
20200808 173012 worker: 
20200808 173012 worker: 
20200808 173012 worker: MPD crossfade (1 secs)
20200808 173012 worker: Audio source (Local)
20200808 173012 worker: Output device (Local)
20200808 173012 worker: Airplay receiver started
20200808 173012 worker: Bluetooth controller started
20200808 173020 worker: Bluetooth controller initialized
20200808 173020 worker: Bluetooth pairing agent started
20200808 173020 worker: USB auto-mounter (udisks-glue)
20200808 173020 worker: -- Music sources
20200808 173020 worker: USB sources (none attached)
20200808 173020 worker: NAS and UPnP sources (none configured)
20200808 173020 worker: -- Miscellaneous
20200808 173020 worker: Saved MPD vol level (0)
20200808 173020 worker: Preamp volume level (0)
20200808 173020 worker: MPD volume level (75) restored
20200808 173020 worker: ALSA volume level (100%)
20200808 173020 worker: Auto-play (Off)
20200808 173020 worker: Auto-shuffle service (Off)
20200808 173020 worker: Maintenance interval (3 hrs)
20200808 173020 worker: Screen saver activation (Never)
20200808 173021 worker: Session permissions (OK)
20200808 173021 worker: Watchdog started
20200808 173021 worker: Ready
20200808 173021 watchdog: MPD restarted (check syslog for errors)
20200808 173035 engine-mpd: Connection to MPD failed
20200808 173037 watchdog: MPD restarted (check syslog for errors)
20200808 173041 engine-mpd: Connection to MPD failed
20200808 173044 watchdog: MPD restarted (check syslog for errors)
20200808 173047 engine-mpd: Connection to MPD failed
20200808 173050 watchdog: MPD restarted (check syslog for errors)
20200808 173053 engine-mpd: Connection to MPD failed

Syslog:
pi@moode:/var/log $ cat syslog

Aug  8 14:55:16 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:16 moode mpd[12400]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:16 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:16 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:22 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:22 moode mpd[12449]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:22 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:22 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:28 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:28 moode mpd[12498]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:28 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:28 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:34 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:34 moode mpd[12539]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:34 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:34 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:40 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:40 moode mpd[12589]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:40 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:40 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:47 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:47 moode mpd[12639]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:47 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:47 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:53 moode systemd[1]: Started Music Player Daemon.
Aug  8 14:55:53 moode mpd[12688]: /usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory
Aug  8 14:55:53 moode systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Aug  8 14:55:53 moode systemd[1]: mpd.service: Failed with result 'exit-code'.
Aug  8 14:55:59 moode systemd[1]: Started Music Player Daemon.


Syslog repeats over and over and over...


RE: lib-config: Connection to MPD failed - Meestor_X - 08-10-2020

Anyone?


RE: lib-config: Connection to MPD failed - TheOldPresbyope - 08-10-2020

@Meestor_X

Code:
/usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory

This is an system file. It is missing. Why? Possibly some editing on your part. Possibly a failing uSD card. Whatever the reason, something is wrong with the file system.

Simplest remedy? Start over with a fresh moOde image.



Regards,
Kent


RE: lib-config: Connection to MPD failed - Meestor_X - 08-10-2020

(08-10-2020, 09:11 PM)TheOldPresbyope Wrote: @Meestor_X

Code:
/usr/local/bin/mpd: error while loading shared libraries: libzzip-0.so.13: cannot open shared object file: No such file or directory

This is an system file. It is missing. Why? Possibly some editing on your part. Possibly a failing uSD card. Whatever the reason, something is wrong with the file system.

Simplest remedy? Start over with a fresh moOde image.



Regards,
Kent

Thank you, Kent. 

Well, it wasn't anything I knowingly did, of course... ;-)

I simply did several month's worth of "in place" updates until I hit 6.4.2 and then got this error.

For reasons we discussed before, I'm not ready to do a fresh image unless I simply cannot solve this any other way. I would rather stay with an older version than go through the hassle of re-configuring everything again. (And yes, I do have an image of this setup (and previous ones) in case of any failure).

I'll see if I can find that missing file.


RE: lib-config: Connection to MPD failed - Meestor_X - 08-10-2020

Any suggestion on which one of these might be the correct one?

https://rpmfind.net/linux/rpm2html/search.php?query=libzzip-0.so.13

And what folder it should go into?


RE: lib-config: Connection to MPD failed - TheOldPresbyope - 08-10-2020

@Meestor_X



Let's see what happens when I query a current 6.7.1 system:

Code:
pi@moodeVU:~ $ sudo find / -name libzzip-0.so\* -exec ls -l \{\} \;
lrwxrwxrwx 1 root root 15 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.10 -> libzzip-0.so.13
lrwxrwxrwx 1 root root 15 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.12 -> libzzip-0.so.13
lrwxrwxrwx 1 root root 15 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.11 -> libzzip-0.so.13
lrwxrwxrwx 1 root root 10 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so -> libzzip.so
lrwxrwxrwx 1 root root 20 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13 -> libzzip-0.so.13.0.62
-rw-r--r-- 1 root root 22416 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13.0.62



So, there's actually only one real file: /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13.0.62

Then there's a link to it: /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13

Then there's 3 links to that link.

You might be missing the actual file or one or more of the links or both. You should try the same command on your moOde player to see what's actually there.


Assuming it's the file itself, let's ask the RaspberryPi OS repository what package contains libzzip-0

Code:
pi@moodeVU:~ $ apt-cache search libzzip-0
libzzip-0-13 - library providing read access on ZIP-archives - library


Ok, so you could try reinstalling it by executing this command

Code:
sudo apt-get install libzzip-0-13


Will this restore missing links? I don't know without examining the contents of the package. If it doesn't, then you could try recreating them by hand. This requires using the 'ln' command. I'll hold off until you tell us what's actually present on your system.

Regards,
Kent


RE: lib-config: Connection to MPD failed - Meestor_X - 08-11-2020

(08-10-2020, 11:42 PM)TheOldPresbyope Wrote: @Meestor_X



Let's see what happens when I query a current 6.7.1 system:

Code:
pi@moodeVU:~ $ sudo find / -name libzzip-0.so\* -exec ls -l \{\} \;
lrwxrwxrwx 1 root root 15 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.10 -> libzzip-0.so.13
lrwxrwxrwx 1 root root 15 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.12 -> libzzip-0.so.13
lrwxrwxrwx 1 root root 15 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.11 -> libzzip-0.so.13
lrwxrwxrwx 1 root root 10 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so -> libzzip.so
lrwxrwxrwx 1 root root 20 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13 -> libzzip-0.so.13.0.62
-rw-r--r-- 1 root root 22416 Mar  4  2019 /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13.0.62



So, there's actually only one real file: /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13.0.62

Then there's a link to it: /usr/lib/arm-linux-gnueabihf/libzzip-0.so.13

Then there's 3 links to that link.

You might be missing the actual file or one or more of the links or both. You should try the same command on your moOde player to see what's actually there.


Assuming it's the file itself, let's ask the RaspberryPi OS repository what package contains libzzip-0

Code:
pi@moodeVU:~ $ apt-cache search libzzip-0
libzzip-0-13 - library providing read access on ZIP-archives - library


Ok, so you could try reinstalling it by executing this command

Code:
sudo apt-get install libzzip-0-13


Will this restore missing links? I don't know without examining the contents of the package. If it doesn't, then you could try recreating them by hand. This requires using the 'ln' command. I'll hold off until you tell us what's actually present on your system.

Regards,
Kent
Code:
pi@moode:/usr/local/bin $ cd ~
pi@moode:~ $ sudo find / -name libzzip-0.so\* -exec ls -l \{\} \;
pi@moode:~ $

Your linux-foo is impressive, btw.


RE: lib-config: Connection to MPD failed - Meestor_X - 08-11-2020

Double-post. Whoops!


RE: lib-config: Connection to MPD failed - TheOldPresbyope - 08-11-2020

@Meestor_X

I just downloaded and read the contents of the libzzip-0-13 package. It *does* include all the symbolic links (and a few other things which I believe we can safely ignore)

So, one more test you might try is ask raspbian to show the status of this package on your player:

Code:
dpkg --get-selections | grep libzzip


Here's what my player reports

Code:
pi@moodeVU:~ $ dpkg --get-selections|grep libzzip
libzzip-0-13:armhf                install
libzzip-dev                    install


This test might report something or it might report nothing. In any case, you can try what I suggested before to reinstall the missing file and links

Code:
sudo apt-get install libzzip-0-13


I'm still puzzled how these files got deleted and I can't help wondering what else is missing or corrupt in your installation.

Regards,
Kent


RE: lib-config: Connection to MPD failed - Meestor_X - 08-11-2020

(08-11-2020, 12:15 PM)TheOldPresbyope Wrote: @Meestor_X

I just downloaded and read the contents of the libzzip-0-13 package. It *does* include all the symbolic links (and a few other things which I believe we can safely ignore)

So, one more test you might try is ask raspbian to show the status of this package on your player:

Code:
dpkg --get-selections | grep libzzip


Here's what my player reports

Code:
pi@moodeVU:~ $ dpkg --get-selections|grep libzzip
libzzip-0-13:armhf                install
libzzip-dev                    install


This test might report something or it might report nothing. In any case, you can try what I suggested before to reinstall the missing file and links

Code:
sudo apt-get install libzzip-0-13


I'm still puzzled how these files got deleted and I can't help wondering what else is missing or corrupt in your installation.

Regards,
Kent



Thank you. 
I'll try that command and see. Yeah, it's a mystery! If this doesn't work, I'll go back to my backed up image and start updating, but testing between each update to see where the mpd error comes up first. Not that it really matters as most will just start fresh I'm sure...