Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

6.1 Upgrade: NGINX Fails To Start With duplicate location "/" Error

6.1 Upgrade: NGINX Fails To Start With duplicate location "/" Error

Version

Cb Response 6.1.x

Issue

NGINX fails to start after upgrading to 6.1

Symptoms

/var/log/cb/nginx/startup.log contains:

nginx: [emerg] duplicate location "/" in /etc/cb/nginx/conf.d/includes/location.root.deny:1

Cause

This can occur when an instance has a different API port but is not using a multihome (signed cert) configuration

Solution

Restore the default configurations in /etc/cb/cb.conf on the master (or standalone server):

  1. Change the NginxWebApiHttpPort to 443:
    From:
    NginxWebApiHttpPort=8443
    To:
    NginxWebApiHttpPort=443
    Note: If this setting does not exist in your configuration, it defaults to 443
  2. If this is a cluster change the MinionApiPort to 443:
    From:
    MinionApiPort=8443
    To:
    MinionApiPort=443
    Note: If this setting does not exist in your configuration, it defaults to 443



Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎05-05-2017
Views:
1676
Contributors