I am trying to point out Cloudera Manager to an external PostgresSQL database.
The external database is running and able to connect to the database (command line)
Created all required database by following https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_extrnl_pstgrs.html#cmig_topic_...
Below is the error I thrown at me when I am trying to setup Activity Monitor and Reports Manager
The error means that the password you entered does not match the password for the database. At least that was the return code from the attempted DB operation inside Cloudera Manager.
You should verify you can authenticate outside Cloudera Manager (with psql) for instance with the same connection information.
Thanks for the quick reply. I am able to login to the Postgres with the same password and also changed db.mgmt.properties still I have the same error
Am I missing something?
hmmm... db.mgmt.properties does not apply. That is only for the embedded postgres DB.
Were you using that before and are switching to a new DB?
If you have a "/etc/cloudera-scm-server/db.mgmt.properties" file, then that means you have installed the embedded db.
Can you give us more of the history of this cluster and what you are looking to do?
I am still in the building stage of the cluster.
I installed the server and daemons. It is completely in the starting stages of the build process.
I just did the yum install after the pre-requisites.
I followed the following link to set up the database
It gave me success.
Other than that is there any other way to see the connection with the database is successful.
What we need to know is at what step this is failing.
Can you take screen shots to help?
prepare db is only for Cloudera Manager and the error you showed was for AmonTestDatabaseConnection.
that implies that you connected to CM and started the wizard to create the cluster.
It is very important when looking for help to present the context for your questions/problems so we can understand clearly what the situation is.
That said, I am worried you are running into problems because you installed:
Please run "rpm -qa |grep cloudera" on your Cloudera Manager host and post the output.
Before we get too far, we need to be sure that you are not trying to use an external db when the embedded db is configured for use.
Thanks for the explanation, I may have misread your previous post.
I am attaching the screenshot
~]$ rpm -qa |grep cloudera