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: , , ,

Filter by APML

Calendar

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

View posts in large calendar

TextBox