您的位置:首页 > 数据库 > Oracle

Oracle 11gR2 安装RAC错误之--时钟不同步

2015-03-31 12:04 441 查看
Oracle 11gR2 安装RAC错误之--时钟不同步系统环境:
操作系统:RedHat EL5Cluster: Oracle GI(Grid Infrastructure)Oracle:  Oracle 11.2.0.1.0如图所示:RAC 系统架构


  对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构
错误现象:
在node2执行root.sh脚本时报错:
[root@xun2 install]# /u01/11.2.0/grid/root.sh
[code=jfx;toolbar:false">Running Oracle 11g root.sh script...
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 

: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

: y
   Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2014-07-05 02:00:09: Parsing the host name
2014-07-05 02:00:09: Checking for super user privileges
2014-07-05 02:00:09: User has super user privileges
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node xun1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'xun2'
CRS-2676: Start of 'ora.mdnsd' on 'xun2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'xun2'
CRS-2676: Start of 'ora.gipcd' on 'xun2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'xun2'
CRS-2676: Start of 'ora.gpnpd' on 'xun2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'xun2'
CRS-2676: Start of 'ora.cssdmonitor' on 'xun2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'xun2'
CRS-2672: Attempting to start 'ora.diskmon' on 'xun2'
CRS-2676: Start of 'ora.diskmon' on 'xun2' succeeded
CRS-2676: Start of 'ora.cssd' on 'xun2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'xun2'
CRS-2674: Start of 'ora.ctssd' on 'xun2' failed
CRS-4000: Command Start failed, or completed with errors.
Command return code of 1 (256) from command: /u01/11.2.0/grid/bin/crsctl start resource ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE
Start of resource "ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE" failed
Failed to start CTSS
Failed to start Oracle Clusterware stack2014-07-07 17:36:14: Parsing the host name
2014-07-07 17:36:14: Checking for super user privileges
2014-07-07 17:36:14: User has super user privileges
Using configuration parameter file: ./crsconfig_params
PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.eons is registered
Cannot communicate with crsd
ACFS-9200: Supported
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'xun2'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'xun2'
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'xun2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'xun2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'xun2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'xun2'
CRS-2677: Stop of 'ora.cssd' on 'xun2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'xun2'
CRS-2677: Stop of 'ora.gpnpd' on 'xun2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'xun2'
CRS-2677: Stop of 'ora.mdnsd' on 'xun2' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'xun2' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'xun2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'xun2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node2014-07-07 17:39:33.284: [    CTSS][3046536896]Oracle Database CTSS Release 11.2.0.1.0 Product
ion Copyright 2006, 2007 Oracle.  All rights reserved.
2014-07-07 17:39:33.284: [    CTSS][3046536896]ctss_scls_init: SCLs Context is 0x9393618
2014-07-07 17:39:33.291: [    CTSS][3046536896]ctss_css_init: CSS Context is 0x93936c0
2014-07-07 17:39:33.292: [    CTSS][3046536896]ctss_clsc_init: CLSC Context is 0x9394000
2014-07-07 17:39:33.292: [    CTSS][3046536896]ctss_init: CTSS production mode
2014-07-07 17:39:33.292: [    CTSS][3046536896]ctss_init: CTSS_REBOOT=TRUE. Overriding 'reboot
' argument as if 'octssd reboot' is executed. Turn on start up step sync.
2014-07-07 17:39:33.292: [    CTSS][3046536896]sclsctss_gvss2: NTP default pid file not found
2014-07-07 17:39:33.292: [    CTSS][3046536896]sclsctss_gvss8: Return [0] and NTP status [1].
2014-07-07 17:39:33.292: [    CTSS][3046536896]ctss_check_vendor_sw: Vendor time sync software
 is not detected. status [1].
2014-07-07 17:39:33.292: [    CTSS][3046536896]ctsscomm_init: The Socket name is [(ADDRESS=(PR
OTOCOL=tcp)(HOST=xun2))]
2014-07-07 17:39:33.327: [    CTSS][3046536896]ctsscomm_init: Successful completion.
2014-07-07 17:39:33.327: [    CTSS][3046536896]ctsscomm_init: PORT = 10000
2014-07-07 17:39:33.327: [    CTSS][3020237712]CTSS connection handler started
[    CTSS][3009747856]clsctsselect_mm: Master Monitor thread started
[    CTSS][2999258000]ctsselect_msm: Slave Monitor thread started
2014-07-07 17:39:33.327: [    CTSS][2988768144]ctsselect_mmg: The local nodenum is 2
2014-07-07 17:39:33.330: [    CTSS][2988768144]ctsselect_mmg2_5: Pub data for member [1]. {Ver
sion [1] Node [1] Priv node name [xun1] Port num [53367] SW version [186646784] Mode [0x40]}
2014-07-07 17:39:33.333: [    CTSS][2988768144]ctsselect_mmg4: Successfully registered with [C
TSSMASTER]
2014-07-07 17:39:33.333: [    CTSS][2988768144]ctsselect_mmg6: Receive reconfig event. Inc num
[12] New master [2] members count[1]
2014-07-07 17:39:33.334: [    CTSS][2988768144]ctsselect_mmg8: Host [xun1] Node num [1] is the
 master
2014-07-07 17:40:14.349: [    CTSS][2999258000]ctssslave_swm19: The offset is [160 usec] and s
ync interval set to [1]
2014-07-07 17:40:14.349: [    CTSS][2999258000]ctssslave_sync_with_master: Received from maste
r (mode [0x4c] nodenum [1] hostname [xun1] )
2014-07-07 17:40:14.349: [    CTSS][2999258000]ctsselect_msm: Sync interval returned in [1]
2014-07-07 17:40:22.351: [    CTSS][2999258000]ctsselect_msm: CTSS mode is [44]
2014-07-07 17:40:22.352: [    CTSS][2999258000]ctssslave_swm: Clock delay too small [31] usec 
to sync.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: