Environment
Novell Identity Manager - Remote Loader
Novell Identity Manager 3.0
Novell Identity Manager 3.5
Novell Identity Manager 3.5.1
Situation
When trying to run create_keystore on a Linux or Unix system the
following message is presented:
servername:/etc/opt/novell/dirxml/rdxml # create_keystore ./selfsignedcert.b64 idmkeystore
Error: No Java keytool executable found.
Please modify PATH or edit this script.
servername:/etc/opt/novell/dirxml/rdxml #
servername:/etc/opt/novell/dirxml/rdxml # create_keystore ./selfsignedcert.b64 idmkeystore
Error: No Java keytool executable found.
Please modify PATH or edit this script.
servername:/etc/opt/novell/dirxml/rdxml #
Resolution
This message indicates that the keytool command, part of the Java
Virtual Machine, is not in the current user's $PATH and therefore
cannot be executed. If the Novell Identity Manager (IDM)
engine packages were installed on the server there should be a
keytool available in /opt/novell/eDirectory/lib/nds-modules/jre/bin
or it may also be in a system's own JVM if one is installed.
These are typically in $JAVA_HOME/bin where $JAVA_HOME is the
directory where the JVM is installed. Some common links to
these directories include /etc/alternatives/java/bin or
/etc/alternatives/jre/bin though they can be installed anywhere
including in a user's home directory if needed.
To add these paths to the current $PATH variable enter a command like the following substituting for the actual path
to the keytool executable:
PATH=:$PATH
export PATH
For example:
PATH=/opt/novell/eDirectory/lib/nds-modules/jre1.5.0_12/bin:$PATH
export PATH
Once this is done the keytool should be executed automatically by the create_keystore command.
To add these paths to the current $PATH variable enter a command like the following substituting
PATH=
export PATH
For example:
PATH=/opt/novell/eDirectory/lib/nds-modules/jre1.5.0_12/bin:$PATH
export PATH
Once this is done the keytool should be executed automatically by the create_keystore command.