Author Topic: OnDemand on Linux fails with Higher Version (CMOD 9.5)  (Read 6387 times)

rbarrenechea

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
OnDemand on Linux fails with Higher Version (CMOD 9.5)
« on: January 18, 2016, 03:13:51 PM »
Hi I am trying to deploy CMOD 9.5 on LINUX, and I get the following error:

So I run as ROOT the following command:

./odlinux.bin,

It does starts to unpack, asks for the Language, then to check that you want to continue, then for agree to the license and then fails with:


IBM OnDemand V9.5
-----------------

The installed product has a higher version.

The installer will now quit.

PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):

CMOD is not even on the machine.

The output file shows that CMOPD tries to execute some files on the /tmp folder but nothing exists there. It may be something obvious but I think I am too tired now to see it, so any comment is welcome.

LOG file is as follows:

ODMPV95LOG

__________________________________________________________________________

InstallAnywhere 2013
Version: 15.0
__________________________________________________________________________

Mon Jan 18 14:59:00 CST 2016

Free Memory: 390 kB
Total Memory: 4096 kB

No Arguments

java.class.path:
    /tmp/install.dir.15133/InstallerData
    /tmp/install.dir.15133/InstallerData/installer.zip

ZGUtil.CLASS_PATH:
    /tmp/install.dir.15133/InstallerData
    /tmp/install.dir.15133/InstallerData/installer.zip

sun.boot.class.path:
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/amd64/default/jclSC160/vm.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/annotation.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/beans.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/java.util.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/jndi.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/logging.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/security.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/sql.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmorb.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmorbapi.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmcfw.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/rt.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/charsets.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/resources.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmpkcs.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmcertpathfw.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmjgssfw.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmjssefw.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmsaslfw.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmjcefw.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmjgssprovider.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmjsseprovider2.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmcertpathprovider.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ibmxmlcrypto.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/management-agent.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/xml.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/jlm.jar
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/javascript.jar

java.ext.dirs:
    /tmp/install.dir.15133/Linux/resource/jre/jre/lib/ext

java.version                  == 1.6.0 (Java 1)
java.vm.name                  == IBM J9 VM
java.vm.vendor                == IBM Corporation
java.vm.version               == 2.4
java.vm.specification.name    == Java Virtual Machine Specification
java.vm.specification.vendor  == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name       == Java Platform API Specification
java.specification.vendor     == Sun Microsystems Inc.
java.specification.version    == 1.6
java.vendor                   == IBM Corporation
java.vendor.url               == http://www.ibm.com/
java.class.version            == 50.0
java.library.path             == /tmp/install.dir.15133/Linux/resource/jre/jre/lib/amd64/default:/tmp/install.dir.15133/Linux/resource/jre/jre/lib/amd64:/usr/lib
java.compiler                 == j9jit24
java.home                     == /tmp/install.dir.15133/Linux/resource/jre/jre
java.io.tmpdir                == /tmp
os.name                       == Linux
os.arch                       == amd64
os.version                    == 2.6.32-573.7.1.el6.x86_64
path.separator                == :
file.separator                == /
file.encoding                 == UTF-8
user.name                     == root
user.home                     == /root
user.dir                      == /tmp/install.dir.15133
user.language                 == en
user.region                   == null
__________________________________________________________________________

Selected Locale = English


Loading externalized properties

System's temporary directory = /tmp
Command.run(): Cannot run program "/tmp/584671.tmp/executeScriptTmp0": java.io.IOException: error=2, No such file or directory
Command.run(): Cannot run program "/tmp/584671.tmp/executeScriptTmp0": java.io.IOException: error=2, No such file or directory
Command.run(): Cannot run program "/tmp/584671.tmp/executeScriptTmp0": java.io.IOException: error=2, No such file or directory
Command.run(): Cannot run program "/tmp/584671.tmp/executeScriptTmp0": java.io.IOException: error=2, No such file or directory
Command.run(): Cannot run program "/tmp/584671.tmp/executeScriptTmp0": java.io.IOException: error=2, No such file or directory
SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
Exiting with exit code: 1000
cleanUp()
calling cleanUpUNIX()

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #1 on: January 19, 2016, 08:35:50 AM »
Hello,

apparently you get this error, because someone installed CMOD some time ago in this linux server, and didn't uninstall it correctly.
Therefore you think that CMOD is not installed, but in fact it was.

When doing an installation, CMOD is using InstallShield, that installs some config files in the system. If you don't uninstall it with the script located in ${CMOD_INSTALL_DIR}/_uninst950/uninstallod, then these files are left behind.

Where are these config files? Normally you will find it here:

Code: [Select]
/var/.com.zerog.registry.xml

and you will able to see inside something like that:

Code: [Select]
               <product name="IBM OnDemand V9.5" id="XYZ" version="9.5.0.2" copyright="2015" info_url="" support_url="" location="" last_modified="2015-07-10 18:53:48">
                <![CDATA[]]>
                        <vendor name="IBM" id="XYZ" home_page="http://www.ibm.com/software/data/ondemand" email=""/>
                        <feature short_name="ODMP" name="OnDemand for Multiplatforms" last_modified="2015-07-10 18:53:48">
                        <![CDATA[This installs the application feature.]]>
                                <component ref_id="XYZ" version="9.5.0.2" location="/jre"/>
                                <component ref_id="XYZ" version="9.5.0.2" location="/_uninst950/uninstallod"/>
                        </feature>
                </product>


So maybe CMOD was the only installed package on that Linux server, and then you can delete this file completely.
If not, then you might try to do a backup of the xml file first, and then try to remove the <product>...</product> parts... and at the end try to remove the lines for the corresponding components...
then you can try to redo the installation.

