Oracle Solution for Error ora-03254

Solution for Oracle Error ORA-03254

ORA-03254: unable to execute the sql in read only database

What triggered the Error:

Unable to create a consistent snapshot of the object in a read only database. Transaction recovery must be performed before opening the database read only.

What should we do to fix it:

Open the database read write, allow dead transaction recovery to complete and then open the database read only.