Page 1 of 1

SOLVED: Plex fails to start after server reboot

Posted: Fri Apr 25, 2014 8:00 pm
by bt107
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?

Re: Plex fails to start after server reboot

Posted: Sat Apr 26, 2014 6:10 am
by bigfoot65
Have you tried a reboot?

Please submit a bug report with the details.
https://bugs.amahi.org

Re: Plex fails to start after server reboot

Posted: Sat Apr 26, 2014 5:07 pm
by bt107
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!

Re: Plex fails to start after server reboot

Posted: Sat Apr 26, 2014 5:09 pm
by bigfoot65
LOL. One can never tell with Linux. Glad it's back working. I installed it on my test machine and all was fine too.