IBM Support

Product installation fails when both IP v4 and IP v6 stacks are enabled on the system.

Troubleshooting


Problem

Product installation fails on Windows systems (2008, Vista, Windows 7) when IP v4 and IP v6 stacks are both enabled on the system.

Symptom

While installing the product on a Windows system, the installation fails with an address availability exception.

Resolving The Problem

This issue is caused when IP v4 and IP v6 stacks are both enabled on the Windows system. The installation program is unable to determine which protocol to use for the deployment.

This condition can be confirmed by examining the following logs:



CTGInstallTrace.log

com.ibm.tivoli.ccmdb.install.common.properties.ConfigurationProperties encryptMaximoPropertiesFile()
FINE: NOTE ^STDERR: java.rmi.server.ExportException: Port already in use: 0; nested exception is: java.net.BindException: Address already in use: NET_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:284)

maxinst*.log and updateDB*.log

java.lang.NoClassDefFoundError: psdi.util.logging.FixedLoggers
(initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)
at psdi.server.MXServer.getFromMaximoCache(MXServer.java:535)
at psdi.server.MXServer.getMaxMessageCache(MXServer.java:2753)
at psdi.configure.CommonShell.endProcess(CommonShell.java:1787)
at psdi.script.AutoUpgradeTemplate.runConfigRestoreAndDrop(Unknown
Source)

To resolve this issue, you must force the installation program to use IP v4.

NEW INSTALLATIONS

1. Exit the product installation program.

2. Using an archive and compression utility, open the payload.zip file. This file is located in the same directory as the installation executable, for example, Install\MAM\.

3. Modify the files listed in the FILES TO BE MODIFIED section of this technote.

4. Restart the product installation.

Upgrades

1. Exit the product installation program.

2. Restore the database backup to restore the database back to a the state it was in prior to starting the upgrade.

2. Using an archive and compression utility, open the payload.zip file. This file is located in the same directory as the installation executable, for example, Install\MAM\.

3. Modify the files listed in the FILES TO BE MODIFIED section of this technote.

4. Complete pre-upgrade steps described in product upgrade information.

5. Ensure the NodeAgent is running and then start the product installation program.

FILES TO BE MODIFIED

There is a PSI package zip file In the payload.zip file. Inside of that PSI package zip file, there are zip files that contain product content. Within the tools\maximo directory of the product content zip file are the files to be modified.

commonenv.bat
Add the IPV_ARGS variable line at the end of the file.

set IPV_ARGS=-Djava.net.preferIPv4Stack=true
 
updatedb.bat
Find the following Java command line located under the call commonEnv.bat line, and add the IPV_ARGS variable.

@..\java\jre\bin\java  %MEMORY_ARGS% %IPV_ARGS% -classpath .;.\classes;%MAXIMO_CLASSPATH%;%MAXIMO_HOME%\reports\birt\tools\classes; psdi.tools.UpdateDB -k..\..\applications\maximo\properties -w..\..\applications\maximo\businessobjects\classes  %1 %2 %3 %4 %5 %6 %7 %8
 
configdb.bat
Add the IPV_ARGS variable to the following Java command

@..\java\jre\bin\java %MEMORY_ARGS% %IPV_ARGS% -classpath %MAXIMO_CLASSPATH%  psdi.configure.ConfigDB -l -e -r -k..\..\applications\maximo\properties  %1 %2 %3 %4 %5 %6
 
dropbackup.bat
Add the IPV_ARGS variable to the following Java command

@..\java\jre\bin\java  %IPV_ARGS% -classpath %MAXIMO_CLASSPATH%  psdi.configure.DropBackup -l -e -k..\..\applications\maximo\properties  %1 %2 %3 %4 %5 %6
 
restorefrombackup.bat
Add the IPV_ARGS variable to the following Java command

@..\java\jre\bin\java %IPV_ARGS% %MEMORY_ARGS% -classpath %MAXIMO_CLASSPATH%  psdi.configure.RestoreFromBackup -l -e -k..\..\applications\maximo\properties  %1 %2 %3 %4 %5 %6
 
encryptproperties.bat
Add the IPV_ARGS variable to the following Java command

@..\java\jre\bin\java  %IPV_ARGS% -classpath %MAXIMO_CLASSPATH%  psdi.util.EncryptProperties -e -k..\..\applications\maximo\properties %1

[{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"7.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"7.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
13 April 2021

UID

swg21445672