You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/03/20 20:28:40 UTC

[jira] [Commented] (AMBARI-10165) Permission denied on .hash file when starting ambari server as non root user on ubuntu

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

Hadoop QA commented on AMBARI-10165:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12706000/AMBARI-10165.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:red}-1 core tests{color}.  The test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2105//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2105//console

This message is automatically generated.

> Permission denied on .hash file when starting ambari server as non root user on ubuntu
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10165
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10165
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>         Environment: Ubuntu
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-10165.patch
>
>
> Created a non root user 'ambari' during ambari-server setup on Ubuntu. then
> su - ambari -s /bin/sh
> /usr/sbin/ambari-server start throws the below error on each service.
> {code}
> /usr/sbin/ambari-server start
> Using python  /usr/bin/python2.7
> Starting ambari-server
> Unable to check PostgreSQL server status when starting without root privileges.
> Please do not forget to start PostgreSQL server.
> Organizing resource files at /var/lib/ambari-server/resources...
> ERROR: Exiting with exit code -1. 
> REASON: Can not organize resource files at /var/lib/ambari-server/resources: Can not read file /var/lib/ambari-server/resources/common-services/SLIDER/0.60.0.2.2/package/.hash : [Errno 13] Permission denied: '/var/lib/ambari-server/resources/common-services/SLIDER/0.60.0.2.2/package/.hash'
> {code}
> This is working fine on centos6



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