CSS的十八般技巧

系统环境
主机:Window2003R2 SP2 VMWare3.1 GSX Server装了两台Redhat Linux AS3 U4
每台机器512M内存
其上装了Oracle9.2.0.4 for linux 32
 
 
问题现象:
两台机器都启动正常,oracm及gsd都启动正常
第一台启动gsd服务的机器srvctl config显示正常
但第二台启动gsd服务的机器运行srvctl时出错
出错提示如下:
[oracle@linux-yzs2 bin]$ srvctl config
PRKC-1020 : Exception while executing the operation on the remote node linux-yzs2
 
[oracle@linux-yzs2 bin]$  srvctl start database -d rac
PRKR-1007 : getting of cluster database rac configuration failed,
PRKC-1020 : Exception while executing the operation on the remote node linux-yzs2
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: rac
问题原因:
/etc/hosts文件中的127.0.0.1多配置一下机器名,hosts 内容如下:
[root@linux-yzs2 bin]# cat /etc/hosts
 
127.0.0.1       linux-yzs2      localhost.localdomain   localhost
 
192.168.0.26    linux-yzs1
192.168.0.27    linux-yzs2
192.168.1.6     linux-yzs-prv1
192.168.1.7     linux-yzs-prv2
解决方法:
将127.0.0.1 的机器名去了
改成如下
[root@linux-yzs2 bin]# cat /etc/hosts
 
127.0.0.1       localhost.localdomain   localhost
 
192.168.0.26    linux-yzs1
192.168.0.27    linux-yzs2
192.168.1.6     linux-yzs-prv1
192.168.1.7     linux-yzs-prv2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值