Thursday 17 July 2014

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

While I was taking an incremental RMAN backup I've faced this error:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

The issue: that I ran the RMAN script that contains "host" commands from an old RMAN session, that session been opened while I was stepping on a directory been deleted before running the RMAN script.

The fix: is to close that old RMAN session and step under an exist directory and open a new RMAN session.

No comments:

Post a Comment