Illegal instruction when starting PMS on fresh Raspbian on RPi 2 B+

server-raspberry-pi

#1

I've installed PMS on fresh instal of Raspbian stretch on Raspberry Pi 2 B+ using instructions from this forum:?
http://forums.plex.tv/discussion/309553/plex-media-server-for-armhf-and-arm64-using-debian-or-ubuntu

After reboot service would not start.

$ sudo service plexmediaserver status | cat
● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-05-28 16:48:14 CEST; 55min ago
  Process: 456 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=132)
  Process: 453 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
 Main PID: 456 (code=exited, status=132)

maj 28 16:48:09 jon systemd[1]: plexmediaserver.service: Unit entered failed state.
maj 28 16:48:09 jon systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
maj 28 16:48:14 jon systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
maj 28 16:48:14 jon systemd[1]: Stopped Plex Media Server for Linux.
maj 28 16:48:14 jon systemd[1]: plexmediaserver.service: Start request repeated too quickly.
maj 28 16:48:14 jon systemd[1]: Failed to start Plex Media Server for Linux.
maj 28 16:48:14 jon systemd[1]: plexmediaserver.service: Unit entered failed state.
maj 28 16:48:14 jon systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.

To see actual error I've looked into /lib/systemd/system/plexmediaserver.service and tried to run it myself:

LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server
Illegal instruction

Has anyone else experienced this?


#2

It’s not a Raspberry Pi 2 B+ but either a Pi 1 B+ or a Pi Zero or something like that. It’s a armv6 device (take a look at uname -a for example). It does not support the armv7 Plex build and there is no armv6 build available. If you like please post a picture of your Pi and we can tell you what it is :slight_smile:


#3

Ups. You’re right its Raspberry Pi B+.

$ uname -a  
Linux jon 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 **armv6l** GNU/Linux

Thanks. Sorry for the trouble.