$ORA_CRS_HOME/log/主机名/
如果没设置ORA_CRS_HOME变量,就是crs软件安装的路径下
[oracle@node1 node1]$ ls *
alertnode1.log
admin:
client:
clsc1.log clsc.log css.log ocrcheck_26311.log ocrconfig_8482.log
clscfg_8798.log css1.log ocrcheck_10426.log ocrcheck_8071.log ocrconfig_8749.log
clscfg.log css2.log ocrcheck_16497.log ocrconfig_8036.log oifcfg.log
crsd:
crsd.log
cssd:
cssdOUT.log node1.pid oclsmon oclsomon ocssd.log
evmd:
evmd.log evmdOUT.log
racg:
ora.node1.ons.log ora.node1.vip.log racgeut racgevtf racgmain
我发现$ORA_CRS_HOME/下面也有crs/log css/log evm/log 等目录,里面没有日志文件
crs/admin:
init.crs init.crsd inittab
crs/init:
node1.pid
这些目录文件有用
crs
css
evm
has
srvm
racg
[oracle@node1 crs]$ ps -ef|grep crsd
oracle 8380 26697 0 14:03 pts/0 00:00:00 grep crsd
root 16737 1 0 Feb10 ? 00:00:00 /bin/sh /etc/init.d/init.crsd run
root 17553 16737 0 Feb10 ? 00:01:41 /opt/crs/oracle/product/crs/bin/crsd.bin reboot
[oracle@node1 crs]$ ps -ef|grep cssd
oracle 8439 26697 0 14:03 pts/0 00:00:00 grep cssd
root 16736 1 0 Feb10 ? 00:00:11 /bin/sh /etc/init.d/init.cssd fatal
root 17561 16736 0 Feb10 ? 00:00:00 /bin/sh /etc/init.d/init.cssd oprocd
root 17582 16736 0 Feb10 ? 00:00:00 /bin/sh /etc/init.d/init.cssd oclsomon
root 17629 16736 0 Feb10 ? 00:00:00 /bin/sh /etc/init.d/init.cssd daemon
root 18017 17582 0 Feb10 ? 00:00:00 /sbin/runuser -l oracle -c /bin/sh -c 'cd /opt/crs/oracle/product/crs/log/node1/cssd/oclsomon; ulimit -c unlimited; /opt/crs/oracle/product/crs/bin/oclsomon || exit $?'
oracle 18022 18017 0 Feb10 ? 00:00:00 /bin/sh -c cd /opt/crs/oracle/product/crs/log/node1/cssd/oclsomon; ulimit -c unlimited; /opt/crs/oracle/product/crs/bin/oclsomon || exit $?
oracle 18085 17629 0 Feb10 ? 00:01:01 /opt/crs/oracle/product/crs/bin/ocssd.bin
[oracle@node1 crs]$ ps -ef|grep evmd
oracle 8501 26697 0 14:03 pts/0 00:00:00 grep evmd
root 16734 1 0 Feb10 ? 00:00:00 /bin/sh /etc/init.d/init.evmd run
root 17373 16734 0 Feb10 ? 00:00:00 /bin/su -l oracle -c sh -c 'ulimit -c unlimited; cd /opt/crs/oracle/product/crs/log/node1/evmd; exec /opt/crs/oracle/product/crs/bin/evmd '
oracle 17398 17373 0 Feb10 ? 00:00:04 /opt/crs/oracle/product/crs/bin/evmd.bin
[oracle@node1 crs]$ ps -ef|grep racg
oracle 8602 26697 0 14:03 pts/0 00:00:00 grep racg
oracle 17937 1 0 Feb10 ? 00:00:09 /opt/app/oracle/product/10.2.0/db_1/bin/racgimon startd erpdata
oracle 29954 1 0 Feb10 ? 00:00:00 /opt/app/oracle/product/10.2.0/db_1/bin/racgimon daemon ora.node1.ASM1.asm
[oracle@node1 crs]$ ps -ef|grep has
oracle 8647 26697 0 14:04 pts/0 00:00:00 grep has