Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A8CE200C00 for ; Wed, 18 Jan 2017 21:30:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 495AA160B43; Wed, 18 Jan 2017 20:30:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8F81B160B22 for ; Wed, 18 Jan 2017 21:30:34 +0100 (CET) Received: (qmail 11037 invoked by uid 500); 18 Jan 2017 20:30:33 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 11028 invoked by uid 99); 18 Jan 2017 20:30:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 20:30:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5A58D1A06D2 for ; Wed, 18 Jan 2017 20:30:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.998 X-Spam-Level: X-Spam-Status: No, score=-1.998 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id b8QyuIwMI5D2 for ; Wed, 18 Jan 2017 20:30:31 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 012355FC18 for ; Wed, 18 Jan 2017 20:30:30 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8F4D8E8EA1 for ; Wed, 18 Jan 2017 20:30:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BC2182528D for ; Wed, 18 Jan 2017 20:30:26 +0000 (UTC) Date: Wed, 18 Jan 2017 20:30:26 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-19612) ambari-server setup failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 Jan 2017 20:30:35 -0000 [ 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)