Oracle Error Message
RMAN-06171: not connected to target database
Reason for the Error
A command was issued but no connection to the target database has been established.
Solution
Issue a CONNECT TARGET command to connect to the target database.