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

[jira] [Updated] (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:all-tabpanel ]

Dmytro Sen updated AMBARI-10165:
--------------------------------
    Attachment: AMBARI-10165.patch

> 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)