You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2015/02/02 19:37:36 UTC

[jira] [Resolved] (AMBARI-9434) Error with JCE during ambari-server setup with openJDK1.7 and OracleJDK 1.7

     [ https://issues.apache.org/jira/browse/AMBARI-9434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitaly Brodetskyi resolved AMBARI-9434.
---------------------------------------
    Resolution: Fixed

Committed to trunk

> Error with JCE during ambari-server setup with openJDK1.7 and OracleJDK 1.7
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-9434
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9434
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9434.patch
>
>
> Setup of ambari-server was failed:
> {noformat}
> Using python  /usr/bin/python2.6
> 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 iptables...
> Checking JDK...
> WARNING: JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk.x86_64 must be valid on ALL hosts
> WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts.
> Installing JCE policy...
> ERROR: Exiting with exit code 1. 
> REASON: Installing JCE failed: 'Fatal exception: Fail during the extraction of /var/lib/ambari-server/resources/., exit code 1'. Exiting.
> ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -q root@172.18.145.167 "ambari-server start" &
> Using python  /usr/bin/python2.6
> Starting ambari-server
> ERROR: Exiting with exit code -1. 
> REASON: DB Name property not set in config file.
> - If this is a new setup, then run the "ambari-server setup" command to create the user
> - If this is an upgrade of an existing setup, run the "ambari-server upgrade" command.
> Refer to the Ambari documentation for more information on setup and upgrade.
> {noformat}



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