Or an easier way, is to install the base package of CMOD V9.5.0.0 (in IBM passport Advantage), and normally it will override that error and will continue the installation.
Good luck.
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

rbarrenechea

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #2 on: January 28, 2016, 11:39:14 AM »
Hi Alessandro,

This is a new system, just Linux, IBM WAS 8.5.5.8 and IBM HTTP 8.5.5.8, nothing else, I did check the file you mentioned and CMOD is not there.

And as CMOD 9.5.0.0 for Linux does include ODWEK now within is install, then that is what I am trying to install, but it doesn't work.

So I have no clue to what it refers as Installed version.

Roberto.

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #3 on: January 28, 2016, 03:17:42 PM »
That's strange...
I've made lots of installation with CMOD V9.5 on Linux without having this kind of error...
Did you took the package from Passport Advantage? (I know this is a silly question...).

Did you check if the GSKit are at the correct version or simply installed?

Did you install some patches in your RHEL 6? I have check that you kernel version is just above the minimum required for CMOD V9.5, and I am wondering if some of the other package of RHEL is to a correct version...
maybe yes, maybe not...
« Last Edit: January 28, 2016, 03:51:53 PM by Alessandro Perucchi »
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #4 on: January 28, 2016, 04:03:11 PM »
What you can try is the following:

Code: [Select]
odlinux.bin -i console -DOD_HIGHER_VERSION_CHECK=false
And please, if you are trying to install CMOD V9.5, please... install a fix pack. Now we are at fix pack 4 -> V9.5.0.4.
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #5 on: February 06, 2016, 08:27:36 AM »
Huh.  I just got this error message as well, while building out a new test VM for a client.  Definitely a bug in the installer. 

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

rbarrenechea

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #6 on: February 29, 2016, 10:15:52 AM »
Hi, the problem is a two (2) part solution:

1) Make sure you have KSH as your shell and that you are running in ksh, New Linux Install do not install ksh by default only bsh.
2) Run the ./odlinux.bin -DOD_HIGHER_VERSION_CHECK=false

And that sorts the problem.

rbarrenechea

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #7 on: February 29, 2016, 10:30:49 AM »
And before I forget: Fixpack 4 is rubbish, better wait for the next release, and test it first. ;-), maybe worst than the 9.5.0.4

kbsiva

  • Guest
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #8 on: February 29, 2016, 01:09:17 PM »
Thanks for posting the solution

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #9 on: March 01, 2016, 10:48:07 AM »
And before I forget: Fixpack 4 is rubbish, better wait for the next release, and test it first. ;-), maybe worst than the 9.5.0.4

It might be rubbish, but in all cases, before installing a fix pack in production, it is always advisable to test it in a Test system.
If you install a fix pack in production directly without testing it correctly... then of course, there is always a huge risk.
Nevertheless, Fix Pack 9.5.0.4 was refreshed because of some errors, so maybe the new fix pack 9.5.0.4 is less rubbish that the last one.

BUT of course, you need to test it first, as any fix pack from any company...
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #10 on: September 25, 2023, 06:28:07 PM »
Just a quick note to thank Roberto and Alessandro for this thread...  Almost 10 years later, it helped me upgrade a client from v7 all the way to v10.5...

Another awesome display of the power of the forums.  :)

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #11 on: September 26, 2023, 02:36:46 PM »
Just a quick note to thank Roberto and Alessandro for this thread...  Almost 10 years later, it helped me upgrade a client from v7 all the way to v10.5...

Another awesome display of the power of the forums.  :)

-JD.

10.5.0.7?

We're having what appears to be install anywhere / java issues with RHEL on that one.

Code: [Select]
[root@server od]# ./odlinux1057.bin -i console -DOD_HIGHER_VERSION_CHECK=false
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Error: Could not find or load main class com.zerog.lax.LAX
Caused by: java.lang.ClassNotFoundException: com.zerog.lax.LAX

Google related to another product said to try this:

Code: [Select]
export JAVA_TOOL_OPTIONS=-Djdk.util.zip.disableZip64ExtraFieldValidation=true
So doing this along side

Code: [Select]
./odlinux1057.bin -i console -DOD_HIGHER_VERSION_CHECK=false
Prompted me to:

Code: [Select]
Please Wait
-----------
------|-------
    1- Yes to All
    2- Yes
    3- No
    4- No to All

A newer file named "commons-text-1.10.0.jar" already exists at
   "/opt/ibm/ondemand/V10.5/jars".

Which led to:

Code: [Select]
Installation Complete
---------------------

Congratulations. IBM OnDemand V10.5 has been successfully installed to:

   /opt/ibm/ondemand/V10.5

PRESS <ENTER> TO EXIT THE INSTALLER:
[root@server od]# /opt/ibm/ondemand/V10.5/bin/arsxml
ARS7700I Usage: arsxml add|update|delete|export|validate [options]
        Version:  10.5.0.7


« Last Edit: September 26, 2023, 02:44:39 PM by jsquizz »
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2230
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #12 on: September 26, 2023, 03:06:00 PM »
I just did a patch to v10.5.0.7 today, no issues.  Thanks for the details on the fix though.  :)

If you were patching an existing server, you might have issues with your Java Path...

-JD.
« Last Edit: November 30, 2023, 06:20:25 AM by Justin Derrick »
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

mayank81089

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Re: OnDemand on Linux fails with Higher Version (CMOD 9.5)
« Reply #13 on: November 30, 2023, 03:34:24 AM »
Hi Justin,

When you say setup CMOD in container. Did you follow any guide to install CMOD in containers if you can please share some information?

Mayank