ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How To Gather The OS Logs For Each Specific OS Platform.

How To Gather The OS Logs For Each Specific OS Platform.

原创 Linux操作系统 作者:ilsyx 时间:2011-08-30 16:15:27 0 删除 编辑

个人总结

各个平台的收集系统日志方法,在排错或者诊断 ASM/ASM lib问题的时候用到.上传给oracle support还没有做过.

How To Gather The OS Logs For Each Specific OS Platform. [ID 1349613.1]

  Modified 29-AUG-2011     Type HOWTO     Status PUBLISHED  

In this Document
  Goal
  Solution


Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.2 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Goal

The present document provides how to gather the OS logs for each specific OS platform, this logs are  required to troubleshoot & diagnostic ASM/ASMLIB issues for Oracle Support.


Solution

Please provide the OS logs (from each node if this is a RAC configuration), the OS logs location vary depending of each platform.:


Solaris OS:


=)> /var/adm/messages*


AIX OS:

Connect as root OS user and extract the OS logs as follow:


=)> /bin/errpt -a > /tmp/errpt.txt


HP-UX OS:


=)> /var/adm/syslog/syslog.log


And


=)> /usr/sbin/dmesg > /tmp/dmesg.txt


Linux OS:


=)> /var/log/messages*

 

Tru64:

=)> /var/adm/messages*


Windows OS:

a) Open the Event Viewer (Thru "Control Panel" =)> "Administrative Tools" =)> "Event Viewer" ).
b) Select the Event type on the left panel (Application, Security or System) (click on it):
c) Then right click on it and select "Export List …"
d) Save it as txt file.
e) Repeat the same operation for each Event on each node.


Note: Please compress those OS files in just one file (*.tar then *.zip or *.Z) and upload it.







来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11780477/viewspace-706245/,如需转载,请注明出处,否则将追究法律责任。

下一篇: vmstat 命令
请登录后发表评论 登录
全部评论

注册时间:2009-06-12

  • 博文量
    194
  • 访问量
    596583