ORA-03254: unable to execute the sql in read only database
Cause:
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.
Action:
Open the database read write, allow dead transaction recovery to complete and then open the database read only.