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 AE7AC200C38 for ; Wed, 15 Mar 2017 17:35:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AD05E160B60; Wed, 15 Mar 2017 16:35:47 +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 CFB30160B7C for ; Wed, 15 Mar 2017 17:35:46 +0100 (CET) Received: (qmail 67351 invoked by uid 500); 15 Mar 2017 16:35:46 -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 67342 invoked by uid 99); 15 Mar 2017 16:35:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 16:35:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 83F8E180B10 for ; Wed, 15 Mar 2017 16:35:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id k_iAP84nUPAP for ; Wed, 15 Mar 2017 16:35:44 +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 4C8565F23A for ; Wed, 15 Mar 2017 16:35:43 +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 52152E095F for ; Wed, 15 Mar 2017 16:35:42 +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 A6CE4243B0 for ; Wed, 15 Mar 2017 16:35:41 +0000 (UTC) Date: Wed, 15 Mar 2017 16:35:41 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-20460) ambari-server restart --debug giving "su: cannot open session: Permission denied" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Mar 2017 16:35:47 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926522#comment-15926522 ] Hadoop QA commented on AMBARI-20460: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12858883/AMBARI-20460.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/11042//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11042//console This message is automatically generated. > ambari-server restart --debug giving "su: cannot open session: Permission denied" > --------------------------------------------------------------------------------- > > Key: AMBARI-20460 > URL: https://issues.apache.org/jira/browse/AMBARI-20460 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.5.0 > > Attachments: AMBARI-20460.patch > > > The jenkins job is as follows : jenkins.qe.hortonworks.com:8080/job/Nightly-Start-EC2-Run-HDP/407827/> > STR : > 1) Execute "ambari-server setup-ldap" > 2) Once LDAP setup goes through fine, call "ambari-server restart --debug " > The following error pops up : > > > > /usr/lib64/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal. > passwd = fallback_getpass(prompt, stream) > Warning: Password input may be echoed. > Enter Manager Password* : > Warning: Password input may be echoed. > Re-enter password: > > [EXIT CODE] > 0 > 2017-02-28 04:13:39,529 INFO com.hw.ambari.ui.util.cluster_managers.LDAPClusterManager.ambariServerSetupLDAP(): > Ambari server LDAPS setup process ended > > 2017-02-28 04:13:39,529 INFO com.hw.ambari.ui.util.cluster_managers.AmbariManager.getStartAmbariServerCommand(): Trying to restart Ambari server ... > 2017-02-28 04:13:39,530 DEBUG com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): Sending commands to host [ctr-e129-1487033772569-27178-01-000003.hwx.site]: > 2017-02-28 04:13:39,530 DEBUG com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): Sending command [export AMBARI_JVM_ARGS="-Xms512m -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=1024m"] > 2017-02-28 04:13:39,531 DEBUG com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): Sending command [ambari-server restart --debug] > 2017-02-28 04:13:41,753 DEBUG com.hw.ambari.ui.util.cluster_managers.ProcessData.buildOutputAndErrorStreamData(): su: cannot open session: Permission denied > 2017-02-28 04:13:59,989 DEBUG com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): [OUTPUT STREAM] > Using python /usr/bin/python > Restarting ambari-server > Waiting for server stop... > Ambari Server stopped > Ambari Server running with administrator privileges. > Organizing resource files at /var/lib/ambari-server/resources... > Ambari database consistency check started... > Server PID at: /var/run/ambari-server/ambari-server.pid > Server out at: /var/log/ambari-server/ambari-server.out > Server log at: /var/log/ambari-server/ambari-server.log > Waiting for server start.........Unable to determine server PID. Retrying... > ......Unable to determine server PID. Retrying... > ......Unable to determine server PID. Retrying... > > I ran ulimit on the root user : > > > > [root@ctr-e129-1487033772569-27178-01-000003 ~]# ulimit > unlimited > > Ran service ambari-server start : > > > > [root@ctr-e129-1487033772569-27178-01-000003 ~]# service ambari-server start > Using python /usr/bin/python > Starting ambari-server > Ambari Server running with administrator privileges. > Organizing resource files at /var/lib/ambari-server/resources... > Ambari database consistency check started... > Server PID at: /var/run/ambari-server/ambari-server.pid > Server out at: /var/log/ambari-server/ambari-server.out > Server log at: /var/log/ambari-server/ambari-server.log > Waiting for server start....su: cannot open session: Permission denied > > The ambari logs don't have any data > Artifacts : > rtifacts/screenshots/com.hw.ambari.ui.tests.console.ldap.LDAPRBACSanity/setupL > DAPAndRBACSanity/_28_4_14_3_Couldn_t_create_user_clusteruser_due_to_java_lang_ > NullPointerException/test_logs/test_LDAPRBACSanity_debug.log> -- This message was sent by Atlassian JIRA (v6.3.15#6346)