Our forum migration to Discourse is underway and scheduled to last through June 21. During the migration, the forums will be read-only, except for a single temporary forum (contents of which will not be getting transferred). Read our announcement post for more information about the forum migration.
Hey folks, there is a new Podcast category for forums https://forums.plex.tv/categories/podcasts
If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Failed to start Plex Media Server for Linux

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.

Answers

  • CurunCurun Members, Plex Pass Posts: 120 Plex Pass

    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?

  • ChuckPAChuckPA Members, Plex Pass, Plex Ninja, Plex Team Member Posts: 22,850 Plex Team Member

    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

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • cantalupo555cantalupo555 Members Posts: 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.

  • cantalupo555cantalupo555 Members Posts: 4 ✭✭

    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.

  • uglymagoouglymagoo Members, Plex Pass, Plex Ninja, TunerTester Posts: 1,083 Plex Ninja
    edited May 16

    @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 :D 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

    Official instructions for Plex Media Server on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : armhf and arm64 Debian Repository
    My PMS hardware: RPi 2, NVIDIA Shield TV, Intel Xeon

  • cantalupo555cantalupo555 Members Posts: 4 ✭✭

    @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 :D 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!

Sign In or Register to comment.