The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"LInux install failed"

maxgmaxg Member Posts: 2 Contributor I
edited May 2019 in Help
hi,

Install RM 4.3 on CentOS 5.0 with java 1.6 updated 10,  error message below:

---------
[test@test$]rapidminer 01_Normalization.xml
Starting RapidMiner from '/opt/rapidminer/run', using classes from '/opt/rapidminer/run/lib/rapidminer.jar'...
RapidMiner version 4.3.000, Copyright (C) 2001-2008
RapidMiner comes with ABSOLUTELY NO WARRANTY; This is free software,
and you are welcome to redistribute it under certain conditions;
see license information in the file named LICENSE.
G 2-Dec-08 12:50:09 AM: rapidminer.home is '/opt/rapidminer/run'.
Last message repeated 1 times.
G 2-Dec-08 12:50:09 AM: ----------------------------------------------------
G 2-Dec-08 12:50:09 AM: Initialization Settings
G 2-Dec-08 12:50:09 AM: ----------------------------------------------------
G 2-Dec-08 12:50:09 AM: Default system encoding for IO: UTF-8
G 2-Dec-08 12:50:09 AM: Load core operators...
G 2-Dec-08 12:50:09 AM: Load Weka operators: true
G 2-Dec-08 12:50:09 AM: Load JDBC drivers from lib directory: true
G 2-Dec-08 12:50:09 AM: Load JDBC drivers from classpath: false
G 2-Dec-08 12:50:09 AM: Load plugins: true
G 2-Dec-08 12:50:09 AM: Load plugins from '/opt/rapidminer/run/lib/plugins'
G 2-Dec-08 12:50:09 AM: ----------------------------------------------------
G 2-Dec-08 12:50:09 AM: Read rcfile '/opt/rapidminer/run/etc/rapidminerrc'.
G 2-Dec-08 12:50:09 AM: Trying rcfile '/opt/rapidminer/run/etc/rapidminerrc.Linux'...skipped
G 2-Dec-08 12:50:09 AM: Trying rcfile '/home/maxg/.rapidminer/4_3_0_rapidminerrc'...skipped
G 2-Dec-08 12:50:09 AM: Trying rcfile '/home/maxg/.rapidminer/4_3_0_rapidminerrc.Linux'...skipped
G 2-Dec-08 12:50:09 AM: Trying rcfile '/disk01/opt/rapidminer/run/sample/03_Preprocessing/rapidminerrc'...skipped
G 2-Dec-08 12:50:09 AM: Trying rcfile '/disk01/opt/rapidminer/run/sample/03_Preprocessing/rapidminerrc.Linux'...skipped
G 2-Dec-08 12:50:09 AM: Trying rapidminer.rcfile. Property not specified...skipped
G 2-Dec-08 12:50:14 AM: Loading operators from 'operators.xml'.
Header Chunk. Image width:16 height:16 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:24 height:24 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:32 height:32 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:48 height:48 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:64 height:64 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Header Chunk. Image width:128 height:128 depth:8 color type:6 compression type:0 filter type:0 interlace:0
G 2-Dec-08 12:50:18 AM: [Error] Cannot register 'DBScanClustering': java.lang.NoClassDefFoundError: com.rapidminer.operator.clustering.clusterer.DBScan
G 2-Dec-08 12:50:19 AM: [Error] Cannot register 'EvolutionaryFeatureAggregation': com.rapidminer.operator.OperatorCreationException: Operator cannot be constructed: 'EvolutionaryFeatureAggregation(com.rapidminer.operator.features.aggregation.EvolutionaryFeatureAggregation)': java.util.concurrent.atomic.AtomicInteger
G 2-Dec-08 12:50:19 AM: [Error] Cannot register 'FeatureSubsetIteration': java.lang.NoClassDefFoundError: com.rapidminer.operator.meta.FeatureSubsetIteration
G 2-Dec-08 12:50:21 AM: Loading JDBC driver information from 'etc:jdbc_properties.xml'.
Exception in thread "main" java.security.InvalidParameterException: unsupported key size: 21
  at gnu.javax.crypto.jce.key.SecretKeyGeneratorImpl.engineInit(libgcj.so.7rh)
  at javax.crypto.KeyGenerator.init(libgcj.so.7rh)
  at com.rapidminer.tools.cipher.KeyGeneratorTool.createAndStoreKey(KeyGeneratorTool.java:66)
  at com.rapidminer.RapidMiner.init(RapidMiner.java:311)
  at com.rapidminer.RapidMiner.init(RapidMiner.java:228)
  at com.rapidminer.RapidMiner.init(RapidMiner.java:404)
  at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:113)
  at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:149)

---------

please help.
Tagged:

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    since we do not have a CentOS installation on one of our Linux computers, I can't really reproduce your error. We have the current SuSe version installed and it runs just fine. But I could make some guesses.
    - Try to install an older java 1.6. We had some problems before with the newest update, because they have changed some important behaviors. This problemes occured with the windows version, but probably its worth a try.
    - The second thing is, that the classpath seems not to be set correctly since it can't find the operators classes. Did you use the start scripts? Does it work if you start the gui?
    - The cryptography engine seems to work in a different way than on other installations or suffers from the same error as the operators.
    If you find a solution or eliminated some of the possible sources of error I would appritiate it, if you could tell us.

    Greetings,
      Sebastian
  • maxgmaxg Member Posts: 2 Contributor I
    Thanks for your patient help.

    I fix the problem by change script file rapidminer
    ---------------
    if [ -z "${JAVA_HOME}" ] ; then
        echo "JAVA_HOME is not set. Edit $0 and/or your local startup files."
        exit 1
    else
        _jfnd="`which java`"
        if [ -x "${_jfnd}" ]; then
          #JAVA="${_jfnd}"
            JAVA="${JAVA_HOME}/bin/java"
    --------------

    CentOS 5.0 uses java 1.4.2 version,  and `which java`  link to  /usr/bin java as default.
    I give explicit path to java 1.6 version by
             
            JAVA="${JAVA_HOME}/bin/java"

    It does work.

    thanks for your help again.
    land wrote:

    Hi,
    since we do not have a CentOS installation on one of our Linux computers, I can't really reproduce your error. We have the current SuSe version installed and it runs just fine. But I could make some guesses.
    - Try to install an older java 1.6. We had some problems before with the newest update, because they have changed some important behaviors. This problemes occured with the windows version, but probably its worth a try.
    - The second thing is, that the classpath seems not to be set correctly since it can't find the operators classes. Did you use the start scripts? Does it work if you start the gui?
    - The cryptography engine seems to work in a different way than on other installations or suffers from the same error as the operators.
    If you find a solution or eliminated some of the possible sources of error I would appritiate it, if you could tell us.

    Greetings,
      Sebastian
Sign In or Register to comment.