oracle報錯:sql
ORA-32001:write to SPFILE requested but no SPFILE is in use數據庫
解決方法:oracle
1.查看是否有spfileapp
sql> show parameter spfile;string
NAME TYPE VALUE
------------------------------------ ---------------------
spfile stringit
2.從pfile建立spfilefile
sql> create spfile from pfile;request
File created.方法
3.關閉數據庫im
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