|
1>
[oracle@ecit oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Sun Sep 7 16:48:41 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/ora9/product/9.2/dbs/initora9201.ora'
SQL>
它不是从服务器参数文件进行读取参数的吗?为什么要这个参数文件?
而且以前这个文件只在$ORACLE_BASE/admin/ora9201/pfile/initora9201.ora
为什么现在说在/opt/ora9/product/9.2/dbs/initora9201.ora下面呢?搞不懂!
2>
SQL> alter database rename file
2 '/opt/ora9/oradata/ora9201/ch09/dir1/redo04a.log',
3 '/opt/ora9/oradata/ora9201/ch09/dir2/redo04b.log',
4 '/opt/ora9/oradata/ora9201/ch09/dir3/redo04c.log',
5 TO '/opt/ora9/oradata/ora9201/ch09/dir4/redo04a.log',
6 '/opt/ora9/oradata/ora9201/ch09/dir4/redo04b.log',
7 '/opt/ora9/oradata/ora9201/ch09/dir4/redo04c.log';
TO '/opt/ora9/oradata/ora9201/ch09/dir4/redo04a.log',
*
ERROR at line 5:
ORA-02236: invalid file name
为什么移动日志文件后,改变日志文件参数.出现这样的错误.不知道是哪里?
3>
SQL> startup pfile=/opt/ora9/admin/testdb/pfile/inittestdb.ora
ORACLE instance started.
Total System Global Area 235999352 bytes
Fixed Size 450680 bytes
Variable Size 201326592 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
ORA-01991: invalid password file '/opt/ora9/product/9.2/dbs/orapwora9201'
SQL> !ls /opt/ora9/product/9.2/dbs
initdw.ora lkORA9201 orapwora9201 spfileora9201.ora
init.ora lkTESTDB orapwtestdb spfiletestdb.ora
SQL>
为什么明显这里有这个文件,它说没有找到这个文件呢?orapwora9201
4>
SQL> @/opt/ora9/admin/testdb/create/CreateDB.sql
CREATE DATABASE testdb
*
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
SQL> shutdown
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
这又什么原因呢? |
|