You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/06/22 11:21:00 UTC
[jira] [Resolved] (AMBARI-12062) Ambari-server fails to start as
non-root user(umask 0027) when /var/log/ambari-server is a symlink
[ https://issues.apache.org/jira/browse/AMBARI-12062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk resolved AMBARI-12062.
--------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> Ambari-server fails to start as non-root user(umask 0027) when /var/log/ambari-server is a symlink
> --------------------------------------------------------------------------------------------------
>
> Key: AMBARI-12062
> URL: https://issues.apache.org/jira/browse/AMBARI-12062
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> Ambari server fails to start as a non root user (username = ambari).
>
>
>
> ip-172-31-31-147:/etc/ambari-server/conf # su - ambari -s /bin/sh
> ip-172-31-31-147:~> /usr/sbin/ambari-server start
> Using python /usr/bin/python2.6
> 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...
> Unable to check firewall status when starting without root privileges.
> Please do not forget to disable or adjust firewall if needed
> 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..../usr/bin/sh: /var/log/ambari-server/ambari-server.out: Permission denied
> .....
> ERROR: Exiting with exit code -1.
> REASON: Ambari Server java process died with exitcode 1. Check /var/log/ambari-server/ambari-server.out for more information.
> ip-172-31-31-147:~> exit
>
> please see the ambari server log attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)