App Visibility - Application Visibility Manager database will not start due to permission error

Version 6
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight App Visibility Manager Server


    COMPONENT:

    App Visibility Portal


    APPLIES TO:

    App Visibility Collector 11.3.01 running in Linux App Visibility Portal 11.3.01 running in Linux App Visibility Proxy 11.3.01 running in Linux



    PROBLEM:

     

    App Visibility Portal, Collector or Proxy having issues making a database connection as it gets a permission denied error when trying to access the postgresql.conf file.

    Error Example Extract of the postgres.log

    2019-02-08 10:28:36.714 CSTFATAL:  data directory "/opt/bmc/App_Visibility/ADOP_DB/pgsql/data" has group or world access
    2019-02-08 10:28:36.714 CSTDETAIL:  Permissions should be u=rwx (0700).
    Password:
    2019-02-08 16:09:35.086 CSTFATAL:  data directory "/opt/bmc/App_Visibility/ADOP_DB/pgsql/data" has group or world access
    2019-02-08 16:09:35.086 CSTDETAIL:  Permissions should be u=rwx (0700).
    2019-02-08 16:12:31.654 CSTFATAL:  data directory "/opt/bmc/App_Visibility/ADOP_DB/pgsql/data" has group or world access
    2019-02-08 16:12:31.654 CSTDETAIL:  Permissions should be u=rwx (0700).
    Password:
    su: Authentication failure
    av_pgsqld: could not access the server configuration file "/opt/bmc/App_Visibility/ADOP_DB/pgsql/data/postgresql.conf": Permission denied

     


    CAUSE:

    Directories and files for App Visibility Manager components (Portal, Console, Proxy) did not have the correct permissions.


    SOLUTION:

     


    Attached file lists Out Of the Box default permissions and ownership of directories and files inside App_Visibility installation directory.

    i.e. /opt/bmc/App_Visibility

    Compare permissions and ownership of the files with the failing environment and correct them by giving the required ownership as well as permissions.

     


    Article Number:

    000164443


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles