I am getting below error while installing Ambari. How do I resolve this?
Completing setup... Configuring database... Enter advanced database configuration [y/n] (n)? n Configuring database... Default properties detected. Using built-in database. Configuring ambari database... Checking PostgreSQL... Running initdb: This may take up to a minute. About to start PostgreSQL [sudo] password for kfkadm: ERROR: Exiting with exit code 3. REASON: Unable to start PostgreSQL server. Exiting
I had installed PostgreSQL by running below command:
I think if you are using the built-in database, which it appears are you trying to use, you likely do not need to install the postgres db manually. Ambari can do this for you. I suspect because you have installed it outside of Ambari, there is a conflict. I would try removing the manual postgres rpm based installation, and re-run the ambari-server setup