Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************I am authoring a Book on Oracle Database Cloud Services.......More details to follow.***************

Title : Oracle Database Cloud Revealed
Publisher : Apress
Release Date : Jan-2019

**********************************************************************************


Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]


My Cloud Certifications:

AWS Certified Solutions Architect Associate

Oracle Cloud Infrastructure 2018 Certified Architect Associate.

Oracle Cloud Infrastructure Classic 2018 Certified Architect Associate.

Oracle Database Cloud Administrator Certified Professional.

Oracle Database Cloud Service Operations Certified Associate.

Search This Blog

Tuesday, August 11, 2015

ORA-15028: ASM file not dropped; currently being accessed (DBD ERROR: OCIStmtExecute)


Issue:
ORA-15028: ASM file not dropped; currently being accessed (DBD ERROR: OCIStmtExecute)
 Trying to drop a asm file which is actively used by ORACLE Database.

ASMCMD> rm -rf users01.dbf
ORA-15032: not all alterations performed
ORA-15028: ASM file '+DATA2/ORCL/users01.dbf' not dropped; currently being accessed (DBD ERROR: OCIStmtExecute)


Fix:
Take the file offline(or shut the DB down ) and then try again:

SQL> alter database datafile '+DATA2/orcl/users01.dbf' offline;

Database altered.

ASMCMD> rm -rf users01.dbf

ASMCMD> ls -l users01.dbf
ASMCMD-8002: entry 'users01.dbf' does not exist in directory '+DATA2/ORCL/'



No comments: