Failed to start Plex Media Server for Linux

server-raspberry-pi

#1

sudo systemctl status plexmediaserver

plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor
preset: enabled)
Active: inactive (dead) (Result: exit-code) since Wed 2018-05-16 14:13:19 BRT
; 7min ago
Process: 12577 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "
/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=126)
Process: 12574 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_A
PPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPO
RT_DIR}" (code=exited, status=0/SUCCESS)
Main PID: 12577 (code=exited, status=126)

May 16 14:13:19 systemd[1]: plexmediaserver.service:
Service hold-off time over, scheduling restart.
May 16 14:13:19 systemd[1]: Stopped Plex Media Serve
r for Linux.
May 16 14:13:19 systemd[1]: plexmediaserver.
service: Start request repeated too quickly.
May 16 14:13:19 systemd[1]: Failed to start
Plex Media Server for Linux.
May 16 14:14:01 systemd[1]: plexmediaserver.
service: Start request repeated too quickly.
May 16 14:14:01 systemd[1]: Failed to start
Plex Media Server for Linux.


#2

You might need to provide people more information, hardware infomation, distribution version, etc etc. Is this a new installation? If not, what systems changes have occurred recently?


#3

Would you please let me know a few more things? All that tells me is it’s not running.

  1. OS and version
  2. PMS version installed + 32 or 64 bit
  3. sudo journalctl -xe | grep -i plex to see what the specific error reported in the system log is

#4

Sorry guys, I got not edit the first topic.
32bits
ARM Cortex

Firstly I had a problem installing it.
“package architecture (i386) does not match system (armhf)”

I was able to solve by executing the following command:
sudo dpkg --add-architecture i386

After that it installed normally, but Plex is not starting.

Thanks for listening.


#5

