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

Posted code4app

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-32001:write to SPFILE requested but no SPFILE is in use相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

故障处理告警日志报“ORA-01565 Unable To open Spfile”

故障处理告警日志报“ORA-01565 Unable To open Spfile”

oracle里。CREATE SPFILE ,spfile是啥意思?

pfile 与 spfile

Oracle中的pfile和spfile详解

Oracle spfile 参数文件