Oracle Solution for Error ora-00372

Solution for Oracle Error ORA-00372

ORA-00372: file string cannot be modified at this time

What triggered the Error:

attempting to modify the contents of a file that cannot be modified. The file is most likely part of a read only tablespace but may be in the process of going offline, or the database may be in the process of closing.

What should we do to fix it:

check the status of the file and its tablespace