调整参数导致数据库无法启动-创新互联

.oraenv xxx

成都创新互联公司主要从事做网站、网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务曾都,十余年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108

alter system set sga_max_size=4g scope=spfile;

sql>alter system set sga_target=4g;

sql>startup force;

ORA-27102: out of memory

SQL> startup nomount

ORA-27102: out of memory

SQL> shutdown immediate

ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist

Linux Error: 2: No such file or directory

SQL> quit

Disconnected

--做一个pfile,进去修改设置出错的参数,注意strings出来的控制文件格式可能有问题

[oracle@edsir1p8- dbs]$ strings spfilePROD4.ora >>/home/oracle/aa.ora

[oracle@edsir1p8-PROD4 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Jun 21 09:14:12 2017

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup pfile='/home/oracle/aa.ora'

ORACLE instance started.

Total System Global Area  129724416 bytes

Fixed Size   1334996 bytes

Variable Size  113246508 bytes

Database Buffers   8388608 bytes

Redo Buffers   6754304 bytes

Database mounted.

Database opened.

SQL> show parameter spfile;

NAME   TYPE VALUE

-spfile   string

SQL> create spfile from pfile='/home/oracle/aa.ora'  ;

File created.

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup

ORACLE instance started.

otal System Global Area  129724416 bytes

Fixed Size   1334996 bytes

Variable Size  113246508 bytes

Database Buffers   8388608 bytes

Redo Buffers   6754304 bytes

Database mounted.

Database opened.

SQL> show parameter spfile;

NAME   TYPE VALUE

------------------------------------ ----------- --------------------------

----spfile   string /u01/app/oracle/product/11.2.0

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


本文名称:调整参数导致数据库无法启动-创新互联
地址分享:http://azwzsj.com/article/pocho.html