Home Database Mysql Tutorial Oracle 11gR2 安装RAC错误之--时钟不同步

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

Jun 07, 2016 pm 04:50 PM

系统环境: 操作系统:RedHat EL5 Cluster: Oracle GI(Grid Infrastructure) Oracle: Oracle 11.2.0.1.0 如图所示:RAC 系统架

系统环境:

操作系统:RedHat EL5

Cluster: Oracle GI(Grid Infrastructure)

Oracle:  Oracle 11.2.0.1.0

如图所示:RAC 系统架构

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

对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构

--------------------------------------------------------------------------------

 

Linux-6-64下安装Oracle 12C笔记

 

在CentOS 6.4下安装Oracle 11gR2(x64)

 

Oracle 11gR2 在VMWare虚拟机中安装步骤

 

Debian 下 安装 Oracle 11g XE R2

 

--------------------------------------------------------------------------------

错误现象:

在node2执行root.sh脚本时报错:

 

[root@xun2 install]# /u01/11.2.0/grid/root.sh

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)

[n]: y

  Copying dbhome to /usr/local/bin ...

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

[n]: y

  Copying oraenv to /usr/local/bin ...

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

[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 stack

查看日志:

[root@xun2 ctssd]# more  octssd.log

Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. A

ll rights reserved.

2014-07-05 01:36:39.677: [    CTSS][3046594240]Oracle Database CTSS Release 11.2.0.1.0 Product

ion Copyright 2006, 2007 Oracle.  All rights reserved.

2014-07-05 01:36:39.677: [    CTSS][3046594240]ctss_scls_init: SCLs Context is 0x88205f0

2014-07-05 01:36:39.685: [    CTSS][3046594240]ctss_css_init: CSS Context is 0x8820698

2014-07-05 01:36:39.686: [    CTSS][3046594240]ctss_clsc_init: CLSC Context is 0x8820fd8

2014-07-05 01:36:39.686: [    CTSS][3046594240]ctss_init: CTSS production mode

2014-07-05 01:36:39.686: [    CTSS][3046594240]ctss_init: CTSS_REBOOT=TRUE. Overriding 'reboot

' argument as if 'octssd reboot' is executed. Turn on start up step sync.

2014-07-05 01:36:39.695: [    CTSS][3046594240]sclsctss_gvss2: NTP default pid file not found

2014-07-05 01:36:39.695: [    CTSS][3046594240]sclsctss_gvss8: Return [0] and NTP status [1].

2014-07-05 01:36:39.695: [    CTSS][3046594240]ctss_check_vendor_sw: Vendor time sync software

 is not detected. status [1].

2014-07-05 01:36:39.695: [    CTSS][3046594240]ctsscomm_init: The Socket name is [(ADDRESS=(PR

OTOCOL=tcp)(HOST=xun2))]

2014-07-05 01:36:39.772: [    CTSS][3046594240]ctsscomm_init: Successful completion.

2014-07-05 01:36:39.772: [    CTSS][3046594240]ctsscomm_init: PORT = 31165

2014-07-05 01:36:39.772: [    CTSS][3020295056]CTSS connection handler started

[    CTSS][3009805200]clsctsselect_mm: Master Monitor thread started

[    CTSS][2999315344]ctsselect_msm: Slave Monitor thread started

2014-07-05 01:36:39.772: [    CTSS][2988825488]ctsselect_mmg: The local nodenum is 2

2014-07-05 01:36:39.776: [    CTSS][2988825488]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-05 01:36:39.779: [    CTSS][2988825488]ctsselect_mmg4: Successfully registered with [C

TSSMASTER]

2014-07-05 01:36:39.779: [    CTSS][2988825488]ctsselect_mmg6: Receive reconfig event. Inc num

[2] New master [2] members count[1]

2014-07-05 01:36:39.780: [    CTSS][2988825488]ctsselect_mmg8: Host [xun1] Node num [1] is the

 master

2014-07-05 01:36:39.781: [    CTSS][2988825488]ctsselect_sm2: Node [1] is the CTSS master

2014-07-05 01:36:39.782: [    CTSS][2988825488]ctssslave_meh1: Master private node name [xun1]

2014-07-05 01:36:39.782: [    CTSS][2988825488]ctssslave_msh: Connect String is (ADDRESS=(PROT

OCOL=tcp)(HOST=xun1)(PORT=53367))

[  clsdmt][2978335632]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=xun2DBG_CTSSD))

2014-07-05 01:36:39.783: [  clsdmt][2978335632]PID for the Process [24020], connkey 11

2014-07-05 01:36:39.783: [    CTSS][2988825488]ctssslave_msh: Forming connection with CTSS mas

ter node [1]

2014-07-05 01:36:39.784: [  clsdmt][2978335632]Creating PID [24020] file for home /u01/11.2.0/

