Oracle Error ORA-01230: cannot make read only – file string is offline

Oracle Error Message

ORA-01230: cannot make read only – file string is offline

Reason for the Error

An attempt to make a tablespace read only found that one of its files is offline.

Solution

Bring the file online and retry this command.