ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12062) Ambari-server fails to start as non-root user(umask 0027) when /var/log/ambari-server is a symlink
Date Mon, 22 Jun 2015 11:08:00 GMT

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

Hudson commented on AMBARI-12062:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2967 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2967/])
AMBARI-12062. Ambari-server fails to start as non-root user(umask 0027) when /var/log/ambari-server
is a symlink (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d9a315e0486a9a4f161517128a49a19659116bd0)
* ambari-server/src/main/python/ambari_server/serverConfiguration.py


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

Mime
View raw message