
点击“蓝字”关注我们
安装补丁导致crs启动失败
1、安装补丁:
[root@szjjdb1 u01/software]# u01/app/11.2.0.4/grid/OPatch/opatch auto u01/software/32495145 -oh u01/app/11.2.0.4/gridExecuting u01/app/11.2.0.4/grid/perl/bin/perl u01/app/11.2.0.4/grid/OPatch/crs/patch11203.pl -patchdir u01/software -patchn 32495145 -oh u01/app/11.2.0.4/grid -paramfile u01/app/11.2.0.4/grid/crs/install/crsconfig_paramsThis is the main log file: /u01/app/11.2.0.4/grid/cfgtoollogs/opatchauto2021-05-08_09-42-32.logThis file will show your detected configuration and all the steps that opatchauto attempted to do on your system:/u01/app/11.2.0.4/grid/cfgtoollogs/opatchauto2021-05-08_09-42-32.report.log2021-05-08 09:42:32: Starting Clusterware Patch SetupUsing configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_paramsStopping CRS...Stopped CRS successfullypatch /u01/software/32495145/29938455 apply successful for home /u01/app/11.2.0.4/gridpatch /u01/software/32495145/32328626 apply successful for home /u01/app/11.2.0.4/gridpatch /u01/software/32495145/29509309 apply successful for home /u01/app/11.2.0.4/gridStarting CRS...Installing Trace File AnalyzerCRS-4124: Oracle High Availability Services startup failed.CRS-4000: Command Start failed, or completed with errors.#补丁安装成功但是crs没有成功启动Oracle Grid Infrastructure stack start initiated but failed to complete at /u01/software/32495145/29938455/files/crs/install/crsconfig_lib.pm line 11821.[root@szjjdb1 /u01/software]#
2、查看crs告警日志:
位置:
[+ASM1][grid@szjjdb1 /u01/app/11.2.0.4/grid/log/szjjdb1]$ lltotal 128drwxr-x--- 2 grid oinstall 4096 May 7 14:03 acfslogdrwxr-x--- 2 grid oinstall 4096 May 7 14:03 acfsrepldrwxr-x--- 2 root oinstall 4096 May 7 14:03 acfsreplrootdrwxr-xr-x 2 root oinstall 4096 May 7 14:03 acfssecdrwxr-x--- 2 grid oinstall 4096 May 7 14:03 admindrwxrwxr-t 4 root oinstall 4096 May 7 14:03 agent-rw-rw-r-- 1 grid oinstall 34155 May 8 10:31 alertszjjdb1.logdrwxrwxrwt 2 grid oinstall 4096 May 7 17:23 clientdrwxr-x--- 2 root oinstall 4096 May 7 14:16 crflogddrwxr-x--- 2 root oinstall 4096 May 7 14:16 crfmonddrwxr-x--- 2 root oinstall 4096 May 7 14:14 crsddrwxr-x--- 2 grid oinstall 4096 May 7 14:13 cssddrwxr-x--- 2 root oinstall 4096 May 7 14:13 ctssddrwxr-x--- 4 grid oinstall 4096 May 7 14:03 cvudrwxr-x--- 2 grid oinstall 4096 May 7 14:03 diskmondrwxr-x--- 2 grid oinstall 4096 May 7 14:17 evmddrwxr-x--- 2 grid oinstall 4096 May 8 06:26 gipcddrwxr-x--- 2 root oinstall 4096 May 7 14:03 gnsddrwxr-x--- 2 grid oinstall 4096 May 8 10:30 gpnpddrwxr-x--- 2 grid oinstall 4096 May 7 14:13 mdnsddrwxr-x--- 2 root oinstall 4096 May 7 14:13 ohasddrwxrwxr-t 5 grid oinstall 4096 May 7 14:03 racgdrwxr-x--- 2 grid oinstall 4096 May 7 14:03 srvm[+ASM1][grid@szjjdb1 /u01/app/11.2.0.4/grid/log/szjjdb1]$
# tail -f alertszjjdb1.log...[client(78335)]CRS-10001:08-May-21 09:49 ACFS-9201: Not Supported[client(78459)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details [mkfifo: cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].[client(78610)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details [mkfifo: cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].[client(24182)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details [mkfifo: cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].[client(24488)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details [mkfifo: cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].[client(122675)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details [mkfifo: cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].[client(122716)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details [mkfifo: cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].2021-05-08 10:30:19.098:...
3、
报错:cannot create fifo ‘/var/tmp/.oracle/npohasd’: File exists].[client(78610)]CRS-10001:CRS-10131: Failure to create named pipe /var/tmp/.oracle/npohasd. Details
原因:npohasd文件的存在导致重新创建失败。
[root@szjjdb1 /var/tmp/.oracle]# lltotal 8srwxr-xr-x 1 grid oinstall 0 May 7 16:45 mdnsd-rw-r--r-- 1 grid oinstall 6 May 7 16:45 mdnsd.pid-rw-r--r-- 1 root root 7 May 8 10:24 npohasd...
解决:安装补丁后要重新创建npohasd文件,删除老npohasd文件启动crs
[root@szjjdb1 /var/tmp/.oracle]# rm -rf npohasd[root@szjjdb1 /var/tmp/.oracle]# lltotal 7srwxr-xr-x 1 grid oinstall 0 May 7 16:45 mdnsd-rw-r--r-- 1 grid oinstall 6 May 7 16:45 mdnsd.pid...
4、重新启动crs
[root@szjjdb1 /var/tmp/.oracle]# /u01/app/11.2.0.4/grid/bin/crsctl start crsCRS-4123: Oracle High Availability Services has been started. #crs启动成功[root@szjjdb1 /var/tmp/.oracle]##输出日志:...[ohasd(122256)]CRS-2112:The OLR service started on node szjjdb1.2021-05-08 10:30:19.103:[ohasd(122256)]CRS-1301:Oracle High Availability Service started on node szjjdb1....
至此结束,有什么问题欢迎留言,谢谢。
推荐阅读

2021-04-08

2021-04-13


点击“阅读原文”
文章转载自晟数学院,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




