2007-10-26 13:28
martin_168
AIX 系统下oracle建库报错?
紧急求救!
我有两台小机,系统环境是aix 5.2L,我在主机装了数据库oracle9.2应用软件,数据库装在磁盘阵列里datavg,并且能正常启动。现在在备机上也装了数据库oracle9.2(与主机的版本一样),数据库也同样装在磁盘阵列里datavg,即复盖了主机上装的数据库。装完后在备机上能正常启动。现在我执行如下命令:
在备机上varyoffvg datavg
在主机上varyonvg datavg
在主机上启动数据库
$ dbstart
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 26 13:37:10 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 2014808504 bytes
Fixed Size 743864 bytes
Variable Size 402653184 bytes
Database Buffers 1610612736 bytes
Redo Buffers 798720 bytes
Database mounted.
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: '/oradata/AISOFT/system01.dbf'
ORA-01203: wrong incarnation of this file - wrong creation SCN
SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Database "AISOFT" warm started.
$
接着启动监听器
$ lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 9.2.0.1.0 - Production on 26-OCT-2007 13:38:09
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /home/oracle/oracle9i/bin/tnslsnr: please wait...
TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.1.0 - Production
System parameter file is /home/oracle/oracle9i/network/admin/listener.ora
Log messages written to /home/oracle/oracle9i/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.88)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.88)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.1.0 - Production
Start Date 26-OCT-2007 13:38:09
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /home/oracle/oracle9i/network/admin/listener.ora
Listener Log File /home/oracle/oracle9i/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.88)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
完成后,我运行oemapp console启动后,输入用户名和密码后,按OK后报ora-01033:oracle initialization or shutdown in progress 错。不知是怎么回事?请各位大哥指示。
2007-10-26 15:07
brucewoo
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: '/oradata/AISOFT/system01.dbf'
ORA-01203: wrong incarnation of this file - wrong creation SCN
数据库没有能够正常启动,应用当然无法连接(ora-01033)