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 <ao...@hortonworks.com> on 2015/06/22 11:17:49 UTC
Review Request 35725: Ambari-server fails to start as non-root
user(umask 0027) when /var/log/ambari-server is a symlink
-----------------------------------------------------------
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
Re: Review Request 35725: Ambari-server fails to start as non-root
user(umask 0027) when /var/log/ambari-server is a symlink
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35725/#review88748
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On Червень 22, 2015, 9:17 до полудня, Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35725/
> -----------------------------------------------------------
>
> (Updated Червень 22, 2015, 9:17 до полудня)
>
>
> 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
>
>