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

ERRORunable to execute the sql in read only database
CAUSEUnable to create a consistent snapshot of the object in a read only database. Transaction recovery must be performed before opening the database read only.
ACTIONOpen the database read write, allow dead transaction recovery to complete and then open the database read only.