sudo journalctl -xe | grep -i plex
May 16 16:50:35 ---------- systemd[1]: Starting Plex Media Server for Linux…
– Subject: Unit plexmediaserver.service has begun start-up
– Unit plexmediaserver.service has begun starting up.
May 16 16:50:36 ---------- systemd[1]: Started Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished start-up
– Unit plexmediaserver.service has finished starting up.
May 16 16:50:36 ---------- sh[1163]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: cannot execute binary file: Exec format error
May 16 16:50:36 ---------- systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=126/n/a
May 16 16:50:36 ---------- systemd[1]: plexmediaserver.service: Unit entered failed state.
May 16 16:50:36 ---------- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 16 16:50:41 ---------- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 16 16:50:41 ---------- systemd[1]: Stopped Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished shutting down
– Unit plexmediaserver.service has finished shutting down.
May 16 16:50:41 ---------- systemd[1]: Starting Plex Media Server for Linux…
– Subject: Unit plexmediaserver.service has begun start-up
– Unit plexmediaserver.service has begun starting up.
May 16 16:50:41 ---------- systemd[1]: Started Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished start-up
– Unit plexmediaserver.service has finished starting up.
May 16 16:50:41 ---------- sh[1268]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: cannot execute binary file: Exec format error
May 16 16:50:41 ---------- systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=126/n/a
May 16 16:50:41 ---------- systemd[1]: plexmediaserver.service: Unit entered failed state.
May 16 16:50:41 ---------- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 16 16:50:46 ---------- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 16 16:50:46 ---------- systemd[1]: Stopped Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished shutting down
– Unit plexmediaserver.service has finished shutting down.
May 16 16:50:46 ---------- systemd[1]: Starting Plex Media Server for Linux…
– Subject: Unit plexmediaserver.service has begun start-up
– Unit plexmediaserver.service has begun starting up.
May 16 16:50:46 ---------- systemd[1]: Started Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished start-up
– Unit plexmediaserver.service has finished starting up.
May 16 16:50:46 ---------- sh[1275]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: cannot execute binary file: Exec format error
May 16 16:50:46 ---------- systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=126/n/a
May 16 16:50:46 ---------- systemd[1]: plexmediaserver.service: Unit entered failed state.
May 16 16:50:46 ---------- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 16 16:50:51 ---------- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 16 16:50:51 ---------- systemd[1]: Stopped Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished shutting down
– Unit plexmediaserver.service has finished shutting down.
May 16 16:50:51 ---------- systemd[1]: plexmediaserver.service: Start request repeated too quickly.
May 16 16:50:51 ---------- systemd[1]: Failed to start Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has failed
– Unit plexmediaserver.service has failed.
May 16 16:56:21 ---------- sudo[1390]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl status plexmediaserver
May 16 16:56:26 ---------- sudo[1401]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl start plexmediaserver
May 16 16:56:26 ---------- systemd[1]: Starting Plex Media Server for Linux…
– Subject: Unit plexmediaserver.service has begun start-up
– Unit plexmediaserver.service has begun starting up.
May 16 16:56:26 ---------- systemd[1]: Started Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished start-up
– Unit plexmediaserver.service has finished starting up.
May 16 16:56:26 ---------- sh[1411]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: cannot execute binary file: Exec format error
May 16 16:56:26 ---------- systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=126/n/a
May 16 16:56:26 ---------- systemd[1]: plexmediaserver.service: Unit entered failed state.
May 16 16:56:26 ---------- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 16 16:56:29 ---------- sudo[1419]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl status plexmediaserver
May 16 16:56:31 ---------- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 16 16:56:31 ---------- systemd[1]: Stopped Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished shutting down
– Unit plexmediaserver.service has finished shutting down.
May 16 16:56:31 ---------- systemd[1]: Starting Plex Media Server for Linux…
– Subject: Unit plexmediaserver.service has begun start-up
– Unit plexmediaserver.service has begun starting up.
May 16 16:56:31 ---------- systemd[1]: Started Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished start-up
– Unit plexmediaserver.service has finished starting up.
May 16 16:56:31 ---------- sh[1432]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: cannot execute binary file: Exec format error
May 16 16:56:31 ---------- systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=126/n/a
May 16 16:56:31 ---------- systemd[1]: plexmediaserver.service: Unit entered failed state.
May 16 16:56:31 ---------- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 16 16:56:36 ---------- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 16 16:56:36 ---------- systemd[1]: Stopped Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished shutting down
– Unit plexmediaserver.service has finished shutting down.
May 16 16:56:36 ---------- systemd[1]: Starting Plex Media Server for Linux…
– Subject: Unit plexmediaserver.service has begun start-up
– Unit plexmediaserver.service has begun starting up.
May 16 16:56:36 ---------- systemd[1]: Started Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished start-up
– Unit plexmediaserver.service has finished starting up.
May 16 16:56:36 ---------- sh[1439]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: cannot execute binary file: Exec format error
May 16 16:56:36 ---------- systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=126/n/a
May 16 16:56:36 ---------- systemd[1]: plexmediaserver.service: Unit entered failed state.
May 16 16:56:36 ---------- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 16 16:56:42 ---------- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 16 16:56:42 ---------- systemd[1]: Stopped Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has finished shutting down
– Unit plexmediaserver.service has finished shutting down.
May 16 16:56:42 ---------- systemd[1]: plexmediaserver.service: Start request repeated too quickly.
May 16 16:56:42 ---------- systemd[1]: Failed to start Plex Media Server for Linux.
– Subject: Unit plexmediaserver.service has failed
– Unit plexmediaserver.service has failed.


#6

@cantalupo555 said:
Sorry guys, I got not edit the first topic.
32bits
ARM Cortex

Firstly I had a problem installing it.
“package architecture (i386) does not match system (armhf)”

I was able to solve by executing the following command:
sudo dpkg --add-architecture i386

Ähem. That’s an interesting approach :smile: armhf and i368 are not compatible. Please try my approach :smiley: And definitively remove the i386 architecture and purge your current plex package.


#7

@uglymagoo said:

@cantalupo555 said:
Sorry guys, I got not edit the first topic.
32bits
ARM Cortex

Firstly I had a problem installing it.
“package architecture (i386) does not match system (armhf)”

I was able to solve by executing the following command:
sudo dpkg --add-architecture i386

Ähem. That’s an interesting approach :smile: armhf and i368 are not compatible. Please try my approach :smiley: And definitively remove the i386 architecture and purge your current plex package.

https://forums.plex.tv/discussion/309553/plex-media-server-for-armhf-and-arm64-using-debian-or-ubuntu

Thank you uglymagoo and ChuckPA!