修改Spfile参数文件后无法打开数据库
2011-10-26 11:11
239 查看
做Oracle试验时,改了一个spfile参数文件的数值,具体是哪个数值记不清了,重新打开数据库时如下提示:
SQL> startup;
ORA-01078: failure in processing system parameters
ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings
ORA-00842: DB_BLOCK_BUFFERS cannot be set with SGA_TARGET or MEMORY_TARGET
查找系统中存在的Pfile参数文件。
[root@localhost ~]# find / -name "*.ora.*"
/u01/app/oracle/admin/orcl/pfile/init.ora.992011144136
/u01/app/oracle/product/11.2.0/dbhome_1/ldap/admin/ldap.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/hs/admin/listener.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/hs/admin/tnsnames.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/Templates/hs/admin/listener.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/Templates/hs/admin/tnsnames.ora.sample
就用Pfile文件试着打开数据库。
SQL> startup nomount pfile='/u01/app/oracle/admin/orcl/pfile/init.ora.992011144136';
ORACLE instance started.
Total System Global Area 233861120 bytes
Fixed Size 2212088 bytes
Variable Size 159387400 bytes
Database Buffers 67108864 bytes
Redo Buffers 5152768 bytes
加载数据库至mount状态。
SQL> alter database mount;
Database altered.
打开数据库。
SQL> alter database open;
Database altered.
SQL> startup;
ORA-01078: failure in processing system parameters
ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings
ORA-00842: DB_BLOCK_BUFFERS cannot be set with SGA_TARGET or MEMORY_TARGET
查找系统中存在的Pfile参数文件。
[root@localhost ~]# find / -name "*.ora.*"
/u01/app/oracle/admin/orcl/pfile/init.ora.992011144136
/u01/app/oracle/product/11.2.0/dbhome_1/ldap/admin/ldap.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/hs/admin/listener.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/hs/admin/tnsnames.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/Templates/hs/admin/listener.ora.sample
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/Templates/hs/admin/tnsnames.ora.sample
就用Pfile文件试着打开数据库。
SQL> startup nomount pfile='/u01/app/oracle/admin/orcl/pfile/init.ora.992011144136';
ORACLE instance started.
Total System Global Area 233861120 bytes
Fixed Size 2212088 bytes
Variable Size 159387400 bytes
Database Buffers 67108864 bytes
Redo Buffers 5152768 bytes
加载数据库至mount状态。
SQL> alter database mount;
Database altered.
打开数据库。
SQL> alter database open;
Database altered.
相关文章推荐
- 修改Spfile参数文件后无法打开数据库 .
- 当spfile文件中的参数修改错误,导致数据库无法启动问题
- 当spfile文件中的参数修改错误,导致数据库无法启动问题
- 当spfile文件中的参数修改错误,导致数据库无法启动问题
- 参数文件spfile的修改以及数据库的启动关闭
- 修改静态参数scope=spfile错误,导致spfile文件被破坏,无法重启的解决方法
- 修改oracle系统参数spfile导致数据库无法启动解决
- 11g rac 修改参数文件导致数据库无法启动 解决方案!
- error C1041: 无法打开程序数据库“xxx\vc140.pdb”;如果要将多个 CL.EXE 写入同一个 .PDB 文件,请使用
- 附加数据库出现“无法打开物理文件 "X.mdf"。操作系统错误 5:"5(拒绝访问。)"
- sql server 2005附加数据库错误 无法打开物理文件
- exe打开方式被木马或病毒修改,无法打开任何可执行文件的解决办法
- 无法打开物理文件 "E:\GES系统\数据库\DB_GES.mdf"。操作系统错误 5:"5(拒绝访问。)"。 (Microsoft SQL Server,错误: 5120)
- 在Oracle关闭的状态下,如何修改参数文件spfile
- 建立镜像控制文件后数据库无法正常打开的解决办法
- 修改参数之后数据库无法启动问题
- 修改参数之后数据库无法启动问题
- 修改文件打开方式(无法修改)
- Oracle 11g 参数修改错误导致数据库无法启动的处理方法.[ORA-01034,ORA-27101]
- SQL Server附加数据库出错:无法打开物理文件,操作系统错误5