Skip to content

Conflicting nginx

You should ensure your host is NOT already running nginx which will conflict with xplex .

These following checks are especially necessary if you’re reusing a host system, which may already have nginx installed & running for other services:

  1. Is nginx running as a service/daemon?
    Check nginx service status
    systemctl status nginx
    # should be inactive or not found

    If it shows active or enabled, it’s up to you to decide whether to stop/disable it. It may be running important services on the host, so be careful of stopping or disabling it.

    Remove previous nginx service from host
    systemctl stop nginx
    systemctl mask nginx
    systemctl disable nginx
  2. Is nginx running as a process?
    Check nginx process status
    ps aux | grep nginx

    Even in this case, if it’s running, then it’s up to you to decide whether to stop it. It may break important services on the host, so be careful of stopping it.

    Stop existing nginx process
    nginx -s stop
  3. Is nginx installed on host?
    Check if nginx is available in $PATH
    which nginx

    If nginx is installed, but from the previous steps you’ve verified that it’s not running, then you can safely ignore it. We will use a different (RTMP enabled) nginx build for xplex .

    You can also choose to remove it if you’re sure it’ll not be needed (not recommended).