My Oracle Support Banner

'Startup Mount' Error When Performing A Grid Control Data Guard Switchover With Sudo/runas (Doc ID 1473848.1)

Last updated on FEBRUARY 05, 2020

Applies to:

Enterprise Manager for Oracle Database - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.

Symptoms

The 'Host and Cluster Preferred Credentials' are set for the sudo/"Run as" in Grid Control. Creating a grid control job that runs an OS script and performing a manual Dataguard switchover using sudo works successfully. However, when performing a Data Guard switchover using sudo in Grid Control results to the following error:

Error: startup mount

SQL*Plus: Release 11.2.0.3.0 Production on Tue May 29 12:00:56 2012

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

SQL> SQL> Connected to an idle instance.
SQL> SQL> ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/<DB_SID>/spfile<DB_SID>.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/<DB_SID>/spfile<DB_SID>.ora
ORA-27300: OS system dependent operation:open failed with status: 13
ORA-27301: OS failure message: Permission denied
ORA-27302: failure occurred at: sskgmsmr_7
Disconnected
cannot stat initial working directory for <EMHOME>/sysman/emd: Permission denied at /<AGENT_HOME>/perl/lib/5.10.0/File/Temp.pm line 893

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.