修改主机名导致crs无法启动

[root@shdb oracle]# cd scls_scr/
[root@shdb scls_scr]# ll
total 4
drwxr-xr-x 4 root oinstall 4096 Feb  1  2016 node1

[root@shdb install]# pwd
/u01/11.2.0/grid/crs/install
[root@shdb install]# 
[root@shdb install]# ./rootcrs.pl -deconfig -force
2016-10-06 15:50:33: Parsing the host name
2016-10-06 15:50:33: Checking for super user privileges
2016-10-06 15:50:33: User has super user privileges
Using configuration parameter file: ./crsconfig_params
Usage: srvctl []
    commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config
    objects: database|service|asm|diskgroup|listener|home|ons|eons
For detailed help on each command and object and its options use:
  srvctl -h or
  srvctl -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
ACFS-9200: Supported
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
You must kill crs processes or reboot the system to properly 
cleanup the processes started by Oracle clusterware
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node

[root@shdb install]# ./roothas.pl 
2016-10-06 15:51:24: Checking for super user privileges
2016-10-06 15:51:24: User has super user privileges
2016-10-06 15:51:24: Parsing the host name
Using configuration parameter file: ./crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node shdb successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting


shdb     2016/10/06 15:51:54     /u01/11.2.0/grid/cdata/shdb/backup_20161006_155154.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
[root@shdb install]# cd /etc/oracle/scls_scr/
[root@shdb scls_scr]# ll
total 4
drwxr-xr-x 4 root oinstall 4096 Oct  6 15:51 shdb

[root@shdb install]# su - grid
[grid@shdb ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        OFFLINE OFFLINE                                                   
ora.diskmon
      1        OFFLINE OFFLINE                                                   
[grid@shdb ~]$ 
[grid@shdb ~]$ 



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29108064/viewspace-2125869/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29108064/viewspace-2125869/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值