grid host xun2 bin ctss to /u01/11.2.0/grid/ctss/init/

2014-07-05 01:36:39.786: [  clsdmt][2978335632]Writing PID [24020] to the file [/u01/11.2.0/gr

id/ctss/init/xun2.pid]

2014-07-05 01:36:39.786: [    CTSS][2988825488]ctssslave_msh: Successfully connected to master

 [1]

2014-07-05 01:36:39.827: [    CTSS][2988825488]ctssslave_swm: The magnitude [228530967053 usec

] of the offset [-228530967053 usec] is larger than [86400000000 usec] sec which is the CTSS l

imit.

2014-07-05 01:36:39.827: [    CTSS][2988825488]ctsselect_mmg9_3: Failed in clsctsselect_select

_mode [12]: Time offset is too much to be corrected

2014-07-05 01:36:40.582: [    CTSS][2978335632]ctss_checkcb: clsdm requested check alive. Retu

rns [40000050]

2014-07-05 01:36:40.582: [    CTSS][2988825488]ctsselect_mmg: CTSS daemon exiting [12].

2014-07-05 01:36:40.582: [    CTSS][2988825488]CTSS daemon aborting

查看两个节点的时钟:

[root@xun2 ctssd]# date

Sat Jul  5 02:06:09 CST 2014

[root@xun2 ctssd]# date 0707173614

Mon Jul  7 17:36:00 CST 2014

两个节点时间相差很远,,导致CRS时间同步失败!

更多详情见请继续阅读下一页的精彩内容:

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1268
29
C# Tutorial
1247
24
MySQL: Simple Concepts for Easy Learning MySQL: Simple Concepts for Easy Learning Apr 10, 2025 am 09:29 AM

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

MySQL's Role: Databases in Web Applications MySQL's Role: Databases in Web Applications Apr 17, 2025 am 12:23 AM

The main role of MySQL in web applications is to store and manage data. 1.MySQL efficiently processes user information, product catalogs, transaction records and other data. 2. Through SQL query, developers can extract information from the database to generate dynamic content. 3.MySQL works based on the client-server model to ensure acceptable query speed.

Explain the role of InnoDB redo logs and undo logs. Explain the role of InnoDB redo logs and undo logs. Apr 15, 2025 am 12:16 AM

InnoDB uses redologs and undologs to ensure data consistency and reliability. 1.redologs record data page modification to ensure crash recovery and transaction persistence. 2.undologs records the original data value and supports transaction rollback and MVCC.

MySQL: An Introduction to the World's Most Popular Database MySQL: An Introduction to the World's Most Popular Database Apr 12, 2025 am 12:18 AM

MySQL is an open source relational database management system, mainly used to store and retrieve data quickly and reliably. Its working principle includes client requests, query resolution, execution of queries and return results. Examples of usage include creating tables, inserting and querying data, and advanced features such as JOIN operations. Common errors involve SQL syntax, data types, and permissions, and optimization suggestions include the use of indexes, optimized queries, and partitioning of tables.

MySQL's Place: Databases and Programming MySQL's Place: Databases and Programming Apr 13, 2025 am 12:18 AM

MySQL's position in databases and programming is very important. It is an open source relational database management system that is widely used in various application scenarios. 1) MySQL provides efficient data storage, organization and retrieval functions, supporting Web, mobile and enterprise-level systems. 2) It uses a client-server architecture, supports multiple storage engines and index optimization. 3) Basic usages include creating tables and inserting data, and advanced usages involve multi-table JOINs and complex queries. 4) Frequently asked questions such as SQL syntax errors and performance issues can be debugged through the EXPLAIN command and slow query log. 5) Performance optimization methods include rational use of indexes, optimized query and use of caches. Best practices include using transactions and PreparedStatemen

Why Use MySQL? Benefits and Advantages Why Use MySQL? Benefits and Advantages Apr 12, 2025 am 12:17 AM

MySQL is chosen for its performance, reliability, ease of use, and community support. 1.MySQL provides efficient data storage and retrieval functions, supporting multiple data types and advanced query operations. 2. Adopt client-server architecture and multiple storage engines to support transaction and query optimization. 3. Easy to use, supports a variety of operating systems and programming languages. 4. Have strong community support and provide rich resources and solutions.

MySQL vs. Other Programming Languages: A Comparison MySQL vs. Other Programming Languages: A Comparison Apr 19, 2025 am 12:22 AM

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages ​​such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages ​​have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

How does MySQL index cardinality affect query performance? How does MySQL index cardinality affect query performance? Apr 14, 2025 am 12:18 AM

MySQL index cardinality has a significant impact on query performance: 1. High cardinality index can more effectively narrow the data range and improve query efficiency; 2. Low cardinality index may lead to full table scanning and reduce query performance; 3. In joint index, high cardinality sequences should be placed in front to optimize query.

See all articles