[OCI] DCS-10001:Internal error encountered: Unable to get mount status as srvctl command
(Doc ID 2523639.1)
Last updated on OCTOBER 12, 2019
Applies to:
Oracle Cloud Infrastructure - Database Service - Version N/A and laterInformation in this document applies to any platform.
Symptoms
In OCI Environment, Automated RMAN backups are failing as below:
[root@hostname~]# dbcli describe-job -i <JOB_ID>
Job details
----------------------------------------------------------------
ID: <JOB_ID>
Description: Create Longterm Backup with TAG-DBTLongterm1552260735765sRI for Db:<dbname> in OSS:<oss>
Status: Failure
Created: March 11, 2019 8:33:34 AM JST
Message: DCS-10001:Internal error encountered: Unable to get mount status as srvctl command: [<oracle_home>/bin/srvctl, status, database, -d, dbname, -v] failed to run..
Task Name Start Time End Time Status
---------------------------------------- ----------------------------------- ----------------------------------- ----------
task:TaskZLockWrapper_5416 March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:51 AM JST Failure
task:TaskSequential_5417 March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:51 AM JST Failure
Validate backup config March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:36 AM JST Success
Database container validation March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:38 AM JST Success
libopc existence check March 11, 2019 8:33:38 AM JST March 11, 2019 8:33:38 AM JST Success
Backup Validations March 11, 2019 8:33:38 AM JST March 11, 2019 8:33:51 AM JST Failure
Job details
----------------------------------------------------------------
ID: <JOB_ID>
Description: Create Longterm Backup with TAG-DBTLongterm1552260735765sRI for Db:<dbname> in OSS:<oss>
Status: Failure
Created: March 11, 2019 8:33:34 AM JST
Message: DCS-10001:Internal error encountered: Unable to get mount status as srvctl command: [<oracle_home>/bin/srvctl, status, database, -d, dbname, -v] failed to run..
Task Name Start Time End Time Status
---------------------------------------- ----------------------------------- ----------------------------------- ----------
task:TaskZLockWrapper_5416 March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:51 AM JST Failure
task:TaskSequential_5417 March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:51 AM JST Failure
Validate backup config March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:36 AM JST Success
Database container validation March 11, 2019 8:33:36 AM JST March 11, 2019 8:33:38 AM JST Success
libopc existence check March 11, 2019 8:33:38 AM JST March 11, 2019 8:33:38 AM JST Success
Backup Validations March 11, 2019 8:33:38 AM JST March 11, 2019 8:33:51 AM JST Failure
dcs agent log shown:
2019-03-10 19:21:44,368DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.a.r.s.d.DbUtils:database home location for the database: <dbname> is
/<oracle_home>
2019-03-10 19:21:44,368DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.CommonsUtils:
run: cmd= '[/<oracle_home>/bin/srvctl,
status,
database,
-d,
<dbname>,
-v]'
2019-03-10 19:21:44,428DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.c.CommandExecutor:Return code: 1
2019-03-10 19:21:44,428ERROR[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.CommonsUtils:shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
2019-03-10 19:21:44,428DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.CommonsUtils:Output :
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1166)
/<oracle_home>
2019-03-10 19:21:44,368DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.CommonsUtils:
run: cmd= '[/<oracle_home>/bin/srvctl,
status,
database,
-d,
<dbname>,
-v]'
2019-03-10 19:21:44,428DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.c.CommandExecutor:Return code: 1
2019-03-10 19:21:44,428ERROR[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.CommonsUtils:shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
2019-03-10 19:21:44,428DEBUG[Backup Validations : JobId=<JOB_ID>][]c.o.d.c.u.CommonsUtils:Output :
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1166)
Changes
/tmp has been removed.
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 |
Changes |
Cause |
Solution |