码迷,mamicode.com
首页 > 其他好文 > 详细

ORA-32001:write to SPFILE requested but no SPFILE is in use

时间:2019-06-11 12:55:39      阅读:113      评论:0      收藏:0      [点我收藏+]

标签:write   name   dia   created   RoCE   string   system   down   roc   

oracle报错:

ORA-32001:write to SPFILE requested but no SPFILE is in use

解决方法:

1.查看是否有spfile

sql> show parameter spfile;

NAME                                 TYPE                             VALUE                      
------------------------------------ ---------------------
spfile                                   string

 

2.从pfile创建spfile

sql> create spfile from pfile;

File created.

3.关闭数据库

sql> shutdown immediate;
4.启动数据库

sql> startup

5.查看是否有spfile文件

sql> show parameter spfile;

NAME                                 TYPE                    VALUE
------------------------------------ ----------------------
spfile                               string                 01/app/oracle/product/11.2.0/db_1/dbs/spfilePROD.ora
6.再执行该命令,问题解决

sql> ALTER SYSTEM SET processes = 300 scope = spfile

ORA-32001:write to SPFILE requested but no SPFILE is in use

标签:write   name   dia   created   RoCE   string   system   down   roc   

原文地址:https://www.cnblogs.com/code4app/p/11002768.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!