I am working through the Ambari 1.7 install instructions for HDP2.2 for a simple 1 node test VM. I have installed OpenJDK 1.7 and PostgreSQL 8.4 on Centos 6.6, and configured Postgres to have databases for Ambari, Hive and Oozie. So when I run ambari-server setup, I specify the existing java home, the jdbc driver and postgres as the “external” database.
When I run ambari-server -startup, I get the output below, as you can see it never gives me feedback, even with debug and verbose modes. I did not get any prompts about SELinux or anything else, nor does it prompt if I want to run as a different user. It comes back in under 2 seconds and says it is done. However, if I try ambari-server start, it says there is no user. There is nothing in the /var/log/ambari-server
[root@hdp1 ~]# ambari-server setup –debug –verbose -j /usr/java/default –jdbc-db=postgres –jdbc-driver=/usr/share/java/postgresql-jdbc.jar
Using python /usr/bin/python2.6
Setup ambari-server
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
JDBC driver was successfully initialized .
Ambari Server ‘setup’ completed successfully.
[root@hdp1 ~]#
[root@hdp1 ~]# ambari-server start
Using python /usr/bin/python2.6
Starting ambari-server
ERROR: Exiting with exit code 1.
REASON: Unable to detect a system user for Ambari Server.
– If this is a new setup, then run the “ambari-server setup” command to create the user
– If this is an upgrade of an existing setup, run the “ambari-server upgrade” command.
Refer to the Ambari documentation for more information on setup and upgrade.
[root@hdp1 ~]#
It would be a big help if there was some way for me to see what is failing. I have tried to test every step along the installation but I could have missed something. I have not been able to find any kind of logs for the “setup” feature and I have not found any postings where someone says they have seen anything similar. I am puzzled by the fact it says so little on the screen.
I would appreciate any advice or insight on things to try next. I could take out the options for using OpenJDK or the Postgres I installed, but I really do want those options. They are supposed to be supported, so even if it did work without them, it would not help me get an install that uses them.
Thanks
B