- 28
- 0
- 约1.16万字
- 约 9页
- 2017-06-13 发布于湖北
- 举报
广州远佳信息科技有限公司
Oracle 数据库教程
—— oracle11g asm 单实例重建has
最近到客户那里处理故障,客户说,他们修改了一下hostname,导到has 出现了问题,当然,他们的数据
库也就无法再启动,把处理过程记录下来,供大家参考!
在有些时候,我们修改了hostname,以及其它一些配置后,导至has、crs 均无法启动,这时候,我们就
需要对has、crs 进行重建,其具体步骤如下。
1、首先修改hostname
[root@mydb ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
testdb localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
50 testdb
[root@mydb ~]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=testdb
[root@mydb network-scripts]# reboot
Broadcast message from root (pts/0) (Fri Dec 13 08:57:58 2013):
The system is going down for reboot NOW!
2、修改hostname 后,重启出现问题
[root@testdb bin]# ./crsctl start has
CLSU-00100: Operating System function: opendir failed with error data: 2
CLSU-00101: Operating System error message: No such file or directory
CLSU-00103: error location: scrsearch1
CLSU-00104: additional error information: cant open scr home dir scls_scr_getval
CRS-4000: Command Start failed, or completed with errors.
可以看到,has 无法启动,在这种情况下,我们必须重新配置has\crs
3、配置has,修复上面的问题存在
广州远佳信息科技有限公司
--首先,对has 进行删除,然后再进行配置
[root@testdb bin]# cd /u01/app/grid/product/11.2.0/crs/crs/install
[root@testdb install]# ls *has.pl
roothas.pl
[root@testdb install]# ./roothas.pl -deconfig -force -verbose
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.
CLSU-00100: Operating System function: opendir failed with error data: 2
CLSU-00101: Operating System error message: No such file or directory
CLSU-00103: error location: scrsearch1
CLSU-00104: additional error in
原创力文档

文档评论(0)