Permissions needed for the user the RHQ Agent is running to monitor PostgreSQL
Issue
- 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.
Environment
- Red Hat JBoss Operations Network (ON)
- 3.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
