ASMCMD-8002: entry ‘ARCHIVELOG’ does not exist in directory ‘+FRA/EXDBX/’

Cause:

I deleted archivelog files in archive directory, and the corresponding parent directory also deleted

ASMCMD> cd ARCHIVELOG
ASMCMD> ls
2021_05_11/
2021_05_12/
2021_05_18/
2021_05_21/
2021_05_22/
2021_05_23/
ASMCMD> rm -rf *
ASMCMD> cd ..
ASMCMD-8002: entry 'ARCHIVELOG' does not exist in directory '+FRA/EXDBX/'

Workaround:

Open a new asmcmd session and create the parent directory

ASMCMD [+FRA/EXDBX] > mkdir ARCHIVELOG
ASMCMD [+FRA/EXDBX] > ls
ARCHIVELOG/
BACKUPSET/
CONTROLFILE/
ONLINELOG/
ASMCMD [+FRA/EXDBX] > exit

Now move to different directories from previous session

ASMCMD> cd ..
ASMCMD> ls
ARCHIVELOG/
BACKUPSET/
CONTROLFILE/
ONLINELOG/
ASMCMD>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s