Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • age_alert.ksh aging out alert.log Linux/Unix
  • restarting network in linux Linux/Unix
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Sending email with file attachment. Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • Find_table_size.sql Oracle
  • ext#.sql Oracle
  • Pending Distributed Transations Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Clean up Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Export Oracle data and Compress at same time Oracle
  • Changing the Global Database Name Oracle
  • useful dg links Oracle
  • get_vmstat_linux Oracle

10g RAC: Troubleshooting CRS Root.sh Problems

Posted on 04-Jan-2009 By Admin No Comments on 10g RAC: Troubleshooting CRS Root.sh Problems

0g RAC: Troubleshooting CRS Root.sh Problems

Doc ID: 240001.1 Type: TROUBLESHOOTING

Modified Date : 19-MAR-2008 Status: PUBLISHED

Symptom(s)

~~~~~~~~~~

The CRS stack does not come up while running root.sh after installing CRS

(Cluster Ready Services):

You may see the startup timing out or failing. Example:

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: opcbhp1 int-opcbhp3 opcbhp1

node 2: opcbhp2 int-opcbhp4 opcbhp2

Creating OCR keys for user ‘root’, privgrp ‘sys’..

Operation successful.

Now formatting voting device: /dev/usupport_vg/rV10B_vote.dbf

Successful in setting block0 for voting disk.

Format complete.

Adding daemons to inittab

Preparing Oracle Cluster Ready Services (CRS):

Expecting the CRS daemons to be up within 600 seconds.

Failure at final check of Oracle CRS stack.

Or you may see one of the daemons core dump:

Expecting the CRS daemons to be up within 600 seconds.

4714 Abort – core dumped

Or you may get another error.

Change(s)

~~~~~~~~~~

Installing CRS (Cluster Ready Services)

Cause

~~~~~~~

Usually a problem in the configuration.

Fix

~~~~

1. Check and make sure you have public and private node names defined and that

these node names are pingable from each node of the cluster.

2. Verify that the OCR file and Voting file are readable and writable by the

Oracle user and the root user. The permissions that CRS uses for these files

are:

Pre Install:

OCR – root:oinstall – 640

Voting – oracle:oinstall – 660

Post Install:

OCR – root:oinstall – 640

Voting – oracle:oinstall – 644

In RHAS 4.0, permissions should be added to /etc/rc.d/rc.local. See

Note 293819.1 for more information.

3. Unless you are upgrading your OCR from a previous verison, make sure that

the OCR file and voting files have been cleared prior to running root.sh.

Example:

dd if=/dev/zero of=/dev/traindata_dg/ocrV1064_100m.dbf bs=8192 count=12800

dd if=/dev/zero of=/dev/traindata_dg/V1064_vote_01_20m.dbf bs=8192 count=2560

4. Verify that the Oracle user has permissions on /var/tmp (specifically

/var/tmp/.oracle)

5. Is pam being used? Look for pam_unix messages in the messages file. The

pam configuration might need to be altered to allow the root.sh to complete.

6. Verify that the correct vendor clusterware version is being used (if vendor

clusterware is being used). If on Sun, make sure you are using the latest UDLM.

If on Sun, make sure the udlm has the keyword “reentrant”. Example:

> more /var/sadm/pkg/ORCLudlm/pkginfo | grep VERSION

VERSION=Dev Release 10/29/03, 64bit 3.3.4.7 reentrant

7. Veirfy that crs, css, or evm is not already running ( ps -ef | grep d.bin )

8. If you are not hitting any of these issues, run root.sh again with a

debugging flag. Example:

sh -x root.sh

This time you should be able to see more information about what root.sh is

doing prior to the failure. Example:

Adding daemons to inittab

+ /usr/bin/cp /etc/inittab.crs /etc/inittab

+ /sbin/init.d/init.crs start

Preparing Oracle Cluster Ready Services (CRS):

+ /sbin/init q

+ /u01/64bit/app/oracle/product/crs/bin/crsctl check install -wait 600

Expecting the CRS daemons to be up within 600 seconds.

+ /usr/bin/echo Failure at final check of Oracle CRS stack.

Failure at final check of Oracle CRS stack.

+ /usr/bin/echo 0

You should also review the files collected from RAC-DDT ( Note 301138.1 ).

Specifically the OCR dump, CRS logs, CSS logs, messages file, etc… Also

check for /tmp/crsctl. files for messages written during CRS startup.

If a core files was written it would be useful to obtain a stack trace of the

core file using Note 1812.1 “TECH Getting a Stack Trace from a CORE file”.

Oracle, RAC

Post navigation

Previous Post: Configure ssh authentications for RAC
Next Post: How to start CRS manually

Related Posts

  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • PLSQL Table Syntax 1 Oracle
  • Identical Dblink Issue… Oracle
  • Library cahe Latches and internal explaination Oracle
  • plan10g.sql good1 Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Sending email with file attachment. Linux/Unix
  • Clean up Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Find long Running Transaction Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Giving Grant on v$DATABASE Oracle
  • longtx.sql Oracle
  • rm_backup_arch_file.ksh Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme