第一种。
- 有参数文件备份
- 文件丢失启库失败可以直接用备份文件
SYS@orcl>startup pfile=’/home/oracle/init2020002.ora’;
ORACLE instance started.
Total System Global Area 893386752 bytes
Fixed Size 8626864 bytes
Variable Size 335547728 bytes
Database Buffers 541065216 bytes
Redo Buffers 8146944 bytes
Database mounted.
Database opened.
第二种 2.没有参数文件备份 ,数据库还能运行,可以从内存里生成。 SYS@orcl>create pfile from memory; 生成二进制文件在dbs目录下。 3.没有备份,所有的参数文件丢失。 可以手动编写 [oracle@ora12c dbs]$ vi initorcl.ora 第三种 3.1 告警日志所在位置 /oradb/app/oracle/diag/rdbms/orcl/orcl 下trace (抱歉,我的没找到。) 这种方法可以救命。