当前位置: 代码迷 >> 综合 >> RAC故障处理,Agent?或者mdnsd.bin,?gpnpd.bin,?gipcd.bin?未运行
  详细解决方案

RAC故障处理,Agent?或者mdnsd.bin,?gpnpd.bin,?gipcd.bin?未运行

热度:82   发布时间:2024-03-08 09:16:05.0

现象分析

使用命令查看init服务情况

# crsctl stat res -init -t

可见, mdnsd.bin, gpnpd.bin, gipcd.bin 等所有服务都是OFFLINE,未运行。

 

 

查看日志,mdnsd.log,对比正常的日志,for the home后面未显示路径。

 

 

根据现象,查询资料,可得

问题:Agent 或者mdnsd.bin, gpnpd.bin, gipcd.bin 未运行

 

症状:

1. orarootagent 未运行

. ohasd.log 显示

2012-12-21 02:14:05.071: [ 

   AGFW][24] {0:0:2} Created alert : (:CRSAGF00123:) : 

 Failed to start the agent process: 

/grid/11.2.0/grid_2/bin/orarootagent Category: -1 Operation: fail Loc: canexec2 OS error: 0 Other : no exe permission, 

file [/grid/11.2.0/grid_2/bin/orarootagent]  

2. mdnsd.bin, gpnpd.bin 或者gipcd.bin 未运行, 以下是mdnsd log中显示的一个例子: 

2012-12-31 21:37:27.601: [  clsdmt][1088776512]Creating PID [4526] file for home /u01/app/11.2.0/grid host lc1n1 bin 

mdns to /u01/app/11.2.0/grid/mdns/init/ 

2012-12-31 21:37:27.602: [  clsdmt][1088776512]Error3 -2 writing PID [4526] to the file []  

2012-12-31 21:37:27.602: [  clsdmt][1088776512]Failed to record pid for MDNSD 

 

可能原因

1. orarootagent 缺少执行权限

2. 缺少进程相关的.pid ,或者文件或者这个文件的所有者权限不对

3. GRID_HOME 所有者权限不对

 

 

解决方案

 

# find / | grep rootcrs.pl

# cd /u01/app/11.2.0/grid/crs/install

# ./rootcrs.pl  -unlock

# ./rootcrs.pl  -patch

 

 

 

  相关解决方案