My Oracle Support Banner

[OCI]: "dbcli create-autoLogCleanPolicy" Schedule Fails With Error "Can't get log file space usage for component database" (Doc ID 2831543.1)

Last updated on JANUARY 23, 2022

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Scheduled log cleanup job using "dbcli create-autoLogCleanPolicy ", but the scheduled executions failed as below:
========================
# /opt/oracle/dcs/bin/dbcli list-scheduledExecutions --scheduleid 58b14080-637b-49ed-bbd8-580aa440da4a

ID ScheduledId JobId Status Executed Time
-------------------------------------- -------------------------------------- -------------------------------------- --------- -------------------------------
8688dd43-8765-4d81-a48e-05d6b1796d17 58b14080-637b-49ed-bbd8-580aa440da4a Failed November 30, 2021 4:00:00 AM JST
03ca0f05-b80c-4ca4-9a82-c98a54f0da9c 58b14080-637b-49ed-bbd8-580aa440da4a Failed December 1, 2021 4:00:00 AM JST
3fb3ab14-ed0e-47cb-9f4a-3b89bf6d0e7d 58b14080-637b-49ed-bbd8-580aa440da4a Failed December 2, 2021 4:00:00 AM JST
61af4ca3-d421-4719-b8b2-03f73f5c3a1f 58b14080-637b-49ed-bbd8-580aa440da4a Failed December 3, 2021 4:00:00 AM JST
b1ee9cc5-4861-4e3d-8c57-5c333b3a8991 58b14080-637b-49ed-bbd8-580aa440da4a Failed December 7, 2021 4:00:00 AM JST
========================

Following is the error shown in dcs agent log:
=============
[2021-12-08 04:00:05,680] WARNING [DefaultQuartzScheduler_Worker-4] com.oracle.dcs.agent.schedule.DcsJobMonitor: Exception thrown by: maintenance.Log files Cleanup Exception: Can't get log file space usage for component database
=============

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


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