Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Adjusting parameters causes the database to fail to start

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

.oraenv xxx

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

Make a pfile, go in and modify the wrong parameters. Note that there may be a problem with the format of the control file coming out of 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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report