Oracle Error RMAN-04013: must connect before startup

Oracle Error Message

RMAN-04013: must connect before startup

Reason for the Error

A STARTUP command was attempted before connecting to the database.

Solution

Connect to database before attempting STARTUP command.