在CentOS中安装TSM的ISC
安装ISC遇到下面这个问题:
[root@FWDB isc]$ ./setupISC -console InstallShield Wizard Initializing InstallShield Wizard... Preparing Java(tm) Virtual Machine... ................................... ................................... 0 % complete 10 % complete 20 % complete 30 % complete 40 % complete 50 % complete 60 % complete 70 % complete 80 % complete 90 % complete 100 % complete Installing the Integrated Solutions Console The installation process has started. ==> Checking for existing versions of the Integrated Solutions Console - Verifying system and configuration information - Installing the Integrated Solutions Console. Installation can take up to two hours. - Installing the Integrated Solutions Console patches. Installing the Integrated Solutions Console The installation process has started. ==> Checking for existing versions of the Integrated Solutions Console ==> Verifying system and configuration information - Installing the Integrated Solutions Console. Installation can take up to two hours. - Installing the Integrated Solutions Console patches. Errors occurred during the installation. - An error occurred and product installation failed. Look at the log file /opt/IBM/ISC601/log.txt for details. - An error occurred and product uninstallation failed. Look at the log file /opt/IBM/ISC601/log.txt for details. Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 1 The wizard requires that you logout and log back in. Press 3 to Finish or 4 to Redisplay [3] 3
提示安装失败,在安装目录 /opt/IBM/ISC601 找到一个log.txt,有如下提示:
(Nov 6, 2010 1:56:52 PM), Install, ACProductAction, err, An error occurred and product installation failed. Look at the log file /opt/IBM/ISC601/log.txt for details. (Nov 6, 2010 1:56:52 PM), Install, ACProductAction, err, ProductException: (error code = 55; message="Response validation failed. See /opt/IBM/ISC601/Tivoli/dsm/logs/ac_install.log for details.") STACK_TRACE: 13 ProductException: (error code = 55; message="Response validation failed. See /opt/IBM/ISC601/Tivoli/dsm/logs/ac_install.log for details.") at ACProductAction.install(ACProductAction.java:584) at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1923) at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5202) at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369) at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333) at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4570) at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3765) at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41) at java.lang.Thread.run(Unknown Source) (Nov 6, 2010 2:09:16 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed. Look at the log file /opt/IBM/ISC601/log.txt for details. (Nov 6, 2010 2:09:16 PM), Install, ACProductAction, err, ProductException: (error code = 1; message="Uninstall failed.") STACK_TRACE: 12 ProductException: (error code = 1; message="Uninstall failed.") at ACProductAction.uninstall(ACProductAction.java:635) at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(PureJavaProductServiceImpl.java:1954) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(PureJavaProductServiceImpl.java:5145) at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:374) at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333) at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4570) at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3765) at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41) at java.lang.Thread.run(Unknown Source)
接着再查看日志文件 /opt/IBM/ISC601/Tivoli/dsm/logs/ac_install.log 有如下提示:
******************************************************************************** Starting a new install instance at [November 6, 2010 1:56:24 PM CST] ******************************************************************************** [November 6, 2010 1:56:34 PM CST] + /opt/IBM/ISC601/AppServer/java/bin/java -cp /opt/IBM/ISC601/fixup/ISCCheck.jar run -silent -W response.file=/opt/IBM/ISC601/fixup/ISCArchive.rsp [November 6, 2010 1:56:37 PM CST] CWLAA9008: The operating system Linux 2.6.18-194.el5 is not supported.
我的OS是CentOS 5.5实际上就是RHEL 5.5的社区编译版本,应该与RHEL兼容的,于是乎尝试将 /etc/redhat-release 备份然后修改为:
Red Hat Enterprise Linux Client release 5 (Tikanga)
将目录 /opt/IBM/ISC601 删除然后重新开始安装ISC,成功。
安装完成后到目录/opt/IBM/ISC601/PortalServer/bin中启动ISC验证安装,又报错:
[root@FWDB bin]$ ./startISC ./startISC: line 16: /opt/ISC_Archive_Build/ISC.base/AppServer/java/bin/java: No such file or directory ./startISC: line 22: /opt/ISC_Archive_Build/ISC.base/AppServer/bin/startServer: No such file or directory
将 IscSetupCmdLine 修改为:
[root@FWDB bin]$ vim IscSetupCmdLine #!/bin/sh ISC_RUNTIME_ROOT=/opt/IBM/ISC601 ISC_PORTAL_ROOT=$ISC_RUNTIME_ROOT/PortalServer ISC_ECLIPSE_HOME=$ISC_RUNTIME_ROOT/PortalServer/ISCEclipse APP_JAVAHOME=$ISC_RUNTIME_ROOT/AppServer/java/bin WAS_HOME=$ISC_RUNTIME_ROOT/AppServer WAS_PROFILE_NAME=default # ISC_RUNTIME_ROOT=/opt/ISC_Archive_Build/ISC.base # ISC_PORTAL_ROOT=/opt/ISC_Archive_Build/ISC.base/PortalServer # ISC_ECLIPSE_HOME=/opt/ISC_Archive_Build/ISC.base/PortalServer/ISCEclipse # APP_JAVAHOME=/opt/ISC_Archive_Build/ISC.base/AppServer/java/bin # WAS_HOME=/opt/ISC_Archive_Build/ISC.base/AppServer # WAS_PROFILE_NAME=default ISC_ECLIPSE_PORT=8423 # ISC_HELP_SERVICE=
再次启动,成功:
[root@FWDB bin]$ ./startISC.sh ISC_Portal ADMU0116I: Tool information is being logged in file /opt/IBM/ISC601/AppServer/profiles/default/logs/ISC_Portal/startServer.log ADMU0128I: Starting tool with the default profile ADMU3100I: Reading configuration for server: ISC_Portal ADMU3200I: Server launched. Waiting for initialization status. ADMU3000I: Server ISC_Portal open for e-business; process id is 16308