Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recovery Area is not enabled. #87

Open
filmphotograph opened this issue Feb 18, 2024 · 2 comments
Open

Recovery Area is not enabled. #87

filmphotograph opened this issue Feb 18, 2024 · 2 comments
Assignees
Labels
question Further information is requested sidb Single Instance Database

Comments

@filmphotograph
Copy link

filmphotograph commented Feb 18, 2024

SQL> alter database flashback on;
alter database flashback on
*
ERROR at line 1:
ORA-38706: Cannot turn on FLASHBACK DATABASE logging.
ORA-38709: Recovery Area is not enabled.

setting DB_RECOVERY_FILE_DEST to directory - leading to broken parameters and database did not start:

SQL> alter database mount;
alter database mount
*
ERROR at line 1:
ORA-01078: failure in processing system parameters
ORA-00600: internal error code, arguments: [ksfd_odmchkpathattr], [ORA-00001:
unique constraint (.) violated], [], [], [], [], [], [], [], [], [], []
ORA-17503: ksfdopn:13 Failed to open file
/opt/oracle/oradata/fast_recovery_area
ORA-17500: ODM err:Operation not permitted

kubectl -n oracle patch singleinstancedatabase sidb-sample --type merge -p '{"spec":{"flashBack": true}}'
singleinstancedatabase.database.oracle.com/sidb-sample patched (no change)

kubectl -n oracle get singleinstancedatabase sidb-sample -o "jsonpath=[{.status.archiveLog}, {.status.flashBack}, {.status.forceLog}]"
[true, false, true]root@master:~/deployments/oracle#

@IshaanDesai45
Copy link
Member

Hi @filmphotograph so you are trying to switch on the flasback is not working via the kubectl patch command. I would recommend you give a try with the new Oraoperator release 1.1.0

@IshaanDesai45
Copy link
Member

@filmphotograph does the problem still persists in v1.1.0 ?

@IshaanDesai45 IshaanDesai45 reopened this Jun 24, 2024
@IshaanDesai45 IshaanDesai45 added question Further information is requested sidb Single Instance Database labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested sidb Single Instance Database
Projects
None yet
Development

No branches or pull requests

2 participants