SOLVED: Plex Server Stopped, Won't stay running

jaredmalik
Posts: 9
Joined: Sat Nov 01, 2014 9:15 am

SOLVED: Plex Server Stopped, Won't stay running

Postby jaredmalik » Sat Nov 01, 2014 9:18 am

I had the plex amahi app running great for about a month. Last night I went to the web gui and it didn't load, looking at the settings/server page shows all servers up except for plex. When I start plex from there it immediately stops.

Not sure if there was an update to the HDA or Plex which caused this? I uninstalled the plex app, rebooted, then reinstalled, still having the same issue.

Not super familiar with Fedora, so any ideas or other info I can supply please let me know! Thanks!
Last edited by jaredmalik on Sun Nov 02, 2014 10:10 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Server Stopped, Won't stay running

Postby bigfoot65 » Sat Nov 01, 2014 9:28 am

Check the server status by executing the following command as root user:

Code: Select all

systemctl status amahi-plex -l
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaredmalik
Posts: 9
Joined: Sat Nov 01, 2014 9:15 am

Re: Plex Server Stopped, Won't stay running

Postby jaredmalik » Sat Nov 01, 2014 9:36 am

Thanks bigfoot, it didn't like the "-1" as you can see the command worked with that removed if that's important.

[root@localhost ~]# systemctl status amahi-plex -l
systemctl: invalid option -- 'l'
[root@localhost ~]# systemctl status amahi-plex
amahi-plex.service - Plex Media Server for Amahi
Loaded: loaded (/usr/lib/systemd/system/amahi-plex.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-11-01 10:32:36 MDT; 39s ago
Main PID: 2148 (code=exited, status=132)
CGroup: name=systemd:/system/amahi-plex.service

Nov 01 10:32:36 localhost.localdomain systemd[1]: Starting Plex Media Server ...
Nov 01 10:32:36 localhost.localdomain systemd[1]: Started Plex Media Server f...
Nov 01 10:32:36 localhost.localdomain runuser[2148]: pam_unix(runuser:session...
Nov 01 10:32:36 localhost.localdomain systemd[1]: amahi-plex.service: main pr...
Nov 01 10:32:36 localhost.localdomain kill[2150]: Usage:
Nov 01 10:32:36 localhost.localdomain kill[2150]: kill [options] <pid|name> [...
Nov 01 10:32:36 localhost.localdomain kill[2150]: Options:
Nov 01 10:32:36 localhost.localdomain systemd[1]: amahi-plex.service: control...
Nov 01 10:32:36 localhost.localdomain systemd[1]: Unit amahi-plex.service ent...
[root@localhost ~]#

Here is the output with the "-" removed.

[root@localhost ~]# systemctl status amahi-plex 1
amahi-plex.service - Plex Media Server for Amahi
Loaded: loaded (/usr/lib/systemd/system/amahi-plex.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-11-01 10:34:36 MDT; 48s ago
Process: 2276 ExecStopPost=/bin/rm -f /run/amahi-plex.pid (code=exited, status=0/SUCCESS)
Process: 2274 ExecStop=/usr/bin/kill $MAINPID (code=exited, status=1/FAILURE)
Process: 2270 ExecStart=/usr/bin/amahi-plex (code=exited, status=0/SUCCESS)
Main PID: 2272 (code=exited, status=132)
CGroup: name=systemd:/system/amahi-plex.service

Nov 01 10:34:36 localhost.localdomain runuser[2272]: pam_unix(runuser:session...
Nov 01 10:34:36 localhost.localdomain runuser[2272]: pam_unix(runuser:session...
Nov 01 10:34:36 localhost.localdomain systemd[1]: amahi-plex.service: main pr...
Nov 01 10:34:36 localhost.localdomain kill[2274]: Usage:
Nov 01 10:34:36 localhost.localdomain kill[2274]: kill [options] <pid|name> [...
Nov 01 10:34:36 localhost.localdomain kill[2274]: Options:
Nov 01 10:34:36 localhost.localdomain kill[2274]: -a, --all do n...
Nov 01 10:34:36 localhost.localdomain kill[2274]: with the same uid as the pr...
Nov 01 10:34:36 localhost.localdomain systemd[1]: amahi-plex.service: control...
Nov 01 10:34:36 localhost.localdomain systemd[1]: Unit amahi-plex.service ent...
Failed to issue method call: No unit for PID 1 is loaded.
[root@localhost ~]#

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Server Stopped, Won't stay running

Postby bigfoot65 » Sat Nov 01, 2014 9:39 am

Please rerun it with -l option. That is a lowercase L not a 1. It should wrap the text so we can see it all.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaredmalik
Posts: 9
Joined: Sat Nov 01, 2014 9:15 am

Re: Plex Server Stopped, Won't stay running

Postby jaredmalik » Sat Nov 01, 2014 9:39 am

Looks like some of the details were cut off, again:

[root@localhost ~]# systemctl status amahi-plex 1
amahi-plex.service - Plex Media Server for Amahi
Loaded: loaded (/usr/lib/systemd/system/amahi-plex.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-11-01 10:38:36 MDT; 28s ago
Process: 2503 ExecStopPost=/bin/rm -f /run/amahi-plex.pid (code=exited, status=0/SUCCESS)
Process: 2501 ExecStop=/usr/bin/kill $MAINPID (code=exited, status=1/FAILURE)
Process: 2497 ExecStart=/usr/bin/amahi-plex (code=exited, status=0/SUCCESS)
Main PID: 2499 (code=exited, status=132)
CGroup: name=systemd:/system/amahi-plex.service

Nov 01 10:38:36 localhost.localdomain systemd[1]: Starting Plex Media Server for Amahi...
Nov 01 10:38:36 localhost.localdomain systemd[1]: Started Plex Media Server for Amahi.
Nov 01 10:38:36 localhost.localdomain runuser[2499]: pam_unix(runuser:session): session opened for user apache by (uid=0)
Nov 01 10:38:36 localhost.localdomain systemd[1]: amahi-plex.service: main process exited, code=exited, status=132/n/a
Nov 01 10:38:36 localhost.localdomain systemd[1]: amahi-plex.service: control process exited, code=exited status=1
Nov 01 10:38:36 localhost.localdomain systemd[1]: Unit amahi-plex.service entered failed state.
Failed to issue method call: No unit for PID 1 is loaded.
[root@localhost ~]#

jaredmalik
Posts: 9
Joined: Sat Nov 01, 2014 9:15 am

Re: Plex Server Stopped, Won't stay running

Postby jaredmalik » Sat Nov 01, 2014 9:41 am

[root@localhost ~]# systemctl status amahi-plex -l
systemctl: invalid option -- 'l'
[root@localhost ~]#

Same error with the lowercase l

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Server Stopped, Won't stay running

Postby bigfoot65 » Sat Nov 01, 2014 9:46 am

Sorry, my fault wrong command option LOL Did you see my last post with questions?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaredmalik
Posts: 9
Joined: Sat Nov 01, 2014 9:15 am

Re: Plex Server Stopped, Won't stay running

Postby jaredmalik » Sat Nov 01, 2014 9:49 am

I just see the suggestion to change the 1 to an l. I extended putty it seems to show everything now.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Server Stopped, Won't stay running

Postby bigfoot65 » Sat Nov 01, 2014 9:52 am

Crap, my post must have gotten deleted.

What I suggested was to do:

Code: Select all

systemctl start amahi-plex
Then check the status again. I also asked if your HDA has all the OS updates. Did you reboot since reinstalling the app? Not saying to reboot, just asking if you did.

Also do this command:

Code: Select all

rpm -ql amahi-plex
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaredmalik
Posts: 9
Joined: Sat Nov 01, 2014 9:15 am

Re: Plex Server Stopped, Won't stay running

Postby jaredmalik » Sat Nov 01, 2014 9:55 am

Ok, ran the start then checked status again:

[root@localhost ~]# systemctl start amahi-plex
[root@localhost ~]# systemctl status amahi-plex
amahi-plex.service - Plex Media Server for Amahi
Loaded: loaded (/usr/lib/systemd/system/amahi-plex.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-11-01 10:54:38 MDT; 11s ago
Process: 3393 ExecStopPost=/bin/rm -f /run/amahi-plex.pid (code=exited, status=0/SUCCESS)
Process: 3391 ExecStop=/usr/bin/kill $MAINPID (code=exited, status=1/FAILURE)
Process: 3387 ExecStart=/usr/bin/amahi-plex (code=exited, status=0/SUCCESS)
Main PID: 3389 (code=exited, status=132)
CGroup: name=systemd:/system/amahi-plex.service

Nov 01 10:54:38 localhost.localdomain systemd[1]: Starting Plex Media Server for Amahi...
Nov 01 10:54:38 localhost.localdomain systemd[1]: Started Plex Media Server for Amahi.
Nov 01 10:54:38 localhost.localdomain runuser[3389]: pam_unix(runuser:session): session opened for user apache by (uid=0)
Nov 01 10:54:38 localhost.localdomain systemd[1]: amahi-plex.service: main process exited, code=exited, status=132/n/a
Nov 01 10:54:38 localhost.localdomain systemd[1]: amahi-plex.service: control process exited, code=exited status=1
Nov 01 10:54:38 localhost.localdomain systemd[1]: Unit amahi-plex.service entered failed state.
[root@localhost ~]#

Who is online

Users browsing this forum: No registered users and 39 guests