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

Siddharth Wagle commented on AMBARI-2441:
-----------------------------------------

+1 LGTM
                
> Ambari server start fails with reconfigured user
> ------------------------------------------------
>
>                 Key: AMBARI-2441
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2441
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.5
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2441.patch
>
>
> STR:
> 1) Run ambari-server setup.
> 2) Choose custom user, user1.
> 3) Delete ambari.user from ambari.properties.
> 4) Run ambari-server setup.
> 5) Choose custom user, different from choosen in step 2, user2.
> 6) Run ambari-server start.
> Got error:
> ambari-server start
> Using python /usr/bin/python2.6
> Starting ambari-server
> Have root privileges.
> Checking iptables...
> iptables is disabled now
> Running server: ['/bin/su', 'user2', '-s', '/bin/sh', '-c', 
> '/usr/jdk64/jdk1.6.0_31/bin/java -server -XX:NewRatio=3 
> -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit 
> -XX:CMSInitiatingOccupancyFraction=60 -Xms512m -Xmx2048m -cp 
> /etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib/ambari-server/*
>  org.apache.ambari.server.controller.AmbariServer 
> >/var/log/ambari-server/ambari-server.out 2>&1 & echo $! > 
> /var/run/ambari-server/ambari-server.pid']
> done.
> sh: /var/run/ambari-server/ambari-server.pid: Permission denied
> sh: /var/log/ambari-server/ambari-server.out: Permission denied

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to