You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/04/13 10:58:25 UTC

[jira] [Commented] (AMBARI-15856) Getting WARNING on ambari server setup + start

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

Andrew Onischuk commented on AMBARI-15856:
------------------------------------------

{noformat}
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 145 licence.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [2.142s]
[INFO] Ambari Metrics Common ............................. SUCCESS [0.482s]
[INFO] Ambari Server ..................................... SUCCESS [48.115s]
[INFO] Ambari Agent ...................................... SUCCESS [22.401s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:13.924s
[INFO] Finished at: Wed Apr 13 11:55:25 EEST 2016
[INFO] Final Memory: 66M/1107M
[INFO] ------------------------------------------------------------------------
{noformat}

> Getting WARNING on ambari server setup + start
> ----------------------------------------------
>
>                 Key: AMBARI-15856
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15856
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15856.patch
>
>
> Build #264
> There is a warning being printed during setup and during start. This is using
> all default / simplest path thru.
>     
>     
>     
>     [root@c6401 ~]# ambari-server setup -s
>     Using python  /usr/bin/python
>     Setup ambari-server
>     Checking SELinux...
>     SELinux status is 'disabled'
>     Customize user account for ambari-server daemon [y/n] (n)? 
>     Adjusting ambari-server permissions and ownership...
>     Checking firewall status...
>     Checking JDK...
>     [1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
>     [2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
>     [3] Custom JDK
>     ==============================================================================
>     Enter choice (1): 
>     To download the Oracle JDK and the Java Cryptography Extension (JCE) Policy Files you must accept the license terms found at http://www.oracle.com/technetwork/java/javase/terms/license/index.html and not accepting will cancel the Ambari Server setup and you must install the JDK and JCE files manually.
>     Do you accept the Oracle Binary Code License Agreement [y/n] (y)? 
>     Downloading JDK from http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u60-linux-x64.tar.gz to /var/lib/ambari-server/resources/jdk-8u60-linux-x64.tar.gz
>     jdk-8u60-linux-x64.tar.gz... 100% (172.8 MB of 172.8 MB)
>     Successfully downloaded JDK distribution to /var/lib/ambari-server/resources/jdk-8u60-linux-x64.tar.gz
>     Installing JDK to /usr/jdk64/
>     Successfully installed JDK to /usr/jdk64/
>     Downloading JCE Policy archive from http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-8.zip to /var/lib/ambari-server/resources/jce_policy-8.zip
>     
>     Successfully downloaded JCE Policy archive to /var/lib/ambari-server/resources/jce_policy-8.zip
>     Installing JCE policy...
>     Completing setup...
>     Configuring database...
>     Enter advanced database configuration [y/n] (n)? 
>     Configuring database...
>     Default properties detected. Using built-in database.
>     WARNING: Command chown  None /etc/ambari-server/conf/password.dat returned exit code /etc/ambari-server/conf/password.dat with message: chown: invalid user: `None'
>     
>     Configuring ambari database...
>     Checking PostgreSQL...
>     Running initdb: This may take up to a minute.
>     Initializing database: [  OK  ]
>     
>     About to start PostgreSQL
>     Configuring local database...
>     Connecting to local database...done.
>     Configuring PostgreSQL...
>     Restarting PostgreSQL
>     Extracting system views...
>     ....ambari-admin-2.4.0.0.264.jar
>     ..
>     Adjusting ambari-server permissions and ownership...
>     Ambari Server 'setup' completed successfully.
>     [root@c6401 ~]# ambari-server start
>     Using python  /usr/bin/python
>     Starting ambari-server
>     Ambari Server running with administrator privileges.
>     Organizing resource files at /var/lib/ambari-server/resources...
>     WARNING: Multiple versions of javax.servlet.jsp.jstl.jar found in java class path (/usr/lib/ambari-server/javax.servlet.jsp.jstl-1.2.2.jar and /usr/lib/ambari-server/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar). 
>      Make sure that you include only one javax.servlet.jsp.jstl.jar in the java class path '/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar'.
>     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.............
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)