ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19612) ambari-server setup failed
Date Wed, 18 Jan 2017 20:30:26 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828728#comment-15828728
] 

Hudson commented on AMBARI-19612:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6482 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6482/])
AMBARI-19612. ambari-server setup failed.(vbrodetskyi) (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cf67fb9fe16157ce10c0d6118f1a22000104aa6f])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* (edit) ambari-common/src/main/python/ambari_commons/os_linux.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java


> ambari-server setup failed
> --------------------------
>
>                 Key: AMBARI-19612
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19612
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19612.patch
>
>
> ambari-server setup failed 
> found this issue in logs 
> {noformat}
> sing 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...
> Do you want to change Oracle JDK [y/n] (n)? input not recognized, please try again: 
> Do you want to change Oracle JDK [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...
> Configuring local database...
> Configuring PostgreSQL...
> Backup for pg_hba found, reconfiguration not required
> Creating schema and user...
> ERROR: Failed to execute command:['ambari-sudo.sh', 'su', 'postgres', '-', '--command=psql
-f /var/lib/ambari-server/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql -v username=\'"ambari"\'
-v password="\'bigdata\'" -v dbname="ambari"']
> ERROR: stderr:could not change directory to "/root"
> psql: could not connect to server: No such file or directory
> 	Is the server running locally and accepting
> 	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
> ERROR: stdout:
> process_pid=28571
> failed to execute queries ...retrying (1)
> Creating schema and user...
> ERROR: Failed to execute command:['ambari-sudo.sh', 'su', 'postgres', '-', '--command=psql
-f /var/lib/ambari-server/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql -v username=\'"ambari"\'
-v password="\'bigdata\'" -v dbname="ambari"']
> ERROR: stderr:could not change directory to "/root"
> psql: could not connect to server: No such file or directory
> 	Is the server running locally and accepting
> 	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
> ERROR: stdout:
> process_pid=28580
> failed to execute queries ...retrying (2)
> Creating schema and user...
> ERROR: Exiting with exit code 2. 
> REASON: Running database init script failed. Exiting.{noformat}
> The same result when try to do it manually



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message