SOLVED: Plex fails to start after server reboot

bt107
Posts: 88
Joined: Fri Aug 06, 2010 8:40 pm

SOLVED: Plex fails to start after server reboot

Postby bt107 » Fri Apr 25, 2014 8:00 pm

After a reboot of the server tonight Plex Media Server fails to start. I entered these commands thinking maybe the app had been updated and maybe there was some ownership issues:

Code: Select all

chown -R apache:users /var/lib/plexmediaserver systemctl enable amahi-plex systemctl start amahi-plex
But no go. It wouldn't start.

Code: Select all

[root@hpserver ~]# 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 Fri 2014-04-25 22:47:29 EDT; 24s ago Process: 3668 ExecStopPost=/bin/rm -f /run/amahi-plex.pid (code=exited, status=0/SUCCESS) Process: 3666 ExecStop=/usr/bin/kill $MAINPID (code=exited, status=1/FAILURE) Process: 3661 ExecStart=/usr/bin/amahi-plex (code=exited, status=0/SUCCESS) Main PID: 3663 (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/amahi-plex.service Apr 25 22:47:28 hpserver systemd[1]: Starting Plex Media Server for Amahi... Apr 25 22:47:28 hpserver systemd[1]: Started Plex Media Server for Amahi. Apr 25 22:47:28 hpserver runuser[3663]: pam_unix(runuser:session): session opened for user apache by (uid=0) Apr 25 22:47:29 hpserver systemd[1]: amahi-plex.service: main process exited, code=exited, status=1/FAILURE Apr 25 22:47:29 hpserver kill[3666]: Usage: Apr 25 22:47:29 hpserver systemd[1]: amahi-plex.service: control process exited, code=exited status=1 Apr 25 22:47:29 hpserver systemd[1]: Unit amahi-plex.service entered failed state.
This is Amahi 7.1 on an HP Microserver. Plex had been running fine before. Any ideas?

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

Re: Plex fails to start after server reboot

Postby bigfoot65 » Sat Apr 26, 2014 6:10 am

Have you tried a reboot?

Please submit a bug report with the details.
https://bugs.amahi.org
ßîgƒσστ65
Applications Manager

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

bt107
Posts: 88
Joined: Fri Aug 06, 2010 8:40 pm

Re: Plex fails to start after server reboot

Postby bt107 » Sat Apr 26, 2014 5:07 pm

Ok. This is just weird. Rebooted the server and Plex started normally. Last night I rebooted, even powered down, and it wouldn't start. I rarely have any problems with Amahi or the apps. It just works. Must've been a gremlin this time.

Thanks Bigfoot!

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

Re: Plex fails to start after server reboot

Postby bigfoot65 » Sat Apr 26, 2014 5:09 pm

LOL. One can never tell with Linux. Glad it's back working. I installed it on my test machine and all was fine too.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 34 guests