Cuberite service unable to start Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
schafferm
Posts: 3
Joined: Wed May 13, 2020 8:00 pm

Cuberite service unable to start

Post by schafferm »

Hi All

Following the most recent update to DietPi I installed Cuberite, the service refuses to start with an error code of 1. Upon tying to start the service/executable myself I get the following error:

./Cuberite: /lib/arm-linux-gnueabihf/libc.so.6 version `GLIBC_2.28' not found (required by ./Cuberite)

I've confirmed it's there but likely a wrong version. Anyone else seeing this problem as well?
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Cuberite service unable to start

Post by Joulinar »

Hi,

many thanks for your report. Pls can you post following output

Code: Select all

dpkg -l libc6
ls -l /lib/arm-linux-gnueabihf | grep libc
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
schafferm
Posts: 3
Joined: Wed May 13, 2020 8:00 pm

Re: Cuberite service unable to start

Post by schafferm »

dietpi@DietPi-EXP:/mnt/dietpi_userdata/cubrite$ dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description ================================================================================================
ii libc6:armhf 2.24-11+deb9u4 armhf GNU C Library: Shared libraries

.................................................................................................

ls -l /lib/arm-linux-gnueabihf | grep libc
-rwxr-xr-x 1 root root 1234700 Feb 6 2019 libc-2.24.so
lrwxrwxrwx 1 root root 18 Jul 6 2016 libcap-ng.so.0 -> libcap-ng.so.0.0.0
-rw-r--r-- 1 root root 17988 Jul 6 2016 libcap-ng.so.0.0.0
lrwxrwxrwx 1 root root 14 May 24 2016 libcap.so.2 -> libcap.so.2.25
-rw-r--r-- 1 root root 17916 May 24 2016 libcap.so.2.25
-rw-r--r-- 1 root root 181868 Feb 6 2019 libcidn-2.24.so
lrwxrwxrwx 1 root root 15 Feb 6 2019 libcidn.so.1 -> libcidn-2.24.so
lrwxrwxrwx 1 root root 17 Sep 26 2019 libcom_err.so.2 -> libcom_err.so.2.1
-rw-r--r-- 1 root root 9568 Sep 26 2019 libcom_err.so.2.1
-rw-r--r-- 1 root root 30276 Feb 6 2019 libcrypt-2.24.so
lrwxrwxrwx 1 root root 22 May 9 2017 libcryptsetup.so.4 -> libcryptsetup.so.4.7.0
-rw-r--r-- 1 root root 143648 May 9 2017 libcryptsetup.so.4.7.0
lrwxrwxrwx 1 root root 16 Feb 6 2019 libcrypt.so.1 -> libcrypt-2.24.so
lrwxrwxrwx 1 root root 12 Feb 6 2019 libc.so.6 -> libc-2.24.so

...........................................................................
● cuberite.service - Cuberite Server (DietPi)
Loaded: loaded (/etc/systemd/system/cuberite.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-05-14 02:59:31 BST; 3min 9s ago
Process: 1175 ExecStart=/mnt/dietpi_userdata/cubrite/Cuberite --service (code=exited, status=1/FAILURE)

May 14 02:59:31 DietPi-EXP systemd[1]: Starting Cuberite Server (DietPi)...
May 14 02:59:31 DietPi-EXP systemd[1]: cuberite.service: Control process exited, code=exited status=1
May 14 02:59:31 DietPi-EXP systemd[1]: Failed to start Cuberite Server (DietPi).
May 14 02:59:31 DietPi-EXP systemd[1]: cuberite.service: Unit entered failed state.
May 14 02:59:31 DietPi-EXP systemd[1]: cuberite.service: Failed with result 'exit-code'.
....................................................................................................
dietpi@DietPi-EXP:/mnt/dietpi_userdata/cubrite$ ./Cuberite
./Cuberite: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by ./Cuberite)
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Cuberite service unable to start

Post by Joulinar »

looks like you have installed version GLIBC 2.24 but Cuberite is expecting GLIBC 2.28

Code: Select all

ii libc6:armhf 2.24-11+deb9u4 armhf GNU C Library: Shared libraries
lrwxrwxrwx 1 root root 12 Feb 6 2019 libc.so.6 -> libc-2.24.so
pls can you try running

Code: Select all

apt update
apt upgrade
Afterwads you can check if version changed to GLIBC 2.28
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
brtravel
Posts: 51
Joined: Sat Sep 16, 2017 2:04 pm

Re: Cuberite service unable to start

Post by brtravel »

@Joulinar @schafferm
Same here, I installed after updating to latest Dietpi 6.30.0, it doesn't start with status=1/FAILURE

Mine appears to be v2.24 also. I ran apt-update and apt-upgrade and it still shows v2.24 and still fails. At first and second glance, response is identical before and after to:
dpkg -l libc6
ls -l /lib/arm-linux-gnueabihf | grep libc
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Cuberite service unable to start

Post by Joulinar »

Are you running Debian Stretch? As far as I can see libc6 is on 2.24 running Stretch and 2.28 running Buster.

Code: Select all

Package libc6
jessie (oldoldstable) (libs): 2.19-18+deb8u10: amd64 armel armhf i386
stretch (oldstable) (libs): 2.24-11+deb9u4: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
buster (stable) (libs): 2.28-10: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
bullseye (testing) (libs): 2.30-7: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
schafferm
Posts: 3
Joined: Wed May 13, 2020 8:00 pm

Re: Cuberite service unable to start

Post by schafferm »

Hi

You are correct, I'm on stretch - Tried Dist-upgrade but that didn't get me to buster... time to reflash unless anyone has any other ideas?
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Cuberite service unable to start

Post by Joulinar »

It is generally not recommended to do distro (Debian) major version upgrades. In most cases it works well, perhaps some manual config adjustments required but nothing urgent. But in rare cases issues CAN be much larger. For this reason no distro would ever automate this upgrade, nor support it, neither we de.

If you want to take the risk, you can have a look to: viewtopic.php?p=18988#p18988
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
brtravel
Posts: 51
Joined: Sat Sep 16, 2017 2:04 pm

Re: Cuberite service unable to start

Post by brtravel »

Joulinar wrote: Thu May 14, 2020 2:00 pm Are you running Debian Stretch? As far as I can see libc6 is on 2.24 running Stretch and 2.28 running Buster.

Code: Select all

Package libc6
jessie (oldoldstable) (libs): 2.19-18+deb8u10: amd64 armel armhf i386
stretch (oldstable) (libs): 2.24-11+deb9u4: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
buster (stable) (libs): 2.28-10: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
bullseye (testing) (libs): 2.30-7: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x
I've been putting off the Buster upgrade. Is Bullseye close (XU4)?
User avatar
Joulinar
Posts: 2584
Joined: Sat Nov 16, 2019 12:49 am

Re: Cuberite service unable to start

Post by Joulinar »

I don't expect official release of Debian Bullseye before mid of 2021. Means no DietPi support until official release was done. Therefore the Debian version of choice should be Buster.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply