Oracle Error ORA-12334: database (link name string) is still open

Oracle Error Message

ORA-12334: database (link name string) is still open

Reason for the Error

You attempted to dismount a database that is still open.

Solution

Close the database with the ALTER DATABASE CLOSE command, then re-attempt to dismount the database.