重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4038|回复: 0
打印 上一主题 下一主题

diagnosing Oracle Clusterware issue所需要收集日志的操作步骤

[复制链接]
跳转到指定楼层
楼主
发表于 2013-12-11 13:53:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

Linux/UNIX 11gR2/12cR1

1. Execute the following as root user:

# script /tmp/diag.log
# id
# env
# cd <temp-directory-with-plenty-free-space>
# $GRID_HOME/bin/diagcollection.sh
# exit 

The following .gz files will be generated in the current directory and need to be uploaded along with /tmp/diag.log:
 
crsData_<hostname>.tar.gz,
ocrData_<hostname>.tar.gz,
oraData_<hostname>.tar.gz,
coreData_<hostname>.tar.gz (only --core option specified)
os_<hostname>.tar.gz

Please ensure all above information are provided from all the nodes.

 

Linux/UNIX 10gR2/11gR1

1. Execute the following as root user:


# script /tmp/diag.log
# id
# env
# cd <temp-directory-with-plenty-free-space>
# export OCH=<CRS_HOME>
# export ORACLE_HOME=<DB_HOME>
# export HOSTNAME=<host>
# $OCH/bin/diagcollection.pl -crshome=$OCH --collect
# exit


The following .gz files will be generated in the current directory and need to be uploaded along with /tmp/diag.log:  

crsData_<hostname>.tar.gz,
ocrData_<hostname>.tar.gz,
oraData_<hostname>.tar.gz,
coreData_<hostname>.tar.gz (only --core option specified)


2. For 10gR2 and 11gR1, if getting an error while running root.sh, please collect /tmp/crsctl.*

Please ensure all above information are provided from all the nodes.

 

Windows 11gR2/12cR1:


set GRID_HOME=<11gR2_GRID_HOME>
%GRID_HOME%\perl\bin\perl %GRID_HOME%\bin\diagcollection.pl --collect

The following .zip files will be generated in the current directory and need to be uploaded:  

crsData_<timestamp>.zip,
ocrData_<timestamp>.zip,
oraData_<timestamp>.zip,
coreData_<timestamp>.zip (only --core option specified)

 

Windows 10gR2/11gR1


set ORACLE_HOME=<DB_HOME>
set OCH=<CRS_HOME>
set ORACLE_BASE=<oracle-base>
$OCH%\perl\bin\perl %OCH%\bin\diagcollection.pl --collect 

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-7-1 13:55 , Processed in 0.083530 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表