Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0
-
None
-
None
Description
Log:
[1;31mError: /Stage[main]/Ambari::Server/Exec[server setup]/returns: change from notrun to 0 failed: Using python /usr/bin/python Setup ambari-server Checking SELinux... WARNING: Could not run /usr/sbin/sestatus: OK Customize user account for ambari-server daemon [y/n] (n)? Adjusting ambari-server permissions and ownership... Checking firewall status... Checking JDK... WARNING: JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/ must be valid on ALL hosts WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts. Checking GPL software agreement... GPL License for LZO: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html Enable Ambari Server to download and install GPL Licensed LZO packages [y/n] (n)? Completing setup... Configuring database... Enter advanced database configuration [y/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. Initializing database ... OK About to start PostgreSQL ERROR: Exiting with exit code 127. REASON: Unable to start PostgreSQL server. Exiting [0m [mNotice: /Stage[main]/Ambari::Server/Service[ambari-server]: Dependency Exec[server setup] has failures: true[0m [1;31mWarning: /Stage[main]/Ambari::Server/Service[ambari-server]: Skipping because of failed dependencies[0m [mNotice: /Stage[main]/Ambari::Agent/Service[ambari-agent]/ensure: ensure changed 'stopped' to 'running'[0m [mNotice: Finished catalog run in 54.02 seconds[0m