See this post for more info:
http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-fails/
...
See this post for more info:
http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-fails/
This topic contains 7 replies, has 4 voices, and was last updated by Phillip Burger 3 months ago.
The version of Postgres that is installed with Ambari is different than what is listed in the documentation. I continue to encounter an error about being unable to start the Postgres server. Is this possibly related to the versions being different (detail below)?
[root@ip-10-253-6-179 ~]# ambari-server setup
Using python /usr/bin/python2.6
Run postgresql initdb
postgresql: unrecognized service
Run postgresql start
postgresql: unrecognized service
Setup ambari-server
Checking SELinux…
WARNING: Could not run /usr/sbin/sestatus: OK
Checking iptables…
iptables is disabled now
Checking PostgreSQL…
About to start PostgreSQL
ERROR: Unable to start PostgreSQL server. Exiting
There are not log files in the Ambar log file directory. I FTPed the output from check.
To simplify, I am now just trying to install on a one-node cluster.
When I yum install -y ambari-server, these versions of the postgres components install:
[root@ip-10-253-6-179 ~]# rpm -qa | grep -ie postgres*
postgresql91-server-9.1.5-3PGDG.rhel6.x86_64
postgresql91-9.1.5-3PGDG.rhel6.x86_64
postgresql91-libs-9.1.5-3PGDG.rhel6.x86_64
The versions necessary for Ambari and HDP to run are listed here and are different than what was installed:
listed at this above URL are:
postgresql 8.4.13-1.el6_3
postgresql-libs 8.4.13-1.el6_3
postgresql-server 8.4.13-1.el6_3
I’m on an AWS instance, here is the CentOS version, [root@ip-10-253-6-179 ~]# cat /etc/*-release
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
The AMI is: ami-2ac9411a
You must be logged in to reply to this topic.