Unable to start plex server

Hello,

I have been trying to get plex server to run on Ubuntu for the last couple of days and can not figure out why it wont start. I have reinstalled Ubuntu, all updates to os have been done, I have even tried an older version of plex from feb just to make sure it wasn’t the version

below is the os info:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

below is the result of the most recent install:
peter@peter-desktop:~/Downloads$ sudo dpkg -i plexmediaserver_1.13.2.5154-fd05be322_amd64.deb
[sudo] password for peter:
Selecting previously unselected package plexmediaserver.
(Reading database … 233632 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.13.2.5154-fd05be322_amd64.deb …
Unpacking plexmediaserver (1.13.2.5154-fd05be322) …
Setting up plexmediaserver (1.13.2.5154-fd05be322) …
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /lib/systemd/system/plexmediaserver.service.
Processing triggers for systemd (229-4ubuntu21.2) …
Processing triggers for ureadahead (0.100.0-19) …
ureadahead will be reprofiled on next reboot
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) …
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) …
Processing triggers for mime-support (3.59ubuntu1) …

Below is the result of status right after i try and start it:
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2018-06-18 15:03:56 ADT; 613ms ago
Process: 1602 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server” (code=exited, status=132)
Process: 1599 ExecStartPre=/bin/sh -c /usr/bin/test -d “{PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "{PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=e
Main PID: 1602 (code=exited, status=132)

Jun 18 15:03:56 peter-desktop systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Jun 18 15:03:56 peter-desktop systemd[1]: plexmediaserver.service: Unit entered failed state.
Jun 18 15:03:56 peter-desktop systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.

And then result about 30 seconds later:
peter@peter-desktop:~ 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 Mon 2018-06-18 15:04:14 ADT; 38s ago Process: 1621 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=132) Process: 1618 ExecStartPre=/bin/sh -c /usr/bin/test -d "{PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=e
Main PID: 1621 (code=exited, status=132)

Jun 18 15:04:09 peter-desktop systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Jun 18 15:04:09 peter-desktop systemd[1]: plexmediaserver.service: Unit entered failed state.
Jun 18 15:04:09 peter-desktop systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Jun 18 15:04:14 peter-desktop systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Jun 18 15:04:14 peter-desktop systemd[1]: Stopped Plex Media Server for Linux.
Jun 18 15:04:14 peter-desktop systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Jun 18 15:04:14 peter-desktop systemd[1]: Failed to start Plex Media Server for Linux.

Any help with this would be greatly appreciated.

Thanks
Peter

@trumpy81 said:
If you would, run the following command:

cat /proc/cpuinfo

And let me know what the output is please.

Hello,
Below are the results:

peter@peter-desktop:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 12
model name : AMD Athlon™ 64 Processor 3000+
stepping : 0
microcode : 0x3a
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow rep_good nopl cpuid 3dnowprefetch retpoline rsb_ctxsw vmmcall
bugs : fxsave_leak sysret_ss_attrs null_seg swapgs_fence spectre_v1 spectre_v2
bogomips : 2009.98
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

Thanks
Peter

hmm that sucks. this was just a pc i had lying around, my newer one died. thought this would work which is why i went with ubuntu due to the limited spces of the pc.

Thanks
Peter

Are you sure that is the problem? I just looked up the specs for the processor in the pc that died and it was amd athalon x2 4200+. Specs for it dont say it supported sse 4 either. It was a window pc though.

Thanks
Peter

ok thanks
Peter

Peter,
I’m on holiday but Trumpy reached out and caught me at a good time.

Please help me by building the right picture here? ( I owned the 3200+ ‘ClawHammer’ about 2 weeks after it came out… great CPU for its time).

The 3000+ can run PMS on:

  1. Windows 32 bit?
  2. Windows 64 bit?
  3. Linux 32 bit?
  4. Linux 64 bit?

The Atlon X2 can run PMS on :

  1. Windows 32 bit?
  2. Windows 64 bit?
  3. Linux 32 bit?
  4. Linux 64 bit?

@ChuckPA said:
Peter,
I’m on holiday but Trumpy reached out and caught me at a good time.

Please help me by building the right picture here? ( I owned the 3200+ ‘ClawHammer’ about 2 weeks after it came out… great CPU for its time).

The 3000+ can run PMS on:

  1. Windows 32 bit?
  2. Windows 64 bit?
  3. Linux 32 bit?
  4. Linux 64 bit?

The Atlon X2 can run PMS on :

  1. Windows 32 bit?
  2. Windows 64 bit?
  3. Linux 32 bit?
  4. Linux 64 bit?

Originally I was running PMS on the Atlon X2 on windows 7 64 Bit. that pc died and I was unabl;e to recover it, i suspect a motherboard issue. so I installed Ubuntu 64bit on an old Athlon 3000+ i had sittign gathering dust.

I was just doing some more work on this pc and installing teamviewer (was not install up until 10 min ago), having some problems with it too but it seems to be video related when i start it goes to black screen and then if i click in right pace desktop comes back and the teamviewer box is basically white. so I was researching that and found an update command (sudo apt-get dist-upgrade) which appeared to update some java stuff I think. I then tried to launch PMS again and it actually did start for a couple of seconds as per the status, then it did the same thing it has bee doning. maybe it has been starting before too and i just never caught it at the right time. not sure. below are the results of it running, and then it threw up the encountered problem error message, and then below is the status of it failing.

systemctl showing it running:

plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2018-06-18 21:38:11 ADT; 3s ago
Process: 1856 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION

