Andrew Onischuk created AMBARI-12062:
----------------------------------------
Summary: 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)