[
https://issues.apache.org/jira/browse/AMBARI-10165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608325#comment-14608325
]
Hudson commented on AMBARI-10165:
---------------------------------
ABORTED: Integrated in Ambari-branch-2.0.0 #122 (See
[https://builds.apache.org/job/Ambari-branch-2.0.0/122/])
AMBARI-10165 Permission denied on .hash file when starting ambari server as non
root user on ubuntu (dsen) (dsen:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e3ab1910787320d985eb1b97bc136614b3dd48a2)
* ambari-agent/src/main/python/ambari_agent/FileCache.py
* ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
> 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)