OHAS无法启动的处理过程

本文发布时间: 2019-Mar-22
环境:OS:Red Hat Linux As 5DB:11.2.0.11.安装grid过程中有报错,当时就忽略了,安装完成后检查has[grid@hxl bin]$ sh -x /u01/grid/gridsoft/bin/crsctl check has+ ORA_CRS_HOME=/u01/grid/gridsoft+ MY_HOST=hxl+ ORACLE_HOME=/u01/grid/gridsoft+ export ORA_CRS_HOME ORACLE_HOME+ '[' -z '' ']'+ PERL='/u01/grid/gridsoft/perl/bin/perl -I/u01/grid/gridsoft/perl/lib'+ LOGMSG='/bin/logger -puser.err'+ case `/bin/uname` in++ /bin/uname+ LD_LIBRARY_PATH=/u01/grid/gridsoft/lib+ export LD_LIBRARY_PATH+ LD_ASSUME_KERNEL=+ export LD_ASSUME_KERNEL+ LOGGER=/usr/bin/logger+ '[' '!' -f /usr/bin/logger ']'+ LOGMSG='/usr/bin/logger -puser.err'+ case $0 in+ ORASYM=/u01/grid/gridsoft/bin/crsctl.bin+ case $ORASYM in+ export ORASYM+ exec /u01/grid/gridsoft/bin/crsctl.bin check hasCRS-4639: Could not contact Oracle High Availability Services2.运行crs目录下的roothas.pl[root@hxl install]#cd /u01/grid/gridsoft/crs/install[root@hxl install]# ./roothas.pl -deconfig -force -verbose2012-09-18 20:45:37: Checking for super user privileges2012-09-18 20:45:37: User has super user privileges2012-09-18 20:45:37: Parsing the host nameUsing configuration parameter file: ./crsconfig_paramsCRS-4639: Could not contact Oracle High Availability ServicesCRS-4000: Command Stop failed, or completed with errors.CRS-4639: Could not contact Oracle High Availability ServicesCRS-4000: Command Delete failed, or completed with errors.PROCL-26: Error while accessing the physical storageCRS-4544: Unable to connect to OHASCRS-4000: Command Stop failed, or completed with errors.ACFS-9200: Supportedacfsroot: ACFS-9313: No ADVM/ACFS installation detected.Successfully deconfigured Oracle Restart stack3.重新执行root.sh[root@hxl gridsoft]#cd /u01/grid/gridsoft[root@hxl gridsoft]# ./root.shRunning Oracle 11g root.sh script...The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/grid/gridsoftEnter the full pathname of the local bin directory: [/usr/local/bin]: yCreating y directory... Copying dbhome to y ... Copying oraenv to y ... Copying coraenv to y ...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.2012-09-18 20:46:29: Checking for super user privileges2012-09-18 20:46:29: User has super user privileges2012-09-18 20:46:29: Parsing the host nameUsing configuration parameter file: /u01/grid/gridsoft/crs/install/crsconfig_paramsLOCAL ADD MODECreating OCR keys for user 'grid', privgrp 'oinstall'..Operation successful.CRS-4664: Node hxl successfully pinned.Adding daemon to inittabCRS-4123: Oracle High Availability Services has been started.ohasd is startinghxl 2012/09/18 20:46:51 /u01/grid/gridsoft/cdata/hxl/backup_20120918_204651.olrSuccessfully configured Oracle Grid Infrastructure for a Standalone ServerUpdating inventory properties for clusterwareStarting Oracle Universal Installer...Checking swap space: must be greater than 500 MB. Actual 1568 MB PassedThe inventory pointer is located at /etc/oraInst.locThe inventory is located at /u01/app/oraInventory'UpdateNodeList' was successful.4.查看res信息[root@hxl gridsoft]# crsctl stat res -t--------------------------------------------------------------------------------NAME TARGET STATE SERVER STATE_DETAILS--------------------------------------------------------------------------------Cluster Resources--------------------------------------------------------------------------------ora.cssd 1 OFFLINE OFFLINEora.diskmon 1 OFFLINE OFFLINE5.检查has状态[root@hxl gridsoft]# crsctl check hasCRS-4638: Oracle High Availability Services is online6.启动相应资源[root@hxl gridsoft]# crsctl start res -allCRS-2672: Attempting to start 'ora.diskmon' on 'hxl'CRS-2672: Attempting to start 'ora.cssd' on 'hxl'CRS-2676: Start of 'ora.diskmon' on 'hxl' succeededCRS-2676: Start of 'ora.cssd' on 'hxl' succeeded[root@hxl gridsoft]# crs_stat -tName Type Target State Host------------------------------------------------------------ora.cssd ora.cssd.type ONLINE ONLINE hxlora.diskmon ora....on.type ONLINE ONLINE hxl[root@hxl gridsoft]# ps -ef|grep gridsoftgrid 3771 1 0 20:46 ? 00:00:00 /u01/grid/gridsoft/bin/ohasd.bin rebootgrid 4756 1 0 20:47 ? 00:00:00 /u01/grid/gridsoft/bin/orarootagent.bingrid 4760 1 0 20:47 ? 00:00:00 /u01/grid/gridsoft/bin/cssdagentgrid 4775 1 0 20:47 ? 00:00:00 /u01/grid/gridsoft/bin/ocssd.bingrid 4788 1 0 20:47 ? 00:00:00 /u01/grid/gridsoft/bin/diskmon.bin -d -froot 4826 3476 0 20:49 pts/1 00:00:00 grep gridsoft[grid@hxl install]$ crsctl check hasCRS-4638: Oracle High Availability Services is online


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:11pm
栏目列表