对安装进行故障诊断
使用日志记录和跟踪对安装 WebSphere® Application Server 时发生的任何问题进行故障诊断。
日志记录和跟踪
- 查看日志的较容易的方法是打开 Installation Manager 并转至文件 > 查看日志。通过选择表中的单个日志文件,然后单击打开日志文件图标,可以打开该日志文件。
- 日志位于 Installation Manager 的应用程序数据位置的 logs 目录。例如:
管理安装:
C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager
非管理安装:
C:\Documents and Settings\user_name\Application Data\IBM\Installation Manager
管理安装:
/var/IBM/InstallationManager
非管理安装:
user_home/var/ibm/InstallationManager
- 主日志文件是 logs 目录中带有时间戳记的 XML 文件,可以使用任何标准 Web 浏览器来查看这些文件。
- logs 目录中的 log.properties 文件指定
Installation Manager 使用的记录或跟踪的级别。例如,要对
WebSphere Application Server 插件开启跟踪,请创建包含以下内容的
log.properties 文件:
必要时重新启动 Installation Manager,Installation Manager 将输出 WebSphere Application Server 插件跟踪。com.ibm.ws=DEBUG com.ibm.cic.agent.core.Engine=DEBUG global=DEBUG
故障诊断
尝试从 DVD(在 HP-UX 操作系统上使用 CD-ROM 文件系统 (CDFS) 来安装)启动 Installation Manager 时,它可能无法启动并指向内含类似于下列其中一项的异常的日志文件:
java.util.zip.ZipException: Exception in opening zip file:
如果 Installation Manager 达到 CDFS 安装设备上可以打开的描述符数目上限,那么可能会导致此问题。此上限由可调内核参数 ncdnode 的值确定,用来指定任何给定时间可以同时出现在内存中的最大 CDFS 节点数目。要解决此问题,请将 ncdnode 系统内核设置更改为 250。如果问题仍然存在,请增大设置值。org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() or bundle org.eclipse.update.configurator.
缺省情况下,某些 HP-UX 系统已配置为不使用 DNS 来解析主机名。这会导致 Installation Manager 无法连接至外部存储库。
您可以对该存储库执行 ping 操作,但 nslookup 不会返回任何内容。
与系统管理员合作,以将您的机器配置为使用 DNS 或使用该存储库的 IP 地址。
您尝试在 IBM i 操作系统上使用 WebSphere Application Server 产品介质以本地方式安装 IBM Installation Manager 时,可能会显示以下错误消息:
发生此错误的原因是,产品介质中包含的所有目录名和文件名都以大写显示。要解决此问题,请使用下列命令在 IBM i 操作系统上启用混合大小写处理:The Installc executable launcher was unable to locate its companion shared library.
CHGOPTA EXTMEDFMT(*YES)
如果非管理员将 WebSphere Application Server 安装到 Program Files 或 Program Files (x86) 目录中,并启用了用户帐户控制 (UAC),那么 WebSphere Application Server 将无法正常工作。
UAC 是访问控制机制,可让非管理用户将软件产品安装到 Program Files 或 Program Files (x86) 目录;但随后在安装完成后,会禁止对该目录进行写访问。WebSphere Application Server 需要 app_server_root 目录的写访问权才能正常运行。
要解决此问题,请执行下列其中一项操作:- 将 WebSphere Application Server 安装到除 Program Files 或 Program Files (x86) 以外的目录(例如 C:\IBM\WebSphere\AppServer)中。
- 禁用 UAC。
- 在某些情况下,您可能需要绕过 Installation Manager 中的现有检查机制。
- 在某些网络文件系统中,有时可能无法正确报告磁盘空间,因此,您可能需要绕过磁盘空间检查并继续执行安装。要禁用磁盘空间检查,请在 IM_install_root/eclipse/configuration 中的 config.ini 文件中指定以下系统属性,然后重新启动 Installation Manager:
其中 size 是一个正整数,unit 为空白以表示字节,为 k 表示千字节,为 m 表示兆字节,为 g 表示千兆字节。例如:cic.override.disk.space=sizeunit
Installation Manager 将磁盘空间大小报告为 Long.MAX_VALUE。将显示“不适用”,而不是显示非常大的可用磁盘空间量。cic.override.disk.space=120 (120 bytes) cic.override.disk.space=130k (130 kilobytes) cic.override.disk.space=140m (140 megabytes) cic.override.disk.space=150g (150 gigabytes) cic.override.disk.space=true
- 要绕过操作系统先决条件检查,请将 disableOSPrereqChecking=true 添加至 IM_install_root/eclipse/configuration 中的 config.ini 文件,然后重新启动 Installation Manager。
- 在某些网络文件系统中,有时可能无法正确报告磁盘空间,因此,您可能需要绕过磁盘空间检查并继续执行安装。
有关使用 Installation Manager 的更多信息,请阅读 IBM Installation Manager 文档。
请阅读发行说明以更多地了解 Installation Manager 的最新版本。要访问发行说明,请完成以下任务:单击开始 > 程序 > IBM Installation Manager > 发行说明。
转至 Installation Manager 的安装目录中的 documentation 子目录,然后打开 readme.html 文件。
- 如果尝试安装产品时发生致命错误,请执行下列步骤:
- 创建当前产品安装目录的备份副本,以备 IBM 支持机构以后需要对其进行复审。
- 使用 Installation Manager 来卸载您在产品安装位置(软件包组)下安装的所有内容。可能会遇到错误,但错误可以安全地忽略。
- 删除产品安装目录中的所有其余内容。
- 使用 Installation Manager 将产品重新安装到同一位置或另一位置。


http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-dist&topic=tins_troubleshoot
文件名:tins_troubleshoot.html