Dell™ PowerEdge™ Systems Oracle® Database on Enterprise Linux® x86_64 Troubleshooting Guide Version 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notes and Cautions NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. ____________________ Information in this document is subject to change without notice. © 2009 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . Required Documentation for Deploying the Dell™ Oracle Database . . . . . . . . . . . . . . . . 7 . . . . . . . . . . . 8 . . . . . . . . . . . . . . . . . . . . . . . . 8 Terminology Used in this Document. Getting Help Dell Support . . . . . . . . . . . . . . . . . . . . . . Oracle Support 2 7 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performance and Stability .
Automatic Storage Management (ASM). ASM Disk Creation Issue with EMC® PowerPath® . . . . . . . . . 14 . . . . . . . . . . . . . 14 Network Configuration Assistant (NETCA) NETCA fails, resulting in database creation errors. . . . . . . . . . . . . . . . . . 15 . . . . . . . . . 15 NETCA cannot configure remote nodes or a RAW device validation error occurs while running DBCA. . . . . . . . . . . . Cluster Ready Services (CRS) . . . . . 15 . . . . . . . . . . . . . .
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 . . . . . . . 20 . . . . . . . . . . . . . . . . . . . . . . . 20 Oracle software fails to install on the nodes. When you run root.sh, the utility fails to format the OCR disk. . . . . . . . . Networking . . . . . . . . 20 . . . . . . . . . . . . . 21 The cluster verification check fails. Fibre Channel Storage System . You receive I/O errors and warnings when you load the Fibre Channel HBA driver module. . . . . . . . . . . .
Contents
Overview The Oracle® Database on Linux® Advanced Server Troubleshooting Guide applies to: • Oracle Database 10g R2 running on Red Hat® Enterprise Linux® or Oracle Enterprise Linux 4.7 AS x86_64. • Oracle Database 10g R2 running on Red Hat Enterprise Linux or Oracle Enterprise Linux 5.3 AS x86_64. • Oracle Database 11g R1 running on Red Hat Enterprise Linux or Oracle Enterprise Linux 5.3 AS x86_64.
• Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64Database Setup and Installation Guide — Describes how to install and configure the Oracle database. • Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64Troubleshooting Guide — Describes how to troubleshoot and resolve errors encountered during the installation procedures described in the previous modules. All modules provide information on how to receive technical assistance from Dell.
• For Dell technical support for your hardware and operating system software, and to download the latest updates for your system, visit the Dell Support website at support.dell.com/manuals. Information about contacting Dell is provided in the Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64-Operating System and Hardware Installation Guide and Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64-Troubleshooting Guide of your system.
Overview
Troubleshooting This section provides recommended actions for problems that you may encounter while deploying and using your Enterprise Linux® and Oracle® software. Performance and Stability Enterprise Linux exhibiting poor performance and instability; excessive use of swap space. Poor performance and instability occurs when Oracle System Global Area (SGA) exceeds the recommended size. Always ensure that the SGA size does not exceed 65% of total system RAM.
c Enter the following lines at the SQL> prompt: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects = ’’ scope=spfile sid= ’’ d Create these entries for each node in the cluster. e Re-start the database on all nodes by entering the following commands: srvctl stop database –d srvctl start database –d f Open the /opt/oracle/admin//bdump/alert_.
ORA-27103 when MEMORY_TARGET > 3G with 11.1.0.7.0 database. When setting the memory_target parameter in 11.1.0.7.0 database to more than 3 GB , the instance cannot startup and crashes with ORA-27103: internal error in the alert log To resolve this issue, apply patch 7272646 available on the My Oracle Support website at metalink.oracle.com. For more information see the Oracle Metalink Note # 743012.1. Enterprise Manager The Enterprise Manager agent fails.
Automatic Storage Management (ASM) ASM Disk Creation Issue with EMC® PowerPath® The problem occurs when EMC PowerPath version 5.0.1-5.3 does not support the i/o calls that oracleasm makes. oracleasm createdisk command fails with the error: marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. To resolve the issue, perform the following steps: 1 Perform the "/etc/init.
Network Configuration Assistant (NETCA) NETCA fails, resulting in database creation errors. NETCA fails because the public network, hostname, or virtual IP is not listed in the /etc/hosts.equiv file. Before launching NETCA, ensure that a hostname is assigned to the public network and that the public and virtual IP addresses are listed in the /etc/hosts.equiv file. NETCA cannot configure remote nodes or a RAW device validation error occurs while running DBCA. This issue occurs when the /etc/hosts.
The Oracle Clusterware installation procedure fails. The Oracle Clusterware installation fails because the EMC® PowerPath® device names are not uniform across the nodes. Before you install Oracle Clusterware, re-start PowerPath and ensure that the PowerPath device names are uniform across the nodes. CRS fails to start when you reboot the nodes, or after entering /etc/init.d/init.crs start. CRS fails to start when the Cluster Ready Services CSS daemon is unable to write to the quorum disk.
When you run root.sh, CRS fails to start. NOTE: Ensure that you have all the public and private node names defined and you can ping the node names. Attempt to start the service again by rebooting the node or by running root.sh from /crs/oracle/product/11.1.0/crs/ after correcting the networking issues. The following are the list of issues that can result in CRS failure: • OCR file and Voting disk are inaccessible.
If all the other CRS troubleshooting steps fail, then perform the following: a Enable debugging by adding the following line: to root.sh: set -x b Attempt to start the service again by running root.sh from: /crs/oracle/product/11.1.
If the private interconnect is down: a Start Linux in single-user mode. b Enter the following command: /etc/init.d/init.crs disable c Verify that the node can ping over the private interconnect to the remaining nodes in the cluster. d Enter the following command: /etc/init.d/init.crs enable Reboot the system. In some cases, the network has a latency of up to 30 seconds before it can ping the remaining nodes in the cluster after reboot.
When connecting to the database as a user other than oracle, you receive the error messages ORA01034: ORACLE not available and Linux Error 13: Permission denied. This issue occurs when the required permissions are not set on the remote node. On all remote nodes, as user root, type: chmod 6751 $ORACLE_HOME Installation Oracle software fails to install on the nodes. This issue occurs when the nodes’ system clocks are not identical.
Fibre Channel Storage System You receive I/O errors and warnings when you load the Fibre Channel HBA driver module. The HBA driver, BIOS, or firmware must be updated. Check the Solution Deliverable List (SDL) on the Dell|Oracle Tested and Validated Configurations website at dell.com/oracle for the supported versions. Update as required the driver, BIOS, and firmware for the Fibre Channel HBAs.
Troubleshooting
Oracle® Security Patches and Recommended Patches This section provides information about the recommended Oracle® security patch updates and recommended patches. Critical Patch Updates Oracle releases quarterly Critical Patch Updates (CPUs) for fixing potential security vulnerabilities for Oracle products. These CPU patches are required to be applied to the production systems. Currently, the latest CPUs for the Linux® x86_64 platform are: • Oracle 11g R1 11.1.0.7: CPU patch 8290478 • Oracle 10g R2 11.2.
Recommended Patches Dell recommends that you apply the Oracle-recommended database patchsets for the Linux x86_64 platform. For latest Oracle-recommended patches, see the Metalink Note #756671.1 on the My Oracle Support website at metalink.oracle.com. The following are the current Oracle recommended patches: • • 24 Oracle 11g R1 11.1.0.7 on Linux x86_64: • 11.1.0.7 Generic Recommended Patch Bundle #1, Patch 8362693 • 11.1.0.7 CRS Recommended Patch Bundle#1, Patch 8287931 • 11.1.0.7.
Dell™ PowerEdge™ 系统 Enterprise Linux® x86_64 上的 Oracle® 数据库 故障排除指南 版本 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
“注”和 “小心” 注: “注”表示可以帮助您更好地使用计算机的重要信息。 小心: “小心”表示如果不遵循说明,就有可能损坏硬件或导致数据 丢失。 ____________________ 本说明文件中的信息如有更改,恕不另行通知。 © 2009 Dell Inc. 版权所有,翻印必究。 未经 Dell Inc. 书面许可,严禁以任何形式复制这些材料。 本文中使用的商标:Dell、 DELL 徽标、 PowerEdge 和 PowerVault 是 Dell Inc. 的商标; EMC 和 PowerPath 是 EMC Corporation 的商标; Intel、 Pentium 和 Celeron 是 Intel Corporation 在美国 和其它国家 / 地区的注册商标; Oracle 是 Oracle Inc. 在美国和其它国家 / 地区的注册商标; Red Hat 和 Red Hat Enterprise Linux 是 Red Hat, Inc.
目录 1 概览 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 部署 Dell™ Oracle 数据库需要的说明文件 . . . . . . . . . . 31 . . . . . . . . . . . . . . . . . . 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 本说明文件中使用的术语: . 获得帮助 Dell 支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle 支持 2 故障排除 31 32 . . . . . . . . . . . . . . . . . . . . . . . . . 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 性能和稳定性 . . . . . . . . . . . . . . . . . .
网络配置助手 (NETCA) . . . . . . . . . . . . . . . . . . . . . . NETCA 失败,导致数据库创建出现错误。 . 38 . . . . . . . . . 38 . . . . . . . . . . . . . . . . . . . . . . . 38 NETCA 无法配置远程节点,或者在运行 DBCA 时出现原始设备验证错误。. . . . 群集就绪服务 (CRS) /var/log/message 中出现频繁的会话打开/关闭信息。 . CRS 尝试启动时过早失败。 . 38 . . . . . . . . . . . . . . . . 38 Oracle 群集件安装过程失败。 . . . . . . . . . . . . . . . 当您重新引导节点或输入 /etc/ini.d/init.crs start 时, CRS 无法启动。 . . . . . . . . . . . . . . . . . . . . . 在运行 root.sh 时, CRS 无法启动。. 数据库配置助手 (DBCA) 41 .
光纤信道存储系统 . . . . . . . . . . . . . . . . . . . . . . . . 载入光纤信道 HBA 驱动程序模块时, 收到 I/O 错误和警告。 . . . . . . . . . 操作系统 . . . . . . . . . . 43 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 当您向 Dell PowerEdge™ 系统添加新的 外围设备时,操作系统无法识别该设备。 . 3 43 . . . . . . . 43 . . . . . . . . . . . . . . . 45 . . . . . . . . . . . . . . . . . . . . . . 45 . . . . . . . . . . . . . . . . . . . . . . . . . 46 Oracle ® 安全增补软件和建 议的增补软件 . . . . . . . . . . .
目录
概览 Linux® Advanced Server 上的 Oracle® 数据库故障排除指南适用于: • Red Hat® Enterprise Linux® 或 Oracle Enterprise Linux 4.7 AS x86_64 上运行的 Oracle Database 10g R2。 • Red Hat Enterprise Linux 或 Oracle Enterprise Linux 5.3 AS x86_64 上运 行的 Oracle Database 10g R2。 • Red Hat Enterprise Linux 或 Oracle Enterprise Linux 5.
• 《Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64Database Setup and Installation Guide》(Dell PowerEdge 系统: Enterprise Linux x86_64 上的 Oracle 数据库:数据库设置和安装指南) — 介绍如何安装和配置 Oracle 数据库。 • 《Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64Troubleshooting Guide》(Dell PowerEdge 系统:Enterprise Linux x86_64 上的 Oracle 数据库:故障排除指南)— 介绍如何对之前模块中 所述的安装过程中遇到的错误进行故障排除和解决。 所有模块均提供有关如何从 Dell 获得技术帮助的信息。 本说明文件中使用的术语: 本说明文件中使用了逻辑单元号码 (LUN) 和虚拟磁盘两个术语。这些术 语是同义词并可互换使用。术语 LUN 通常在 Dell/EMC 光纤信道存储
• 要获得硬件和操作系统软件的 Dell 技术支持,以及下载最新的系统 更新,请访问 Dell 支持 Web 站点 support.dell.com/manuals。 与 Dell 联络的有关信息包含在系统的《Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64-Operating System and Hardware Installation Guide》(Dell PowerEdge 系统:Enterprise Linux x86_64 上的 Oracle 数据库:操作系统和硬件安装指南)和《Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64-Troubleshooting Guide》(Dell PowerEdge 系统:Enterprise Linux x86_64 上的 Oracle 数据库:故障排除指南)中。 • 我们现在还提供 Dell 企业培训与认证服务;有关详情,请访 问 dell.
概览
故障排除 本节介绍在部署和使用 Enterprise Linux® 和 Oracle® 软件过程中可能遇到的 问题的建议操作。 性能和稳定性 Enterprise Linux 出现性能不佳和系统不稳定现象;使用的交换 空间过多。 当 Oracle 系统全局区域 (SGA) 超过建议的大小时,会出现性能不佳和系统 不稳定现象。请始终确保 SGA 大小不超过系统总 RAM 的 65%。要减小 SGA 大小,请执行以下步骤: 在命令提示符下输入 free,确定总 RAM,然后在 Oracle 参数文件中相应 减小 db_cache_size 和 shared_pool_size 参数的值。 在 Oracle 警报文件中显示未知接口类型警告;表示系统性能不佳。 当公用接口配置为群集通信(专用接口)时会发生此问题。 在一个节点上执行以下步骤,强制群集通信使用专用接口: a 作为用户 oracle 登录。 b 在命令提示符下,输入 sqlplus "/ as sysdba"。屏幕将显 示 SQL> 提示符。 c 在 SQL> 提示符下,输入以下行: alter system set cluster_inte
e 通过输入以下命令,在所有节点上重新启动数据库: srvctl stop database – d < 数据库名 > srvctl start database – d < 数据库名 > f 打开 /opt/oracle/admin/< 数据库名 >/bdump/alert_.log 文件,验证所有实例是否都在使用专用 IP 地址。 11.1.0.7 RAC 数据库实例在并发的用户连线为 1000 时挂起。 Oracle 11.1.0.7 RAC 数据库实例在并发的用户连线数达到 1000 时挂起。 要解决此问题,请执行下列步骤: a 应用 11.1.0.7 CRS 增补软件 # 8287931 b 在 /etc/init.d/init.cssd 文件中添加一行为 ULIMIT_FILES= "ulimit -n 65536" c 在 $ORACLE_HOME/bin/ocssd 和 $ORA_CRS_HOME/bin/ocssd 文件中添加一行为 ulimit -n 65536 4。 将 /etc/security/limits.
Enterprise Manager Enterprise Manager 代理失败。 未装入 Enterprise Manager 库时 Enterprise Manager 失败。 输入以下命令,为数据库控制台重新创建配置文件和存储库: emca -config dbcontrol db repos recreate 有关详细说明,请参阅 Oracle Metalink Note # 330976.1。 Oracle 群集文件系统 2 (OCFS2) 当安装或卸载 OCFS 分区时系统挂起。 两个节点恰好同时卸载 OCFS 分区时会出现这个问题。 小心:请勿同时重新引导多个系统。 注:建议您不要在活动节点上重新启动网络。当尝试从群集中的任何活动 节点重新启动网络服务时,该节点将无限期地挂起。这是 OCFS2 的预期 行为。 自动存储管理 (ASM) EMC® PowerPath® 的 ASM 磁盘创建问题 当 EMC PowerPath 版本 5.0.1-5.
2 /dev/oracleasm/disks/ 下面的卷权限将为 “root: root”。重新引导系统 以修正问题。 3 现在可使用 PowerPath 设备名称正常完成对设备的进一步使用。 有关详细说明,请参阅 Oracle Metalink Note # 469163.1(位于 My Oracle Support Web 站点 metalink.oracle.com)。 网络配置助手 (NETCA) NETCA 失败,导致数据库创建出现错误。 由于公用网络、主机名或虚拟 IP 未在 /etc/hosts.equiv 文件中列出而导致 NETCA 失败。 在启动 NETCA 之前,确保已为公用网络分配了主机名,且 /etc/hosts.equiv 文件中列出了公用和虚拟 IP 地址。 NETCA 无法配置远程节点,或者在运行 DBCA 时出现原始设备验证 错误。 /etc/hosts.equiv 文件不存在或者不包括已分配的公用或虚拟 IP 地址时会出 现此问题。 验证各个节点上的 /etc/hosts.
Oracle 群集件安装过程失败。 由于 EMC® PowerPath® 设备名称在各节点内不一致而导致 Oracle 群集件安 装失败。 在安装 Oracle 群集件之前,重新启动 PowerPath,并确保各节点内的 PowerPath 设备名称一致。 当您重新引导节点或输入 /etc/ini.d/init.crs start 时,CRS 无法启动。 群集就绪服务 CSS 守护程序无法向仲裁磁盘写入数据时 CRS 无法启动。 重新引导节点或键入以下内容以尝试再次启动服务: root.sh from /crs/oracle/product/11.1.0/crs/ 验证是否每个节点均具有访问仲裁磁盘的权限,以及用户 root 能否写入 磁盘。 检查 $ORA_CRS_HOME/css/log/ocssd.
您可以在 RHEL4 中输入以下行来完成此操作: dd if=/dev/zero of=/dev/raw/ocr.dbf dd if=/dev/zero of=/dev/raw/votingdisk 通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh, 尝试再次启动服务。 • Oracle 用户无权访问 /var/tmp(特别是 /var/tmp/.oracle)。 a 通过输入以下命令,使用户 Oracle 成为 /var/tmp/.oracle 的所有者: chown oracle.oinstall /var/tmp/.oracle b 通过重新引导节点或从 /crs/oracle/product/11.1.0/crs/ 中运行 root.sh,尝试再次启动服务。 如果所有其它 CRS 故障排除步骤均失败,则执行以下操作: a 通过将以下行添加 到 root.sh,启用调试功能: set -x b 通过从以下位置运行 root.sh: /crs/oracle/product/11.1.
节点频繁地重新引导 节点无权访问共享存储设备上的仲裁磁盘时,该节点会频繁地重新引导。 请执行以下步骤: a 在单用户模式下启动 Linux 并输入以下命令: /etc/init.d/init.crs disable b 验证仲裁磁盘是否可用以及专用互连是否激活。 c 重新引导并键入:/etc/init.d/init.crs enable 如果专用互连中断: a 在单用户模式下启动 Linux。 b 输入以下命令: /etc/init.d/init.crs disable c 验证该节点是否可以通过专用互连对群集上的其余节点执行 ping 命令。 d 输入以下命令: /etc/init.d/init.crs enable 重新引导系统。在某些情况下,重新引导后,网络需要多达 30 秒的 等待时间,才能对群集中的其余节点使用 ping 命令。如果出现这种 情况,请在 /etc/inet.d/init.
其它 使用 Dell Deployment CD 1 安装软件时出现 dd 失败错误信息。 使用 Enterprise Linux CD 的副本时会出现此问题。请始终使用原始 CD。 刻录 CD 映像 (ISO) 时,请使用正确的选项(例如,如果使用 cdrecord 命令时为 -dao 选项)。 当作为 oracle 以外的用户连接到数据库时,出现错误信息 ORA01034: ORACLE not available(ORA01034:ORACLE 不可用)和 Linux Error 13: Permission denied(Linux 错误 13:权限被拒绝)。 没有在远程节点上设置所需的权限时会出现此问题。 在所有远程节点上,作为用户 root 键入:chmod 6751 $ORACLE_HOME 安装 在节点上无法安装 Oracle 软件。 节点系统时钟不一致时会出现此问题。 请执行以下过程之一: • 确保 Oracle 软件安装节点上的系统时钟设置为比其余节点的时钟稍晚 一些。 • 将其中一个节点配置为 NTP 服务器,以同步群集中的其余节点。 在运行 root.
网络 群集验证检查失败。 公用网络 IP 地址(例如:192.168.xxx.xxx)不可路由时会出现此问题 分配一个有效且可路由的公用 IP 地址。 光纤信道存储系统 载入光纤信道 HBA 驱动程序模块时,收到 I/O 错误和警告。 必须更新 HBA 驱动程序、BIOS 或固件。 查看 Dell|Oracle Tested and Validated Configurations(经 Dell|Oracle 测试和 验证的配置)Web 站点 dell.
故障排除
Oracle® 安全增补软件和建议的 增补软件 此部分提供有关建议的 Oracle® 安全增补软件更新和建议的增补软件的 信息。 关键的增补软件更新 Oracle 每个季度都会发行重要的增补软件更新 (CPU),用于修正 Oracle 产 品的潜在安全漏洞。这些 CPU 增补软件必须应用到生产系统。目前,适用 于 Linux® x86_64 平台的最新 CPU 包括: • Oracle 11g R1 11.1.0.7:CPU 增补软件 8290478 • Oracle 10g R2 11.2.0.
建议的增补软件 Dell 建议您应用适用于 Linux x86_64 平台的 Oracle 建议的数据库增补软 件集。有关 Oracle 建议的最新增补软件,请参阅 My Oracle Support Web 站点 metalink.oracle.com 上的 Metalink Note #756671.1。 目前 Oracle 建议的增补软件如下: • • 46 Oracle 11g R1 11.1.0.7(用于 Linux x86_64): • 11.1.0.7 一般建议增补软件套件 #1,增补软件 8362693 • 11.1.0.7 CRS 建议增补软件套件 #1,增补软件 8287931 • 11.1.0.7.0 故障排除增补软件 7272646,可解决使用 memory_target 超过 3GB 时发生的 ORA-27103 错误 Oracle 10g R2 10.2.0.4(用于 Linux x86_64): • 10.2.0.4 服务建议的增补软件 #1,增补软件 8373286 • 10.2.0.
Systèmes Dell™ PowerEdge™ Oracle Database® sous Enterprise Linux® x86_64 Guide de dépannage Version 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Remarques et précautions REMARQUE : Une REMARQUE indique des informations importantes qui peuvent vous aider à mieux utiliser votre ordinateur. PRÉCAUTION : Une PRÉCAUTION indique un risque de dommage matériel ou de perte de données en cas de non-respect des instructions. ____________________ Les informations contenues dans ce document sont sujettes à modification sans préavis. © 2009 Dell Inc. Tous droits réservés.
Table des matières 1 Présentation . . . . . . . . . . . . . . . . . . . . . . . . . . . Documentation nécessaire au déploiement de la base de données Dell™ Oracle . . . . . . . . . . . . . . . . . . . . . 53 . . . . . . . . 54 Obtention d'aide . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Support Dell . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Terminologie utilisée dans le présent document . . . . . . . . . . . . . . . . . . . . . . . 55 . . . . . . . . . . . . . . . .
Oracle Clustered File System2 (OCFS2) . . . . . . . . . . . . . . Blocage du système lors du montage ou du démontage des partitions OCFS. . . . ASM (Automatic Storage Management). . . . . . . . . . . 59 . . . . . . . . . . . . . 60 Problème de création de disque ASM avec EMC® PowerPath® . . . . . . . . . . . . . . . . . . . Assistant de configuration réseau (NETCA) . . . . . . . . . . . . L'assistant NETCA échoue et provoque des erreurs liées à la création des bases de données. . . . . . . . . .
Divers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Vous recevez des messages d'erreur dd lorsque vous installez le logiciel à l'aide du CD Dell Deployment n°1. . . . . . . . . . . . . . . . . . Lorsque vous vous connectez à la base de données sous un ID utilisateur autre que oracle, vous recevez les messages d'erreur suivants : ORA01034: ORACLE not available (ORACLE n'est pas disponible) et Linux Error 13: Permission denied (Autorisation refusée). . . . . . . . . . . . . . . . .
Table des matières
Présentation Le Guide de dépannage d'Oracle® Database sous Linux® Advanced Server s'applique à : • Oracle Database 10g R2 exécuté sous Red Hat® Enterprise Linux® ou Oracle Enterprise Linux 4.7 AS x86_64. • Oracle Database 10g R2 exécuté sous Red Hat Enterprise Linux ou Oracle Enterprise Linux 5.3 AS x86_64. • Oracle Database 11g R1 exécuté sous Red Hat Enterprise Linux ou Oracle Enterprise Linux 5.3 AS x86_64.
• Dell PowerEdge Systems Oracle Database on Enterprise Linux x86_64Database Setup and Installation Guide (Oracle Database sous Enterprise Linux x86_64 pour systèmes Dell PowerEdge - Guide d'installation et de configuration) : indique comment installer et configurer Oracle Database.
• Pour obtenir une assistance technique sur votre matériel ou le système d'exploitation et télécharger les dernières mises à jour appropriées, rendezvous sur le site du support technique de Dell, support.dell.com/manuals.
Présentation
Dépannage La section suivante indique les mesures recommandées en cas de problème lié au déploiement et à l'utilisation d'Enterprise Linux® et d'Oracle®. Performances et stabilité Instabilité et performances médiocres d'Enterprise Linux ; utilisation excessive de l'espace de pagination. Il y a instabilité et performances médiocres lorsque la zone globale du système d'Oracle (SGA) dépasse la taille recommandée. Vérifiez que la taille de cette zone ne dépasse pas 65 % de la RAM totale du système.
c Entrez les lignes suivantes à l'invite SQL> : alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects = ’’ scope=spfile sid=’’ d Créez ces entrées pour chaque nœud du cluster.
Erreur ORA-27103 lorsque le paramètre MEMORY_TARGET est défini sur une valeur supérieure à 3 Go (base de données 11.1.0.7.0). Lorsque le paramètre memory_target est défini sur une valeur supérieure à 3 Go dans la base de données 11.1.0.7.0, l'instance ne peut pas démarrer et l'erreur interne ORA-27103 est consignée dans le journal des alertes. Pour résoudre ce problème, téléchargez le correctif 7272646 depuis le site My Oracle Support, à l'adresse metalink.oracle.com et installez-le.
ASM (Automatic Storage Management) Problème de création de disque ASM avec EMC® PowerPath® Ce problème se produit lorsque EMC PowerPath version 5.0.1-5.3 ne prend pas en charge les appels d'E/S émis par oracleasm. La commande oracleasm createdisk échoue et l'erreur suivante est signalée : marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. Pour résoudre le problème, procédez comme suit : 1 Effectuez l'opération /etc/init.
Assistant de configuration réseau (NETCA) L'assistant NETCA échoue et provoque des erreurs liées à la création des bases de données. Le réseau public, le nom d'hôte ou l'adresse IP virtuelle ne sont pas répertoriés dans le fichier /etc./hosts.equiv. Avant d'exécuter netca, assurez-vous qu'un nom d'hôte est attribué au réseau public et que le fichier /etc./hosts.equiv contient les adresses IP publique et virtuelle.
L'installation d'Oracle Clusterware a échoué. L'installation d'Oracle Clusterware a échoué, car les noms de périphérique EMC® PowerPath® ne sont pas identiques sur tous les nœuds. Avant d'installer Oracle Clusterware, redémarrez PowerPath et vérifiez que les noms de périphérique associés sont les mêmes sur tous les nœuds du cluster. Les services CRS échouent au redémarrage des nœuds ou lorsque vous entrez /etc./ini.d/init.crs start.
Les services CRS ne démarrent pas lors de l'exécution du script root.sh. REMARQUE : Vérifiez que les noms publics et privés du nœud sont correctement définis et que vous parvenez à leur envoyer des requêtes ping. Essayez de lancer à nouveau le service en redémarrant le nœud ou en exécutant le script root.sh à partir de /crs/oracle/product/11.1.0/crs/, une fois les problèmes réseau corrigés.
Si toutes les autres étapes du dépannage des services CRS échouent, procédez alors comme suit : a Pour activer le débogage, ajoutez la ligne suivante : au script root.sh : set -x b Essayez de redémarrer le service en exécutant le script root.sh à partir du répertoire suivant : /crs/oracle/product/11.1.
Redémarrage en boucle du nœud Le nœud redémarre continuellement lorsque le nœud n'a pas accès au disque quorum sur la ressource de stockage partagée. Effectuez les opérations suivantes : a Démarrez Linux en mode mono-utilisateur et entrez la commande suivante : /etc./init.d/init.crs disable b Vérifiez que le disque quorum est accessible et que l'interconnexion privée est fonctionnelle. c Redémarrez et tapez : /etc./init.d/init.
Assistant de configuration de base de données (DBCA) Le système ne répond pas lorsque vous cliquez sur OK dans la fenêtre DBCA Summary (Résumé de l'assistant DBCA). Il s'agit d'un problème de synchronisation JRE (Java Runtime Environment). Cliquez de nouveau sur OK. Si vous ne recevez pas de réponse, relancez l'installation du logiciel DBCA. Divers Vous recevez des messages d'erreur dd lorsque vous installez le logiciel à l'aide du CD Dell Deployment n°1.
Installation L'installation du logiciel Oracle sur les nœuds échoue. Ce problème se produit lorsque les horloges système des nœuds ne sont pas synchronisées. Effectuez l'une des procédures suivantes : • Vérifiez que l'horloge système du nœud sur lequel le logiciel Oracle est installé est en avance par rapport à celle des autres nœuds. • Configurez l'un des nœuds comme serveur NTP pour synchroniser les autres nœuds du cluster. Lorsque vous exécutez le script root.
Système de stockage Fibre Channel Vous recevez des erreurs d'E/S et des avertissements lorsque vous chargez le module du pilote HBA Fibre Channel. Le pilote HBA, le BIOS ou le micrologiciel doivent être mis à jour. Pour savoir quelles sont les versions prises en charge, consultez le document “Solution Deliverable List” (Liste des éléments pris en charge) disponible sur la page dédiée aux configurations Dell|Oracle validées et testées du site dell.com/oracle.
Correctifs de sécurité Oracle® et correctifs recommandés Cette section traite des mises à jour de sécurité Oracle® et des correctifs recommandés par Oracle. Mises à jour critiques Oracle édite des mises à jour critiques (CPU, Critical Patch Update) tous les trois mois. Celles-ci permettent de corriger les vulnérabilités que pourraient présenter certains produits Oracle. Elles doivent être impérativement appliquées aux systèmes de production.
Correctifs recommandés Dell conseille d'installer les jeux de correctifs pour Linux x86_64 recommandés par Oracle. Pour connaître les derniers correctifs recommandés par Oracle, reportez-vous à l'article Metalink 756671.1 sur le site My Oracle Support, à l'adresse metalink.oracle.com. À l'heure actuelle, voici les correctifs qu'Oracle recommande d'installer : • • 70 Oracle 11g R1 11.1.0.7 sous Linux x86_64 : • Groupe de correctifs générique n°1 recommandé pour 11.1.0.
Dell™ PowerEdge™-Systeme Oracle® Database unter Enterprise Linux® x86_64 Fehlerbehebungshandbuch Version 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Anmerkungen und Vorsichtshinweise ANMERKUNG: Eine ANMERKUNG macht auf wichtige Informationen aufmerksam, mit denen Sie das System besser einsetzen können. VORSICHTSHINWEIS: Hiermit werden Sie auf Gefahrenquellen hingewiesen, die Hardwareschäden oder Datenverlust zur Folge haben könnten, wenn die Anweisungen nicht befolgt werden. ____________________ Irrtümer und technische Änderungen vorbehalten. © 2009 Dell Inc. Alle Rechte vorbehalten.
Inhalt 1 Übersicht . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Benötigte Dokumentation zum Bereitstellen der Dell™/Oracle-Datenbank . . . . . . . . . . . . . . . . . . . 78 . . . . . . . . . . . . . . . . . . . . . 78 . . . . . . . . . . . . . . . . . . . . . . . . . 78 Wie Sie Hilfe bekommen . . . . . . . . . . . . . . . . . . . . . . . 79 . . . . . . . . . . . . . . . . . . . . . . . . 81 Oracle-Support . 2 77 . . . . . . . . .
Automatische Speicherverwaltung (ASM) . . . . . . . . . . . . Problem bei ASM-Datenträgererstellung mit EMC® PowerPath® . . . . . . . . . . Network Configuration Assistant (NETCA) . . . . . . . . . . 84 . . . . . . . . . . . . 85 Fehler bei NETCA verursachen Probleme beim Erstellen von Datenbanken. . . . . . . . . . . . . . . .
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle-Software lässt sich auf den Knoten nicht installieren. . . . . . . . . . . . . . . . . . . . . . . . 91 . . . . . . . . . . 91 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Beim Ausführen von root.sh lässt sich der OCR-Datenträger nicht formatieren. . Netzwerk . . . . . . . . . . . . . 91 . . . . . . . . . . . . . . . . . . 92 Die Clusterüberprüfung schlägt fehl. .
Inhalt
Übersicht Das Oracle® Database unter Linux® Advanced Server Fehlerbehebungshandbuch gilt für: • Oracle Database 10g R2 unter Red Hat® Enterprise Linux® oder Oracle Enterprise Linux 4.7 AS x86_64. • Oracle Database 10g R2 unter Red Hat Enterprise Linux oder Oracle Enterprise Linux 5.3 AS x86_64. • Oracle Database 11g R1 unter Red Hat Enterprise Linux oder Oracle Enterprise Linux 5.3 AS x86_64.
• Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 – Datenbankeinrichtungs- und -installationshandbuch – Beschreibung der Installation und Konfiguration der Oracle-Datenbank. • Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 – Fehlerbehebungshandbuch – Beschreibung der Behebung von Fehlern, die während der in den oben genannten Modulen beschriebenen Installationsprozeduren auftreten. Alle Module enthalten Informationen zur technischen Unterstützung von Dell.
• Technischen Support von Dell für die Hardware und die Betriebssystemsoftware sowie aktuelle Updates für das System finden Sie auf der Dell Support-Website unter support.dell.com/manuals. Informationen zur Kontaktaufnahme mit Dell finden Sie im Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 – Installationshandbuch für Betriebssystem und Hardware und im Dell PowerEdge-Systeme Oracle Database unter Enterprise Linux x86_64 – Fehlerbehebungshandbuch zum System.
Übersicht
Fehlerbehebung In diesem Abschnitt sind empfohlene Maßnahmen für Probleme aufgeführt, die beim Einrichten und beim Einsatz von Enterprise Linux® und Oracle®Software auftreten können. Leistung und Stabilität Unzureichende Leistung und instabiler Betrieb von Enterprise Linux; übermäßige Beanspruchung des Swap-Speichers. Unzureichende Leistung und instabiler Betrieb treten auf, wenn Oracle System Global Area (SGA) die empfohlene Größe übersteigt.
c Geben Sie an der SQL>-Eingabeaufforderung folgende Zeilen ein: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects= ’’ scope=spfile sid=’’ d Erstellen Sie diese Einträge für jeden Knoten im Cluster.
ORA-27103 wenn MEMORY_TARGET > 3G bei 11.1.0.7.0-Datenbank. Wenn der Parameter memory_target bei der 11.1.0.7.0-Datenbank auf mehr als 3 GB eingestellt wird, kann die Instanz nicht starten und stürzt mit folgender Meldung im Alarmprotokoll ab: ORA-27103: internal error Um dieses Problem zu lösen, wenden Sie den Patch 7272646 an, der auf der My Oracle Support-Website unter metalink.oracle.com bereitgestellt ist. Weitere Informationen finden Sie im Oracle Metalink-Artikel 743012.1.
Automatische Speicherverwaltung (ASM) Problem bei ASM-Datenträgererstellung mit EMC® PowerPath® Dieses Problem tritt auf, wenn EMC PowerPath 5.0.1-5.3 die E/A-Aufrufe von oracleasm nicht unterstützt. Befehl oracleasm createdisk schlägt fehl mit folgendem Fehler: marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. Um das Problem zu lösen, führen Sie die folgenden Maßnahmen aus: 1 Führen Sie den Vorgang „/etc/init.
Network Configuration Assistant (NETCA) Fehler bei NETCA verursachen Probleme beim Erstellen von Datenbanken. NETCA schlägt fehl, da die öffentliche Netzwerkschnittstelle, Hostname oder virtuelle IP nicht in der Datei /etc/hosts.equiv aufgeführt werden. Stellen Sie vor dem Ausführen von NETCA sicher, dass dem öffentlichen Netzwerk ein Hostname zugewiesen ist und dass die öffentlichen und virtuellen IP-Adressen in der Datei /etc/hosts.equiv aufgeführt sind.
CRS bricht beim Startvorgang vorzeitig ab. Siehe Oracle-Programmfehler 4698419. Besuchen Sie dazu die „My Oracle Support“-Website unter metalink.oracle.com. Wenden Sie den Patch 4698419 an, der auf der „My Oracle Support“-Website unter metalink.oracle.com bereitsteht. Installation von Oracle Clusterware schlägt fehl. Die Installation der Oracle Clusterware schläft fehl, da die EMC® PowerPath®-Gerätenamen auf den Clusterknoten nicht einheitlich sind.
CRS startet beim Ausführen von root.sh nicht. ANMERKUNG: Stellen Sie sicher, dass die öffentlichen und privaten Knotennamen definiert sind und die Knotennamen auf Ping-Befehle reagieren. Versuchen Sie den Dienst neu zu starten, indem Sie den Knoten neu starten oder den Befehl root.sh im Verzeichnis /crs/oracle/product/11.1.0/crs/ ausführen, nachdem Sie die Netzwerkprobleme behoben haben.
Wenn alle anderen Maßnahmen zur CRS-Fehlerbehebung erfolglos bleiben, führen Sie Folgendes aus: a Aktivieren Sie den Debug-Modus, indem Sie folgende Zeile hinzufügen: to root.sh: set -x b Versuchen Sie, den Dienst neu zu starten, indem Sie root.sh von folgendem Pfad ausführen: /crs/oracle/product/11.1.
Knoten startet ununterbrochen neu Ein Knoten startet ununterbrochen neu, wenn er keinen Zugriff auf den Quorum-Datenträger im gemeinsamen Speichersystem hat. Führen Sie folgende Schritte durch: a Starten Sie Linux im Einzelbenutzer-Modus und geben Sie den folgenden Befehl ein: /etc/init.d/init.crs disable b Überprüfen Sie, ob der Quorum-Datenträger verfügbar ist und die private Verbindung funktioniert. c Starten Sie neu und geben Sie Folgendes ein: /etc/init.d/init.
Database Configuration Assistant (DBCA) Wenn Sie im Fenster DBCA Summary (DBCA-Übersicht) auf OK klicken, erfolgt keine Reaktion. Dies ist ein Zeitüberschreitungsproblem der Java Runtime Environment. Klicken Sie erneut auf OK. Falls noch immer keine Reaktion erfolgt, starten Sie die DBCA-Softwareinstallation neu. Verschiedenes dd-Fehlermeldungen beim Installieren der Software mit der Dell Deployment-CD 1. Dieses Problem tritt auf, wenn eine Kopie der Enterprise Linux CD verwendet wird.
Installation Oracle-Software lässt sich auf den Knoten nicht installieren. Dieses Problem tritt auf, wenn die Systemzeiten der Knoten nicht identisch sind. Eines der folgenden Verfahren ausführen: • Stellen Sie sicher, dass die Systemzeit auf dem Knoten für die OracleInstallation auf eine spätere Zeit als die übrigen Knoten eingestellt ist. • Konfigurieren Sie einen der Knoten als NTP-Server, um die übrigen Knoten im Cluster zu synchronisieren. Beim Ausführen von root.
Fibre-Channel-Speichersystem Sie erhalten E/A-Fehler und -Warnmeldungen, wenn Sie das Fibre-Channel HBA-Treibermodul laden. Für HBA-Treiber, BIOS oder Firmware ist ein Update erforderlich. Die unterstützten Versionen sind in der „Solution Deliverable List“ (SDL) auf der Dell|Oracle-Website für geprüfte und zugelassene Konfigurationen dell.com/oracle aufgeführt. Führen Sie die entsprechenden Updates des Treibers, des BIOS und der Firmware der Fibre-Channel-HBAs durch.
Oracle® Sicherheits-Patches und empfohlene Patches Dieser Abschnitt informiert über die empfohlenen Oracle® SicherheitsPatch-Updates und empfohlene Patches. Kritische Patch-Updates Oracle gibt vierteljährlich kritische Patch-Updates (CPUs) heraus, mit denen potentielle Sicherheitslücken bei Oracle-Produkten behoben werden. Diese CPU-Patches müssen auf Produktionssystemen angewendet werden. Folgendes sind die aktuellen CPUs für die Linux® x86_64-Plattform: • Oracle 11g R1 11.1.0.
Empfohlene Patches Dell empfiehlt, die von Oracle empfohlene Datenbank-Patchsets für die Linux x86_64-Plattform anzuwenden. Die aktuellen von Oracle empfohlenen Patches sind im Metalink-Artikel 756671.1 auf der My Oracle SupportWebsite unter metalink.oracle.com aufgeführt. Folgendes sind die aktuellen von Oracle empfohlenen Patches: • • 94 Oracle 11g R1 11.1.0.7 unter Linux x86_64: • 11.1.0.7 Allgemein empfohlenes Patch-Paket 1, Patch 8362693 • 11.1.0.
Dell™ PowerEdge™ システム Enterprise Linux® x86_64 で使用する Oracle® データベース トラブルシューティングガイド バージョン 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
メモおよび注意 メモ:コンピュータを使いやすくするための重要な情報を説明してい ます。 注意:手順に従わない場合は、ハードウェアの損傷やデータの損失の可能 性があることを示しています。 ____________________ 本書の内容は予告なく変更されることがあります。 © 2009 すべての著作権は Dell Inc. にあります。 Dell Inc. の書面による許可のない複製は、いかなる形態においても厳重に禁じられてい ます。 本書に使用されている商標:Dell、DELL ロゴ、PowerEdge、および PowerVault は Dell Inc. の商標です。EMC および PowerPath は EMC Corporation の商標です。 Intel、Pentium および Celeron は米国その他の国における Intel Corporation の登録 商標です。Oracle は米国その他の国における Oracle Inc. の登録商標です。Red Hat およ び Red Hat Enterprise Linux は米国その他の国における Red Hat, Inc.
目次 1 概要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dell™ Oracle データベースの導入に必要な マニュアル . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 . . . . . . . . . . . . . . . . . . 102 . . . . . . . . . . . . . . . . . . . . . . . . . . 102 本書で使用されている用語 . 困ったときは . デルサポート . . . . . . . . . . . . . . . . . . . . . . . . Oracle のサポート . 2 101 . . . . . . . . . . . . . . . . . . . . . トラブルシューティング パフォーマンスと安定性 . . . . . . . . . . . . . . .
ASM(Automatic Storage Management). . . . . . . . . . . . EMC® PowerPath® での ASM ディスク作 成の問題 . . . . . . . . . . . . . . . . . . . NETCA(Network Configuration Assistant). . . . . . . . 108 . . . . . . . . . 109 NETCA が誤動作して、データベース作成 が失敗する。. . . . . . . . . . . . . . . . . . . . . . . . NETCA がリモートノードを設定できないか、 または DBCA 実行中に RAW デバイス検証エ ラーが発生する。. . . . . . . . . . . . . . . . . CRS(Cluster Ready Services). 109 . . . . . . . . . . . . . . . . 109 CRS の起動が途中で失敗する。. . . . . . . 109 . . . . . . . .
インストール . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 root.sh を実行すると、ユーティリティが OCR ディスクのフォーマットに失敗する。. . . . . . . 115 . . . . . . . . . . . . . . . . . . . . . . . . . . 115 ネットワーク . クラスタ確認テストが失敗する。. . . . . . . . . . . . . ファイバーチャネルストレージシステム . . . . . . . . . . ファイバーチャネル HBA ドライバモジュー ルのロード時に I/O エラーと警告が表示される。. . OS 3 115 Oracle ソフトウェアがノードにインストー ルできない。. . . . . . . . . . . . . . . . . . . 115 116 . . 116 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
目次
概要 Oracle® Database on Linux® Advanced Server の『トラブルシュー ティング』は、以下の製品に適用されます。 • Red Hat® Enterprise Linux® または Oracle Enterprise Linux 4.7 AS x86_64 上で使用されている Oracle Database 10g R2 • Red Hat Enterprise Linux または Oracle Enterprise Linux 5.3 AS x86_64 上で使用されている Oracle Database 10g R2 • Red Hat Enterprise Linux または Oracle Enterprise Linux 5.
• 『Dell PowerEdge システム — Enterprise Linux x86_64 で使用する Oracle データベース — データベースセットアップ & インストール ガイド』では、Oracle データベースのインストールと設定の方法に ついて説明しています。 • 『Dell PowerEdge システム — Enterprise Linux x86_64 で使用する Oracle データベース — トラブルシューティングガイド』では、前の 分冊で説明されているインストール手順中に発生するエラーの解決 方法について説明しています。 各分冊のいずれにも、デルのテクニカルサポートを利用する方法が記さ れています。 本書で使用されている用語 本書では、「論理ユニット番号」(LUN)および「仮想ディスク」という 語が使われています。これらの用語は同義語であり、どちらを使用して も構いません。「LUN」は Dell/EMC ファイバーチャネルストレージシ ステムの環境で、「仮想ディスク」は Dell Power Vault™ SAS および iSCSI(Dell MD3000 および Dell MD
• ハードウェアおよび OS ソフトウェアに対するデルのテクニカルサ ポート、アップデートのダウンロードについては、デルサポートサ イト support.dell.com/manuals を参照してください。デルへの お問合せの方法については、お使いのシステムの『Dell PowerEdge システム — Enterprise Linux x86_64 で使用する Oracle データベー ス — OS のインストールとハードウェアの取り付けガイド』および 『Dell PowerEdge システム — Enterprise Linux x86_64 で使用する Oracle データベース — トラブルシューティングガイド』に記されて います。 • デルでは、企業向けのトレーニングと資格認証を実施しております。 詳細については、dell.
概要
トラブルシューティング 本項では、Enterprise Linux® および Oracle® ソフトウェアの導入と使 用にあたって発生する可能性のある問題と対処方法を示します。 パフォーマンスと安定性 Enterprise Linux のパフォーマンスが低下して、不安定になっ ている。スワップスペースの過剰使用。 SGA(Oracle System Global Area)が推奨サイズを超えていると、パ フォーマンスが低下し、システムが不安定になります。どんな場合も SGA サイズがシステム RAM 合計容量の 65 パーセントを超えることが ないようにしてください。SGA サイズを小さくするには、次の手順を 実行します。 コマンドプロンプトから free と入力して、RAM の合計容量を確認し、 Oracle パラメータファイル内の db_cache_size と shared_pool_size の両パラメータを上記のように変更します。 Oracle アラートファイル内にインタフェースタイプ不明の警告が ある。システムパフォーマンスの低下。 この問題は、パブリックインタフェースがクラスタ通信(プライベ
c SQL> プロンプトで以下の各行を入力します。 alter system set cluster_interconnects= < プライベート IP アドレス node1>’ scope=spfile sid=’’ alter system set cluster_interconnects =’< プライベート IP アドレス node2>’ scope=spfile sid=’’ d クラスタ内の各ノードについてこれらの行を作成します。 e 次のコマンドを入力して、すべてのノードでデータベースを再起 動します。 srvctl stop database –d srvctl start database –d f /opt/oracle/admin//bdump/alert_.log ファイ ルを開き、プライベート IP アドレスがすべてのインスタンスで 使用されていることを確認します。 同時ユーザー接続が 1000 に達すると 11.1.0.
11.1.0.7.0 データベースで MEMORY_TARGET を > 3G に設定すると ORA-27103 エラーが発生する 11.1.0.7.0 データベースで memory_target パラメータを > 3 GB に設定 すると、インスタンスが起動できず、クラッシュして次のエラーメッ セージが表示されます。 ORA-27103: internal error in the alert log この問題を解決するには、パッチ 7272646 を My Oracle Support ウェ ブサイト metalink.oracle.com で入手して適用します。詳細につい ては、Oracle Metalink Note # 743012.
ASM(Automatic Storage Management) EMC® PowerPath® での ASM ディスク作成の問題 この問題は、EMC PowerPath バージョン 5.0.1 ~ 5.3 が oracleasm による I/O 呼び出しをサポートしていない場合に発生します。 oracleasm createdisk コマンドが失敗し、次のエラーが表示され ます。 marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. この問題を解決するには、以下の手順を実行します。 1 "asmtool" コマンドを使用して "/etc/init.
NETCA(Network Configuration Assistant) NETCA が誤動作して、データベース作成が失敗する。 NETCA が失敗するのは、パブリックネットワーク、ホスト名、仮想 IP が /etc/hosts.equiv ファイル内のリストにないためです。 NETCA を起動する前に、ホスト名がパブリックネットワークに割り当 ててあること、/etc/hosts.equiv ファイル内のリストにパブリック IP アドレスと仮想 IP アドレスが入っていることを確認します。 NETCA がリモートノードを設定できないか、または DBCA 実行中 に RAW デバイス検証エラーが発生する。 この問題は、/etc/hosts.equiv ファイルがないか、または割り当てら れたパブリックまたは仮想 IP アドレスが含まれていない場合に発生し ます。 各ノードで、/etc/hosts.
Oracle Clusterware のインストールが失敗する。 Oracle Clusterware のインストールが失敗するのは、EMC® PowerPath® デバイス名が全部のノードで統一されていないためです。 Oracle Clusterware をインストールする前に PowerPath を再起動し、 PowerPath デバイス名が全部のノードで統一されていることを確認し ます。 ノードの再起動時または /etc/init.d/init.crs start の入力後に CRS が 起動できない。 Cluster Ready Services CSS デーモンがクォーラムディスクに書き込み を行うことができない場合、CRS は起動に失敗します。 該当ノードを再起動するか、または次のコマンドを入力して、もう一度 このサービスが起動できるかどうか試してみます。 root.sh from /crs/oracle/product/11.1.
root.sh 実行時に CRS が起動できない。 メモ:パブリックおよびプライベートのノード名がすべて定義済みで、 これらのノード名に対して ping が実行できることを確認します。 ネットワークの問題を修正した後、該当ノードを再起動するか、 /crs/oracle/product/11.1.0/crs/ から root.sh を実行して、もう一度 このサービスが起動できるかどうか試してみます。 以下は、CRS の失敗の原因となり得る問題のリストです。 • OCR ファイルと投票ディスクにアクセスできない。 I/O の問題を解決して、該当ノードを再起動するか、 /crs/oracle/product/11.1.0/crs/ から root.sh を実行して、もう一 度このサービスが起動できるかどうか試してみます。 • OCR ファイルと投票ディスクがクリアされず、古い情報が残っ ている。 OCR と投票ディスクをクリアして、古い情報を消去します。 RHEL4 では次の行を入力すると古い情報を消去できます。 dd if=/dev/zero of=/dev/raw/ocr.
その他すべての CRS トラブルシューティングの手順が失敗した場合は、 次の手順を実行します。 a 次の行を追加して、デバッグを可能にします。 to root.sh: set -x b 次のディレクトリから root.sh を実行して、もう一度このサー ビスが起動できるかどうか試してみます。 /crs/oracle/product/11.1.
ノードが再起動を繰り返す。 ノードは、共有ストレージ上のクォーラムディスクにアクセスできない 場合に再起動を繰り返します。 以下の手順を実行します。 a シングルユーザーモードで Linux を起動し、次のコマンドを入力 します。 /etc/init.d/init.crs disable b クォーラムディスクが利用可能で、プライベート相互接続が有効 であることを確認します。 c 再起動して、/etc/init.d/init.crs enable と入力し ます。 プライベート相互接続がダウンしている場合は、次の手順を実行し ます。 a シングルユーザーモードで Linux を起動します。 b 次のコマンドを入力します。 /etc/init.d/init.crs disable c ノードがプライベート相互接続を介してクラスタ内の残りのノー ドに ping を実行できることを確認します。 d 次のコマンドを入力します。 /etc/init.d/init.
DBCA(Database Configuration Assistant) DBCA Summary(DBCA サマリ)ウィンドウで OK をクリックして も反応がない。 これは、Java Runtime Environment のタイミングの問題です。 OK を再度クリックします。それでも反応がなければ、DBCA ソフト ウェアのインストールを再試行します。 その他 『Deployment CD 1』を使用したソフトウェアのインストール中に dd 失敗のエラーメッセージが表示される。 この問題は、『Enterprise Linux CD』のコピーを使用した場合に発生し ます。必ず元の CD を使用してください。 CD イメージ(ISO)を書き込む際に、cdrecord コマンドを使用して いる場合は、-dao などの適切なオプションを使用します。 oracle 以外のユーザーとして、データベースに接続する際に、 ORA01034:ORACLE not available(ORACLE が使用できません)およ び Linux Error 13: Permission denied(アクセスは拒否されまし
インストール Oracle ソフトウェアがノードにインストールできない。 この問題は、ノードのシステムクロックが同一でない場合に発生し ます。 次のいずれかの手順を実行してください。 • Oracle ソフトウェアのインストールを実行するノードのシステムク ロックが残りのノードよりも遅い時刻に設定されていることを確認 します。 • ノードの 1 つを NTP サーバーとして構成し、クラスタ内の残りの ノードを同期化します。 root.sh を実行すると、ユーティリティが OCR ディスクのフォー マットに失敗する。 この問題は、My Oracle ウェブサイトのバグ 4679769 で説明されてい ます。 My Oracle Support ウェブサイト metalink.oracle.com から Oracle パッチ 4679769 をダウンロードし、適用してください。 ネットワーク クラスタ確認テストが失敗する。 この問題は、パブリックネットワークの IP アドレスがルータブルでな い場合に発生します。例: 192.168.xxx.
ファイバーチャネルストレージシステム ファイバーチャネル HBA ドライバモジュールのロード時に I/O エ ラーと警告が表示される。 HBA ドライバ、BIOS、またはファームウェアのアップデートが必要。 Dell|Oracle Tested and Validated Configurations(Dell|Oracle で検証 済みの構成)ウェブサイト dell.
Oracle® セキュリティ更新プロ グラムと推奨されるパッチ 本項では、推奨される Oracle® セキュリティパッチのアップデートお よび推奨されるパッチに関する情報を提供します。 重要なパッチのアップデート Oracle では、Oracle 製品のセキュリティの潜在的脆弱性を解決するた めに重要なパッチのアップデート(CPU)を年に 4 回リリースしてい ます。CPU は、運用システムに適用する必要があります。現在、 Linux® x86_64 プラットフォーム用の最新 CPU は次のとおりです。 • Oracle 11g R1 11.1.0.7: CPU 8290478 • Oracle 10g R2 11.2.0.
推奨されるパッチ デルでは、Linux x86_64 プラットフォーム用の Oracle 推奨データベー スパッチセットを適用することをお勧めします。Oracle が推奨する最 新のパッチについては、My Oracle Support ウェブサイト metalink.oracle.com で Metalink Note #756671.1 を参照してくだ さい。 以下は、Oracle が推奨する最新のパッチです。 118 • Linux x86_64 で使用する Oracle 11g R1 11.1.0.7: • 11.1.0.7 Generic Recommended Patch Bundle #1, Patch 8362693(11.1.0.7 汎用推奨パッチバンドル #1、 パッチ 8362693) • 11.1.0.7 CRS Recommended Patch Bundle#1, Patch 8287931 (11.1.0.7 CRS 推奨パッチバンドル #1、パッチ 8287931) • 11.1.0.7.
Sistemas Dell™ PowerEdge™ Base de datos Oracle® en Enterprise Linux® x86_64 Guía de solución de problemas versión 1.2 w w w. d e l l . c o m | s u p p o r t . d e l l .
Notas y precauciones NOTA: Una NOTA proporciona información importante que le ayudará a utilizar mejor el ordenador. PRECAUCIÓN: Un mensaje de PRECAUCIÓN indica la posibilidad de daños en el hardware o la pérdida de datos si no se siguen las instrucciones. ____________________ La información contenida en este documento puede modificarse sin previo aviso. © 2009 Dell Inc. Todos los derechos reservados.
Contenido 1 Información general 125 Documentación necesaria para implantar la base de datos Dell™ Oracle . . . . . . . . . . . . . . . . . . 125 Terminología utilizada en este documento . . . . . . . . . . . . 126 . . . . . . . . . . . . . . . . . . . . . . . . 126 Obtención de ayuda Asistencia de Dell . . . . . . . . . . . . . . . . . . . . . . Asistencia de Oracle 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oracle Clustered File System2 (OCFS2) . . . . . . . . . . . . . El sistema se bloquea al montar o desmontar particiones OCFS. . . . . . . . . . . . . . . . Automatic Storage Management (ASM). . . . . . . . 131 . . . . . . . . . . . . 132 Problema de creación de discos ASM con EMC® PowerPath® . . . . . . . . . . . . . . . . . . 132 Network Configuration Assistant (NETCA) . . . . . . . . . . . 133 NETCA falla, lo cual produce errores de creación de base de datos. . . . . . . . . . . . . . . .
Varios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aparecen mensajes de error dd al instalar el software mediante el CD 1 de implantación de Dell. . . . . . . . . . . . . . . . . . . . Cuando se conecta a la base de datos como un usuario que no es oracle, aparecen los mensajes de error ORA01034: ORACLE not available (ORA01034: ORACLE no está disponible) y Linux Error 13: Permission denied (Error de Linux 13: permiso denegado). . . . . . . Instalación . 138 . . . . . 138 . . . . .
Contenido
Información general Base de datos Oracle® en Linux®Advanced Server – Guía de solución de problemas se aplica a: • Base de datos 10g R2 Oracle en Red Hat® Enterprise Linux® u Oracle Enterprise Linux 4.7 AS x86_64. • Base de datos Oracle 10g R2 en Red Hat Enterprise Linux u Oracle Enterprise Linux 5.3 AS x86_64 • Base de datos Oracle 11g R1 en Red Hat Enterprise Linux u Oracle Enterprise Linux 5.
• Sistemas Dell PowerEdge — Base de datos Oracle en Enterprise Linux x86_64 — Guía de configuración e instalación de la base de datos: en ella se describe cómo instalar y configurar la base de datos Oracle. • Sistemas Dell PowerEdge — Base de datos Oracle en Enterprise Linux x86_64 — Guía de solución de problemas: en ella se describe cómo solucionar problemas y resolver errores encontrados durante los procedimientos de instalación descritos en los módulos anteriores.
• Para obtener asistencia técnica de Dell para el hardware y el software del sistema operativo, y para descargar las últimas actualizaciones del sistema, visite la página web de asistencia de Dell en support.dell.com/manuals.
Información general
Solución de problemas En esta sección se indican las acciones recomendadas para los problemas que pueden surgir al implantar y utilizar el software Enterprise Linux® y Oracle®. Rendimiento y estabilidad Enterprise Linux presenta un bajo rendimiento e inestabilidad, así como un uso excesivo del espacio de intercambio. El bajo rendimiento y la inestabilidad se produce cuando el área global del sistema (SGA) de Oracle sobrepasa el tamaño recomendado.
c Escriba las líneas siguientes en el indicador SQL>: alter system set cluster_interconnects=’ scope=spfile sid=’’ alter system set cluster_interconnects = ’’ scope=spfile sid=’’ d Cree estas entradas para cada nodo del clúster.
ORA-27103 cuando MEMORY_TARGET > 3 GB con la base de datos 11.1.0.7.0 Cuando se establece el parámetro memory_target de la base de datos 11.1.0.7.0 en más de 3 GB, la instancia no se puede iniciar y se bloquea con ORA-27103: internal error in the alert log (ORA-27103: error interno en el registro de alerta). Para resolver este problema, aplique el parche 7272646 disponible en la página web My Oracle Support en metalink.oracle.com. Para obtener más información, consulte la nota nº 743012.
Automatic Storage Management (ASM) Problema de creación de discos ASM con EMC® PowerPath® Este problema se produce cuando EMC PowerPath versión 5.0.1-5.3 no admite las llamadas de E/S que realiza oracleasm. El comando oracleasm createdisk falla con el error: marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a partition [FAILED]. Para resolver el problema, realice los pasos siguientes: 1 Lleve a cabo la operación “/etc/init.
Network Configuration Assistant (NETCA) NETCA falla, lo cual produce errores de creación de base de datos. NETCA falla porque la red pública, el nombre de host o la dirección IP virtual no aparecen en el archivo /etc/hosts.equiv. Antes de iniciar NETCA, asegúrese de que se ha asignado un nombre de host a la red pública y de que las direcciones IP pública y virtual aparecen en el archivo /etc/hosts.equiv.
El procedimiento de instalación del software de clúster Oracle falla. La instalación del software de clúster Oracle falla porque los nombres de dispositivo EMC® PowerPath® no son uniformes en los nodos. Antes de instalar el software de clúster Oracle, reinicie PowerPath y asegúrese de que los nombres de dispositivo PowerPath son uniformes en los nodos. CRS no puede iniciarse cuando se reinician los nodos o después de escribir /etc/ini.d/init.crs start.
Cuando se ejecuta root.sh, CRS no puede iniciarse. NOTA: Asegúrese de que ha definido todos los nombres de nodo públicos y privados y de que puede ejecutar el comando ping en los nombres de nodo. Intente volver a iniciar el servicio reiniciando el nodo o ejecutando root.sh desde /crs/oracle/product/11.1.0/crs/ tras haber corregido los problemas de red. La siguiente es una lista de problemas que pueden producir un error de CRS: • No se puede acceder al archivo OCR ni al disco de votación.
Si todos los demás pasos para solucionar los problemas de CRS fallan, realice lo siguiente: a Habilite la depuración de errores añadiendo la línea siguiente a root.sh: set -x b Intente volver a iniciar el servicio ejecutando root.sh desde: /crs/oracle/product/11.1.
El nodo se reinicia constantemente El nodo se reinicia constantemente cuando no tiene acceso al disco de quórum en el almacenamiento compartido. Realice los pasos siguientes: a Inicie Linux en modo de un solo usuario y escriba el siguiente comando: /etc/init.d/init.crs disable b Verifique que el disco de quórum está disponible y que la interconexión privada está activa. c Reinicie y escriba: /etc/init.d/init.crs enable La interconexión privada está fuera de servicio.
Database Configuration Assistant (DBCA) No se obtiene ninguna respuesta al hacer clic en OK (Aceptar) en la ventana DBCA Summary (Resumen de DBCA). Se trata de un problema de sincronización de Java Runtime Environment. Haga clic de nuevo en OK (Aceptar). Si sigue sin haber respuesta, reinicie la instalación del software DBCA. Varios Aparecen mensajes de error dd al instalar el software mediante el CD 1 de implantación de Dell. Este problema se produce cuando se utiliza una copia del CD de Enterprise Linux.
Instalación El software Oracle no se instala correctamente en los nodos. Este problema se produce cuando los relojes del sistema de los nodos no son idénticos. Realice uno de los procedimientos siguientes: • Asegúrese de que el reloj del sistema en el nodo de instalación del software Oracle tiene una hora posterior a la de los demás nodos. • Configure uno de los nodos como servidor NTP para sincronizar los demás nodos del clúster. Cuando se ejecuta root.sh, la utilidad no puede formatear el disco OCR.
Sistema de almacenamiento Fibre Channel Aparecen errores de E/S y avisos cuando se carga el módulo controlador HBA Fibre Channel. Debe actualizar el controlador HBA, el BIOS o el firmware. Consulte la lista de soluciones disponibles (SDL) en la página web de configuraciones probadas y validadas por Dell|Oracle dell.com/oracle para ver las versiones admitidas. Actualice el controlador, el BIOS o el firmware según convenga para los HBA Fibre Channel.
Parches recomendados y parches de seguridad de Oracle® En esta sección se proporciona información sobre los parches recomendados y las actualizaciones de parches de seguridad de Oracle® recomendadas. Actualizaciones críticas de parches Oracle publica actualizaciones críticas de parches (CPU) trimestrales para resolver las posibles vulnerabilidades de seguridad de los productos Oracle. Es necesario que estos parches CPU se apliquen a los sistemas de producción.
Parches recomendados Dell recomienda aplicar los patchsets de base de datos recomendados por Oracle para la plataforma Linux x86_64. Para conocer los parches más recientes recomendados por Oracle, consulte la nota nº 756671.1 de Metalink en la página web My Oracle Support en metalink.oracle.com. A continuación se indican los parches actuales recomendados por Oracle: • • 142 Oracle 11g R1 11.1.0.7 en Linux x86_64: • Paquete nº 1 de parches genéricos recomendados 11.1.0.