oracle9204 在redhat 5中提示安裝成功,很多沒有安裝!啟動不了的解決辦法。

mengzhaoliang發表於2008-02-27
[oracle@localhost Disk1]$ sqlplus "/as sysdba"

SQL*Plus: Release 9.2.0.4.0 - Production on Wed Feb 27 21:43:51 2008

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl.ora'
SQL> startup nomount
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl.ora'
沒有檔案,複製一個
[oracle@localhost dbs]$ ls
initdw.ora  init.ora
[oracle@localhost dbs]$ vi init.ora
[oracle@localhost dbs]$ cp init.ora initorcl.ora
[oracle@localhost dbs]$ vi initorcl.ora
修改第78行的dbname=orcl

SQL> startup nomount
ORACLE instance started.

Total System Global Area   42742804 bytes
Fixed Size                   451604 bytes
Variable Size              41943040 bytes
Database Buffers             204800 bytes
Redo Buffers                 143360 bytes

可以到nomount狀態,例項和後臺程式都已經啟動。

2
SQL> alter database mount;
alter database mount
*
ERROR at line 1:
ORA-00205: error in identifying controlfile, check alert log for more info
看來從initorcl.ora檔案找不到控制檔案。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12778571/viewspace-196029/,如需轉載,請註明出處,否則將追究法律責任。

相關文章