My Oracle Support Banner

Removing a System Created Directory Fails With ORA-15177: Cannot Operate On System Aliases (Doc ID 1513896.1)

Last updated on MARCH 20, 2018

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

ASMCMD> rm -rf DQOHATP_STBY/
ORA-15032: not all alterations performed
ORA-15177: cannot operate on system aliases (DBD ERROR: OCIStmtExecute)

ASMCMD> rmalias -r DQOHATP_STBY/
ORA-15032: not all alterations performed
ORA-15177: cannot operate on system aliases (DBD ERROR: OCIStmtExecute)

The affected directory (here DQOHATP_STBY) is a system created directory with a system alias.
It contains neither sub-directories nor any files whilst we try to remove it. It is empty.

$ asmcmd
ASMCMD> ls -l
State    Type    Rebal  Name
MOUNTED  EXTERN  N      DDOHATP_DATA/

ASMCMD> cd DDOHATP_DATA/
ASMCMD> ls -l
Type             Redund  Striped  Time             Sys  Name
                                                  Y    DQOHATP_STBY/

ASMCMD> cd DQOHATP_STBY/
ASMCMD> ls -l
ASMCMD> cd ..

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!


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