Main PID: 1859 (sh)
CGroup: /system.slice/plexmediaserver.service
_ ├─1859 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server”
└─1862 /usr/lib/plexmediaserver/Plex Media Server

Jun 18 21:38:11 peter-desktop systemd[1]: Starting Plex Media Server for Linux…
Jun 18 21:38:11 peter-desktop systemd[1]: Started Plex Media Server for Linux.

Sytemctl showing it failing:
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Active: inactive (dead)

Jun 18 21:38:27 peter-desktop systemd[1]: Starting Plex Media Server for Linux…
Jun 18 21:38:27 peter-desktop systemd[1]: Started Plex Media Server for Linux.
Jun 18 21:38:28 peter-desktop sh[1890]: Illegal instruction (core dumped)
Jun 18 21:38:28 peter-desktop systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Jun 18 21:38:28 peter-desktop systemd[1]: plexmediaserver.service: Unit entered failed state.
Jun 18 21:38:28 peter-desktop systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Jun 18 21:38:33 peter-desktop systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Jun 18 21:38:33 peter-desktop systemd[1]: Stopped Plex Media Server for Linux.
Jun 18 21:38:33 peter-desktop systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Jun 18 21:38:33 peter-desktop systemd[1]: Failed to start Plex Media Server for Linux.

from what i have read on the plex site this cpu should still be able to rin it, it just won’t be able to do transcoding, which I’m pretty sure i had to turn off on the windows system to make that work right.

Thanks for your help.
Peter

Hello,

I had PMS running on the Athlon X2 on windows 7 64 bit. I am now trying to run it on Ubuntu 64bit on the 3000+.

I was trying to get teamviewer running and encountered a problem with it not showing video when launched and as part of that one suggestion said to run sudo apt-get dist-upgrade (which appeared to update some java) i then tried to run PMS again and it actually did load but then threw up an error i managed to capture it running, and the the failed status after, see below:

PMS running in systemctl:
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2018-06-18 21:38:11 ADT; 3s ago
Process: 1856 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION

Main PID: 1859 (sh)
CGroup: /system.slice/plexmediaserver.service

├─1859 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server”
└─1862 /usr/lib/plexmediaserver/Plex Media Server_

Jun 18 21:38:11 peter-desktop systemd[1]: Starting Plex Media Server for Linux…
Jun 18 21:38:11 peter-desktop systemd[1]: Started Plex Media Server for Linux.

PMS Fail systemctl
_plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Active: inactive (dead)
_
Jun 18 21:38:27 peter-desktop systemd[1]: Starting Plex Media Server for Linux…
Jun 18 21:38:27 peter-desktop systemd[1]: Started Plex Media Server for Linux.
Jun 18 21:38:28 peter-desktop sh[1890]: Illegal instruction (core dumped)
Jun 18 21:38:28 peter-desktop systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Jun 18 21:38:28 peter-desktop systemd[1]: plexmediaserver.service: Unit entered failed state.
Jun 18 21:38:28 peter-desktop systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Jun 18 21:38:33 peter-desktop systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Jun 18 21:38:33 peter-desktop systemd[1]: Stopped Plex Media Server for Linux.
Jun 18 21:38:33 peter-desktop systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Jun 18 21:38:33 peter-desktop systemd[1]: Failed to start Plex Media Server for Linux.

I researched on the plex site and it doesn’t say it wont run on this processor jsut may not support trans coding, which I am pretty sure i had to turn on on the windows system too.

Thanks for your help.
Peter

Peter,
You didn’t answer my question. Can we try again? Before we do, please let me explain why I am asking.

We’re changing how PMS is compiled and built as part of our infrastructure improvement. We previously found one problem where a piece of PMS didn’t compile correctly and resulted in “Illegal instruction” just like you’re seeing.

Compiling for windows is different than compiling for Linux which means the compile flags used might have an error. I need to rule that out if possible.

The way we rule it out / find the mistake is when we can say " It runs under X but fails with illegal instruction under Y".
This is why I’m using Windows as “X” and Linux as “Y”.

Make sense?

What can you help with now you know my goal?

Hello,

I am not clear on what you are asking. The windows system was 64 bit. The ubuntu is 64 bit.

I just reread your message and i think you are asking what was tried?

If so:
The athlon x2 only ever ran windows 64 bit

The 3000+ i have only attempted 64 bit linux ubuntu.

Thanks
Peter

Peter,
Can you try to run Windows + PMS on the 3000+?

We have a 2x2 matrix of questions (2 CPUs vs 2 Operating systems). We need to figure out what both have in common. So far, it appears you haven’t tried OS+PMS on both. If Windows + PMS runs on the 3000 but fails with Linux + PMS, we have our answer and can stop. I know the problem

Finally I can reply:) I threw another hard drive in the 3000+ and tried ubuntu 32 bit 16.04.4 and plex is working.

Not sure that i can try windows as it only has 1.2GB of ram.

Why would the 32 bit work and not the 64?

Thanks.

Here’s a thought. Try SLAX linux on it. it’s comes in two flavors. You can’t run PMS on that but it will let you see if 32 / 64 bit works correctly. Some of those early motherboard BIOS didn’t like 64 bit mode

I don’t think that would tell me much as with the 64 bit ubuntu i only had problems with pms and teamviewer. On the 32 bit version teamview still has white windows so thats some other issue that I will figure out eventually. I guess it doesnt matter that i cant run the 64 bit version as long as pms works its what i was looking for.

Thanks