RedHat Linux AS3 双机RAC, ocfs,oracle9i, 错 , 求解!!!
RedHat Linux AS3 安装 ocfs RAC
安装完oracle9204后,打好补丁,节点2启gsdctl服务的时候出现下面的错误
$gsdctl start
CMCLI ERROR: OpenCommPort: connect failed with error 2.
CMCLI ERROR: OpenCommPort: connect failed with error 2.
CMCLI ERROR: OpenCommPort: connect failed with error 2.
PRKC-1021 : $v-X(n
Failed to get list of active nodes from clusterware
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
在节点1上的shared目录中是有RacQuorumDisk共享文件的
但是不为什么不能修改它的权限和用户组???
[root@webserver /]# ls -al /shared
总用量 66565
drwxrwxr-x 1 root root 131072 11月 30 10:03 .
drwxr-xr-x 23 root root 4096 11月 30 10:03 ..
-rw-r--r-- 1 root root 1048576 11月 29 17:26 RacQuorumDisk
[root@webserver /]# chmod 777 /shared
chmod: 正在更改 ‘/shared’ 的权限: 不允许的操作
[root@webserver /]# chown oracle.dba /shared
chown: 正在更改 ‘/shared’ 的所有者: 不允许的操作
这么快就沉没了...
沉船拉
兄弟这个东西偶是一点偶不明白,帮你顶吧!
你的这个帖子去oracle估计比较有市场
我在做双机的RAC,用ocfs,现在节点2启动ocm的时候没有进程,执行#gsdctl start 有错误CMCLI ERROR: OpenCommPort: connect failed with error 2.
而这个错误的原因是我查到
The operating system dependent clusterware cannot be contacted. This can occur because the operating system dependent clusterware was not functioning properly
Action: Check the state of the operating system dependent clusterware using 'lsnodes' and following vendor documentation
在节点1上执行# lsnodes 正常,
在节点2上执行[root@hpserver bin]# lsnodes
lsnodes: error while loading shared libraries: libcmdll.so: cannot open shared object file: No such file or directory
是不是节点1在安装ocm以及oracle的时候有库文件没有rcp过来啊???
节点2的ocm
[root@hpserver bin]# ps -ef |grep oracm
root 2090 1963 0 10:05 pts/0 00:00:00 grep oracm
节点1的ocm
[root@webserver bin]# ps -ef |grep oracm
root 4218 1 0 10:06 pts/0 00:00:00 oracm
root 4220 4218 0 10:06 pts/0 00:00:00 oracm
root 4221 4220 0 10:06 pts/0 00:00:00 oracm
root 4222 4220 0 10:06 pts/0 00:00:00 oracm
root 4223 4220 0 10:06 pts/0 00:00:00 oracm
root 4225 4220 0 10:06 pts/0 00:00:00 oracm
root 4226 4220 0 10:06 pts/0 00:00:00 oracm
root 4227 4220 0 10:06 pts/0 00:00:00 oracm
root 4228 4220 0 10:06 pts/0 00:00:00 oracm
root 4230 4178 0 10:06 pts/0 00:00:00 grep oracm
-------------------------------
节点1的#gsdctl start
[root@webserver bin]# gsdctl start
Successfully started GSD on local node
节点2的#gsdctl start
[root@hpserver bin]# gsdctl start
CMCLI ERROR: OpenCommPort: connect failed with error 2.
CMCLI ERROR: OpenCommPort: connect failed with error 2.
CMCLI ERROR: OpenCommPort: connect failed with error 2.
PRKC-1021 : $v-X(n
Failed to get list of active nodes from clusterware
----------------------------
节点1 # lsnodes
[oracle@webserver oracle]$ lsnodes
rac1prv
rac2prv
节点2 # lsnodes
[oracle@hpserver oracle]$ lsnodes
CMCLI ERROR: OpenCommPort: connect failed with error 2.
lsnodes: struct size 0
struct
a data type in c and c++ corresponding to a record in ada or pascal or a tuple in functional programming. a struct has one or more members, each of which may have different types. it is used to group associated data together.
--------------------------------------------------------------------------------
CMCLI ERROR: OpenCommPort: connect failed with error 2
????
连接失败!! 是不是于节点1共享连接失败?
OpenCommPort: 端口???