设为首页 收藏本站
查看: 1101|回复: 0

[经验分享] Oracle:OHAS无法启动的处理过程

[复制链接]

尚未签到

发表于 2018-9-26 10:34:18 | 显示全部楼层 |阅读模式
  Oracle:OHAS无法启动的处理过程
  1.安装grid过程中有报错,当时就忽略了,手动创建ASM安装完成后检查has是online,但是服务器重启动查看has报如下错:
  报错类型:
  CRS-4639: Could not contact Oracle HighAvailability Services
  2.运行crs目录下的roothas.pl
  [root@station8install]#cd /u01/app/oracle/product/11.2.0/grid/crs/install
  [root@station8 install]# ./roothas.pl -deconfig -force -verbose
  2012-09-1820:45:37: Checking for super user privileges
  2012-09-18 20:45:37: User has super user privileges
  2012-09-18 20:45:37: Parsing the host name
  Using configuration parameter file: ./crsconfig_params
  CRS-4639: Could not contact Oracle High Availability Services
  CRS-4000: Command Stop failed, or completed with errors.
  CRS-4639: Could not contact Oracle High Availability Services
  CRS-4000: Command Delete failed, or completed with errors.
  PROCL-26: Error while accessing the physical storage
  CRS-4544: Unable to connect to OHAS
  CRS-4000: Command Stop failed, or completed with errors.
  ACFS-9200: Supported
  acfsroot: ACFS-9313: No ADVM/ACFS installation detected.
  Successfully deconfigured Oracle Restart stack
  3.重新执行root.sh
  [root@station8 ~]#cd/u01/app/oracle/product/11.2.0/grid/
  [root@station8 grid]# ./root.sh
  Running Oracle 11groot.sh script...
  The following environment variables are set as:
  ORACLE_OWNER= grid
  ORACLE_HOME=  /u01/grid/gridsoft
  Enter the full pathname of the local bin directory: [/usr/local/bin]: y
  Creating 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 by
  Database Configuration Assistant when a database is created
  Finished 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 privileges
  2012-09-18 20:46:29: User has super user privileges
  2012-09-18 20:46:29: Parsing the host name
  Using configuration parameter file:/u01/grid/gridsoft/crs/install/crsconfig_params
  LOCAL ADD MODE
  Creating OCR keys for user 'grid', privgrp 'oinstall'..
  Operation successful.
  CRS-4664: Node station8 successfully pinned.
  Adding daemon to inittab
  CRS-4123: Oracle High Availability Services has been started.
  ohasd is starting
  station8     2012/09/18 20:46:51     /u01/app/oracle/product/11.2.0/grid/cdata/station8/backup_20120918_204651.olr
  Successfully configured Oracle Grid Infrastructure for a Standalone Server
  Updating inventory properties for clusterware
  Starting Oracle Universal Installer...
  Checking swap space: must be greater than 500 MB.   Actual 1568MB    Passed
  The inventory pointer is located at /etc/oraInst.loc
  The inventory is located at /u01/app/oraInventory
  'UpdateNodeList' was successful.
  4.查看res信息
  [root@station8 ~]#cd/u01/app/oracle/product/11.2.0/grid/bin
  [root@station8 bin]# ./crsctl stat res -t
  --------------------------------------------------------------------------------
  NAME           TARGET STATE       SERVER                  STATE_DETAILS
  --------------------------------------------------------------------------------
  Cluster Resources
  --------------------------------------------------------------------------------
  ora.cssd
  1       OFFLINEOFFLINE
  ora.diskmon
  1       OFFLINE OFFLINE
  5.检查has状态
  [root@station8 bin]#./crsctl check has
  CRS-4638: OracleHigh Availability Services is online
  6.启动相应资源
  [root@station8 bin]# ./crsctl start res-all
  CRS-2672:Attempting to start 'ora.diskmon' on 'station8'
  CRS-2672: Attempting to start 'ora.cssd' on 'station8'
  CRS-2676: Start of 'ora.diskmon' on 'station8' succeeded
  CRS-2676: Start of 'ora.cssd' on 'station8' succeeded
  [root@station8 bin]#./crs_stat -t
  Name          Type          Target    State    Host
  ------------------------------------------------------------
  ora.cssd       ora.cssd.type ONLINE    ONLINE    station8
  ora.diskmon    ora....on.type ONLINE   ONLINE    station8
  [root@station8 bin]#ps -ef|grep gridsoft
  grid     3771     1  0 20:46?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /ohasd.bin reboot
  grid      4756     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/orarootagent.bin
  grid      4760     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/cssdagent
  grid      4775     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/ocssd.bin
  grid      4788     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/diskmon.bin -d -f
  root      4826  3476  0 20:65pxs/1    00:00:00 grep gridsoft
  [grid@station8 bin]$ ./crsctl check has
  CRS-4638: Oracle High Availability Services isonline
  --The End --


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-602244-1-1.html 上篇帖子: Oracle SAMPLE语句(一) 下篇帖子: Oracle expdp和impdp自动使用resumable特性
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表