Jump to content

First install on new VPS emby fails to start with core dump


Recommended Posts

Posted

Hello,

 

OS:  Ubuntu 18.04.5 LTS  Linux 4.9.230-mainline-rev1 #1 SMP Tue Jul 21 14:28:09 UTC 2020 armv7l armv7l armv7l GNU/Linux (scaleway)

version used: https://github.com/MediaBrowser/Emby.Releases/releases/download/4.5.2.0/emby-server-deb_4.5.2.0_armhf.deb

 

this is a new machine and I tried installing the above version, as well as latest beta multiple times.

Both basically complain about illegal instruction though beta at least gives some kind of output.

Version used must be right: /proc/cpuinfo also has: model name      : ARMv7 Processor rev 2 (v7l)

 

I am getting for 4.5.2.0:
 

● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: core-dump) since Thu 2020-11-12 09:21:56 UTC; 3min 39s ago
  Process: 4674 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ILL)
 Main PID: 4674 (code=dumped, signal=ILL)

Nov 12 09:21:51 scw-magical-euler systemd[1]: Started Emby Server is a personal media server with apps on just about every device..
Nov 12 09:21:56 scw-magical-euler systemd[1]: emby-server.service: Main process exited, code=dumped, status=4/ILL
Nov 12 09:21:56 scw-magical-euler systemd[1]: emby-server.service: Failed with result 'core-dump'.

journal doesn't contain anything more:

Nov 12 09:21:51 scw-magical-euler systemd[1]: Started Emby Server is a personal media server with apps on just about every device..
Nov 12 09:21:56 scw-magical-euler systemd[1]: emby-server.service: Main process exited, code=dumped, status=4/ILL
Nov 12 09:21:56 scw-magical-euler systemd[1]: emby-server.service: Failed with result 'core-dump'.
Nov 12 10:16:00 scw-magical-euler systemd[1]: Started Emby Server is a personal media server with apps on just about every device..
Nov 12 10:16:04 scw-magical-euler systemd[1]: emby-server.service: Main process exited, code=dumped, status=4/ILL
Nov 12 10:16:04 scw-magical-euler systemd[1]: emby-server.service: Failed with result 'core-dump'.

 

trying to start it manually:

loke@:~$ /opt/emby-server/bin/emby-server
/opt/emby-server/bin/emby-server: 21: exec: /opt/emby-server/system/EmbyServer: not found
loke@:~$ ls /opt/emby-server/system/EmbyServer
/opt/emby-server/system/EmbyServer
loke@:~$ /opt/emby-server/system/EmbyServer
bash: /opt/emby-server/system/EmbyServer: No such file or directory
loke@:~$ cd /opt/emby-server/system/
loke@:/opt/emby-server/system$ ./EmbyServer
bash: ./EmbyServer: No such file or directory
loke@:/opt/emby-server/system$ ldd /opt/emby-server/system/EmbyServer
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6f8e000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6f7b000)
        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6e68000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6de7000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6dbe000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6cc6000)
        lib/ld-linux-armhf.so.3 => /lib/ld-linux-armhf.so.3 (0xb6fb3000)

permissions for lib (I don't think that matter anyway at this stage):

:/opt/emby-server/system$ ls -la /var/lib/emby/
total 20
drwxr-xr-x  2 emby emby 4096 Nov 11 22:22 .
drwxr-xr-x 38 root root 4096 Nov 11 22:22 ..
-rw-r--r--  1 emby emby  220 Apr  4  2018 .bash_logout
-rw-r--r--  1 emby emby 3771 Apr  4  2018 .bashrc
-rw-r--r--  1 emby emby  807 Apr  4  2018 .profile

for beta 4.6.0.5 similarly regarding systemd and for manually:

loke@:~$ /opt/emby-server/bin/emby-server
Illegal instruction (core dumped)
loke@:~$ /opt/emby-server/system/EmbyServer
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'sqlite3' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libsqlite3: cannot open shared object file: No such file or directory
   at SQLitePCLEx.SQLite3Provider_sqlite3.NativeMethods.sqlite3_libversion_number()
   at SQLitePCLEx.SQLite3Provider_sqlite3.SQLitePCLEx.ISQLite3Provider.sqlite3_libversion_number()
   at SQLitePCLEx.raw.SetProvider(ISQLite3Provider imp)
   at EmbyServer.Program.Main(String[] args)
Aborted (core dumped)

I have installed emby on at least two other arm based machines and never had any problems with the installation, nor do I see similar threads on google.

So I must be doing something wrong? but I can't see what or why, so if someone can help shed some light

Posted

Hi there, didn't even know you could get ARM VPSes! Could you post the full content of /proc/cpuinfo? Also, what glibc version are you on, Ubuntu 18.04 is supposed to ship 2.27 but I'd like to be sure, you should have a /lib/ld-2.xx.so file. That said, please note that depending on the type of virtualization/containerization the VPS uses, it might be impossible to run the dotnet runtime at all, it has been know to cause issues with stuff like systemd's nspawn for instance.

Posted
5 hours ago, Luke said:

@Loke ?

 

On 11/14/2020 at 7:07 PM, alucryd said:

Hi there, didn't even know you could get ARM VPSes! Could you post the full content of /proc/cpuinfo? Also, what glibc version are you on, Ubuntu 18.04 is supposed to ship 2.27 but I'd like to be sure, you should have a /lib/ld-2.xx.so file. That said, please note that depending on the type of virtualization/containerization the VPS uses, it might be impossible to run the dotnet runtime at all, it has been know to cause issues with stuff like systemd's nspawn for instance.

Sorry... I forgot :/

Ye, not many offer(ed) arm and some are discontinuing them. Also have 2 arm dedicated (one is used to run emby just fine!).

processor       : 0
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 50.00
Features        : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae 
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0x584
CPU revision    : 2

processor       : 1
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 50.00
Features        : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae 
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0x584
CPU revision    : 2

processor       : 2
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 50.00
Features        : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae 
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0x584
CPU revision    : 2

processor       : 3
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 50.00
Features        : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae 
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0x584
CPU revision    : 2

Hardware        : Marvell Armada 370/XP (Device Tree)
Revision        : 0000
Serial          : 0000000000000000

as for the .so I am not sure which exactly you wanted so here are the most relevant from find:

/lib/ld-linux-armhf.so.3
/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3
/lib/arm-linux-gnueabihf/ld-linux.so.3
/lib/arm-linux-gnueabihf/ld-2.27.so
/opt/emby-server/lib/ld-linux-armhf.so.3
/opt/emby-server/lib/ld-2.25.so

Thank you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...