-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35725/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-12062
    https://issues.apache.org/jira/browse/AMBARI-12062


Repository: ambari


Description
-------

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.


Diffs
-----

  ambari-server/src/main/python/ambari_server/serverConfiguration.py c41a27d 

Diff: https://reviews.apache.org/r/35725/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to