Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service reports "plexmediaserver is not running" during normal operation #4

Open
dhharris opened this issue Jun 26, 2022 · 0 comments

Comments

@dhharris
Copy link

Found an interesting issue when updating my plex jail.

Service is reported to b e down

[root@plex ~]# service plexmediaserver status
plexmediaserver is not running.

However, plex is running perfectly fine (can watch videos, etc).

ps shows the processes running

[root@plex ~]# ps -A | grep -i plex
56477  -  IsJ  0:00.00 daemon: /usr/local/share/plexmediaserver/Plex_Media_Server
56478  -  IJ   0:00.87 /usr/local/share/plexmediaserver/Plex_Media_Server (Plex M
56479  -  INJ  0:01.45 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmed
56484  -  SJ   0:00.09 /usr/local/share/plexmediaserver/Plex Tuner Service /usr/l
56485  -  IJ   0:01.26 Plex Plug-in [com.plexapp.agents.imdb] /usr/local/share/pl
56619  1  S+J  0:00.00 grep -i plex

The pidfile specified in the rc script is also correct, and shows the pid of the daemon process.

/usr/local/etc/rc.d/plexmediaserver
---
pidfile=/var/run/plex/plex-daemon.pid
[root@plex ~]# ps $(cat /var/run/plex/plex-daemon.pid)
  PID TT  STAT    TIME COMMAND
56477  -  IsJ  0:00.00 daemon: /usr/local/share/plexmediaserver/Plex_Media_Server

This brings the question - why does service plexmediaserver status think that it is not running? start, stop and restart subcommands work fine. This issue doesn't hurt the usability of plex, but it's still a weird bug that should probably be investigated.

@dhharris dhharris changed the title service reports plexmediaserver as "not running" service reports "plexmediaserver is not running" during normal operation Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant