我在安装好了一套RACDB后,启动数据库:
#su - oracle
$cd $ORACLE_HOME/oracm/bin
$su root
#./ocmstart.sh
#exit
$gsdctl start
$启动数据库,没有问题
但在安装了第二个RACDB后
#su - oracle1
$cd ORACLE_HOME/oracm/bin
$su root
#./ocmstart.sh
命令行不报错,但日志报错,而且我在用 oracle1用户在创建数据库时,找不到集群环境。oracle用户的oracm日志正常,也不错数据,数据库也能正常启动。但oracle1用户的oracm启动不错报,日志信息如下:
OemNodeConfig(): Network Address of node1: 192.168.2.2 (port 9998)
{Thu Dec 29 12:47:01 2005 }^M
>ERROR: InitClusterDb(): couldn't figure out my nodeId, tid = main:-1220000672 file = nmconfig.c, line = 278 {Thu Dec 29 12:47:01 2005 }^M
--- DUMP GROUP STATE DB ---^M
--- END OF GROUP STATE DUMP --- ^M
--- Begin Dump ---^M
>TRACE: LogListener: Spawned with tid 0xb659fbb0., tid = -1235616848 file = logging.c, line = 116 {Thu Dec 29 12:47:01 2005 }^M
oracm, version[ 9.2.0.2.0.47 ] started {Thu Dec 29 12:47:01 2005 }^M
>TRACE: Can't read registry value for PollInterval, tid = main:-1220000672 file = unixinc.c, line = 1011 {Thu Dec 29 12:47:01 2005 }^M
>TRACE: Can't read registry value for WatchdogTimerMargin, tid = main:-1220000672 file = unixinc.c, line = 1011 {Thu Dec 29 12:47:01 2005 }^M
>TRACE: Can't read registry value for WatchdogSafetyMargin, tid = main:-1220000672 file = unixinc.c, line = 1011 {Thu Dec 29 12:47:01 2005 }^M
KernelModuleName is hangcheck-timer {Thu Dec 29 12:47:01 2005 }^M
>TRACE: Can't read registry value for ClientTimeout, tid = main:-1220000672 file = unixinc.c, line = 1011 {Thu Dec 29 12:47:01 2005 }^M
>TRACE: InitNMInfo: setting clientTimeout to 20s based on MissCount 20 and PollInterval 1000ms, tid = main:-1220000672 file = nmconfig.c, line = 137 {Thu Dec 29 12:47:01 2005 }^M
>TRACE: InitClusterDb(): getservbyname on CMSrvr failed - 0 : assigning 9998, tid = main:-1220000672 file = nmconfig.c, line = 212 {Thu Dec 29 12:47:01 2005 }^M
OemNodeConfig(): Network Address of node0: 192.168.2.1 (port 9998)
{Thu Dec 29 12:47:01 2005 }^M
>WARNING: OemCreateListenPort(): Network Address to bind: 0.0.0.0 (port 0)
, tid = main:-1220000672 file = oem.c, line = 875 {Thu Dec 29 12:47:01 2005 }^M
>ERROR: OemCreateListenPort(): can't bind socket - the address is already used by someone else.
, tid = main:-1220000672 file = oem.c, line = 879 {Thu Dec 29 12:47:01 2005 }^M
>ERROR: OemCreateListenPort(): can't bind socket - errno=98 for Node (-1): (null), tid = main:-1220000672 file = oem.c, line = 885 {Thu Dec 29 12:47:01 2005 }^M
>TRACE: InitClusterDb(): problem with creating a listen socket, err(98), tid = main:-1220000672 file = nmconfig.c, line = 261 {Thu Dec 29 12:47:01 2005 }^M
OemNodeConfig(): Network Address of node1: 192.168.2.2 (port 9998)
{Thu Dec 29 12:47:01 2005 }^M
>ERROR: InitClusterDb(): couldn't figure out my nodeId, tid = main:-1220000672 file = nmconfig.c, line = 278 {Thu Dec 29 12:47:01 2005 }^M
>TRACE: IncrementEventValue: *(80f2920) = (1, 1), tid = main:-1220000672 file = unixinc.c, line = 253 {Thu Dec 29 12:47:01 2005 }^M
--- End Dump ---^M