6

I installed Plex Media Server on CentOS by downloading the RPM file from Plex's website.

When I navigate to Plex URL, I get a 404 not found:

enter image description here

When I go the base URL I get an XML file:

enter image description here

Linux reports that Plex is running:

enter image description here

Is there some setting on CentOS I need to adjust to make Plex's web pages show up in the browser?

Where could I look in the file system to see that the web pages exist?

Dev
  • 188
ray023
  • 1,617
  • 3
  • 18
  • 28

2 Answers2

6

Just found the solution:

In a terminal:

  1. sudo vi /etc/sysconfig/selinux
  2. change SELINUX=enforcing to SELINUX=disabled
  3. reboot
  4. go to plex url (127.0.0.1:32400/web) and it will load
  5. sudo vi /etc/sysconfig/selinux
  6. change SELINUX=disabled to SELINUX=enforcing
  7. reboot

Plex works

ray023
  • 1,617
  • 3
  • 18
  • 28
1

When I did my install Plex 404'd on me as well. I determined that in my case Plex was trying to use the system rsync binary instead of the rsync binary it comes bundled with.The forked rsync process runs in the rsync_t domain due to a transition rule that ships with CentOS 6 (The way plex ships currently it runs in the initrc_t domain). Processes confined by rsync_t are not allowed to write files in var_lib_t which causes an AVC denial that bubbles up as a 404 when Plex fails to initialize completely.

I've documented this issue in more detail on Plex's forums (thread linked below)

Thread: Plex Media Server shows 404 Not Found

I'm currently writing a SELinux policy module that confines Plex processes to a Plex specific domain with a customized set of access controls. If you'd like to try it out please see the github project linked below.

GitHub: SELinux policy module for Plex Media Server

Dev
  • 188