文档解释 ORA-01231: cannot make read write – file string is offline Cause: An attempt to make a tablespace read write
ORA-01231: cannot make read write – file string is offline
Cause: An attempt to make a tablespace read write found that one of its files is offline.
Action: Bring the file online and retry this command.
“您正在试图将一个只读设备配置为可写模式。成功进行这一任务的前提条件是设备处于激活状态。”
在某些oracle服务器上,普通用户尝试执行ALTER TABLE命令,以修改数据库中特定表的结构,但ORACLE会弹出”ORA-01231″错误。
1.确定被更改的文件是offline状态,运行查询:
select name,status from v$datafile;
如果你得到“Offline”作为状态,那么就是这样。
2.如果文件为offline状态,运行下面的命令,将文件从offline状态更改为online状态:
ALTER DATABASE DATAFILE ‘文件的完整路径’ ONLINE;
--结束END--
本文标题: ORA-01231: cannot make read write – file string is offline ORACLE 报错 故障修复 远程处理
本文链接: https://www.lsjlt.com/news/541328.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0