Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15856

Getting WARNING on ambari server setup + start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      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] ?
      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] ?
      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] ?
      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.............

      Attachments

        1. AMBARI-15856.patch
          2 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: