Permissions needed for the user the RHQ Agent is running to monitor PostgreSQL

Solution Unverified - Updated -


  • I am running jon-server as the user jon and i have postgresql running in the same server which is running as postgres user.When i run the rhq-agent , i get the following error.
[ResourceDiscoveryComponent.invoker.daemon-1] (org.rhq.plugins.postgres.PostgresDiscoveryComponent)- PostgreSQL data directory (/var/lib/pgsql/data) does not exist or is not readable. Make sure the user the RHQ Agent is running as has read permissions on the directory and its parent directory.


  • Red Hat JBoss Operations Network (ON)
    • 3.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content