ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle11g ORA-32002

oracle11g ORA-32002

原创 Linux操作系统 作者:wisdomone1 时间:2013-01-30 20:38:01 0 删除 编辑
SQL> startup
ORA-01506: missing or illegal database name
SQL> startup nomount pfile=c:\pfile
ORACLE instance started.
Total System Global Area 2137886720 bytes
Fixed Size                  2177456 bytes
Variable Size             503318096 bytes
Database Buffers         1627389952 bytes
Redo Buffers                5001216 bytes
SQL> create spfile from pfile=c:\pfile;---要加上单引号
create spfile from pfile=c:\pfile
                         *
ERROR at line 1:
ORA-02236: invalid file name

SQL> create spfile from pfile='c:\pfile';---spfile自nomount状态已在使用
create spfile from pfile='c:\pfile'
*
ERROR at line 1:
ORA-32002: cannot create SPFILE already being used by the instance
 
--关库
SQL> shutdown immediate
ORA-01507: database not mounted

ORACLE instance shut down.
 
----连接至sqlplus自配置好的pfile创建spfile
SQL> create spfile from pfile='c:\pfile';
File created.
SQL> startup --启动库
ORACLE instance started.
Total System Global Area 2137886720 bytes
Fixed Size                  2177456 bytes
Variable Size             503318096 bytes
Database Buffers         1627389952 bytes
Redo Buffers                5001216 bytes
Database mounted.
Database opened.
SQL>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-753598/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
提供针对oracle初学者及进阶的数据库培训,欢迎大家咨询: 微信: wisdomone 微信公众号: lovedb 工作经历: 中国普天 北京科蓝 北京云和恩墨 北京神州新桥

注册时间:2008-04-04

  • 博文量
    2189
  • 访问量
    12690159