OCP Blog
Super DBA
Oracle Database not started via srvctl with error CRS-2674, ORA-01034 if you installed Grid infrastructure with different user
by Vazha Mantua Monday, November 28, 2011 3:59 PM

if you try start database(version 11R2) with srvctl you should got error:

 

We got this case, when we created database with Database scripts in postDBCreation.sql

 

PRCR-1079 : Failed to start resource ora.test.db

CRS-5011: Check of resource "TEST" failed: details at "(:CLSN00007:)" in "/u0/app/grid/product/11.2.0/log/testmachine/agent/ohasd/oraagent_grid/oraagent_grid.log"

CRS-2674: Start of 'ora.test.db' on 'testmachine' failed

ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist

Linux-x86_64 Error: 2: No such file or directory

Process ID: 0

Session ID: 0 Serial number: 0

 

Cause of this error is that grid agent is running with difference user. During the instance startup using srvctl, agent tries to modify the files under $ORACLE_HOME/dbs and $ORACLE_HOME/srvm/admin,

But Unfortunately Grid user doesn't have write permissions to these directories, startup could fail.

Workaround:

You can add permission to write on directories for Grid user with commands:

chmod 775 /u0/app/oracle/product/11.2.0/dbs

chmod 775 /u0/app/oracle/product/11.2.0/srvm/admin

Tags: , , ,

Comments (5) -

6/6/2012 7:02:32 AM #

Iraqi Dinar

We got this case, when we created database with Database scripts in postDBCreation.sql

Iraqi Dinar United Kingdom

6/20/2012 2:34:53 PM #

Diminished Value

cause of this error is that grid agent is running with difference user. during the instance startup using srvctl, agent tries to modify the files under $oracle_home/dbs and $oracle_home/srvm/admin,

Diminished Value United Kingdom

6/22/2012 12:52:00 AM #

Challenge Coins

Sup administrative Generally i wish to thank you so much lots usually not for this particular posting eliminating additionally when it comes to this all former content.

Challenge Coins United States

6/24/2012 9:13:22 AM #

Nursing Home

This is really nice and well explained post kindly upload more as you did right now.Thanks

Nursing Home United States

6/27/2012 2:10:59 AM #

apartment software

Really nice post i hope every one will like this post because it very easy to under stand.

apartment software United States

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Filter by APML

Calendar

<<  November 2017  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

TextBox