根据Oracle提供的官方文档在centos x86-64上安装Oracle10201,在建立数据库的过程中,DBCA报错,错误号为ORA-12547。
整个安装过程没有报错,通过DBCA建立数据库时则会出现ORA-12547错误。检查$ORACLE_HOME/cfgtoollogs/dbca目录下的trace.log文件发现下面的错误信息:
[Thread-12] [18:18:55:185] [DBEntryStep.executeImpl:457] CREATEDB without passwords = CREATE DATABASE "kaifa"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
DATAFILE '/data/oracle/oradata/kaifa/system01.dbf' SIZE 1024M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/data/oracle/oradata/kaifa/sysaux01.dbf' SIZE 1024M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/data/oracle/oradata/kaifa/temp01.dbf' SIZE 4096M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE '/data/oracle/oradata/kaifa/undotbs01.dbf' SIZE 4096M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
CHARACTER SET ZHS16GBK
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('/data/oracle/oradata/kaifa/redo01.log') SIZE 512000K,
GROUP 2 ('/data/oracle/oradata/kaifa/redo02.log') SIZE 512000K,
GROUP 3 ('/data/oracle/oradata/kaifa/redo03.log') SIZE 512000K
[Thread-12] [18:18:55:185] [StepContext$ModeRunner.run:2458] ---- Progress Needed:=true
[Thread-12] [18:18:55:186] [BasicStep.execute:201] Executing Step : DB_CREATE_FILES
[Thread-12] [18:18:55:188] [DBCreateFilesStep.executeImpl:323] creating TBS SQL=CREATE SMALLFILE TABLESPACE "USERS" LOGGING DATAFILE '/data/oracle/oradata/kaifa/users01.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1280K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
[Thread-12] [18:18:55:188] [DBCreateFilesStep.executeImpl:329] Establish USERS as the default permanent tablespace of the database
[Thread-12] [18:18:55:188] [StepContext$ModeRunner.run:2458] ---- Progress Needed:=true
[Thread-12] [18:18:55:189] [BasicStep.execute:201] Executing Step : DB_CATALOG
[Thread-12] [18:18:55:189] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-00942
[Thread-12] [18:18:55:189] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-00955
[Thread-12] [18:18:55:189] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01432
[Thread-12] [18:18:55:189] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01434
[Thread-12] [18:18:55:189] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01918
[Thread-12] [18:18:55:189] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01919
[Thread-12] [18:18:55:190] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01921
[Thread-12] [18:18:55:190] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-02289
[Thread-12] [18:18:55:191] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-04043
[Thread-12] [18:18:55:191] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-29807
.
.
.
[Thread-15] [18:44:1:470] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: PLS-00201
[Thread-15] [18:44:1:470] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: PL/SQL
[Thread-15] [18:44:1:470] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-29931
[Thread-15] [18:44:1:470] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-02024
[Thread-15] [18:44:1:510] [SQLEngine.done:1951] Done called
查询metalink,发现是缺少一个libaio包。Metalink的文档Doc ID:Note:462325.1对这个问题进行了说明。
测试发现,对于libaio包,无论是32位的还是64位的,都是Oracle所必须的,二者缺一不可。而这个包似乎是AS4 64 UPDATE 4所必须的,在安装10201 for As4 for x86-64 update1时,并没有发现这个问题。
将两个libaio包安装之后,重新创建数据库,安装顺利完成。
[root@yans3 ~]# rpm -ivh libaio-0.3.105-2.i386.rpm
warning: libaio-0.3.105-2.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:libaio ########################################### [100%]
[root@yans3 ~]# rpm -ivh libaio-0.3.105-2.x86_64.rpm
warning: libaio-0.3.105-2.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:libaio ########################################### [100%]
更多参考:
the specified nodes are not clusterable
根据rowid删除表中重复的行
Agent process exited abnormally during initialization
一次字符乱码的解决过程
rman实验(一)
rman实验(二)
ORA-00600: internal error code, arguments: [keltnf
ORA-00600: ORA-12012 ORA-08102解决
linux下完全删除oracle
INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory
centos4.8_64上安装oracle10201建库报ORA-12547
EM乱码解决
ORA-31613 Master process DM00 failed during startup
ORA-00600: internal error code, arguments: [4194], [29], [27], [], [], [], [], []
ORA-24324 ORA-01041 ORA-03113
centos5.3升级oracle
pdksh-5.2.14-36.el5.i386.rpm
使用rman进行数据库迁移
oracle10.2.0.1升级到10.2.0.4报错
Upgrade Oracle 10g from 10.2.0.1 to 10.2.0.4 (Single Instance)
改oracle的name和dbid
修改oracle实例名
Solaris8上迁移oracle8i---上
Solaris8上迁移oracle8i---下
未备份归档日志导致数据丢失的实验
使用NBU进行数据库迁移
catalog备份数据库
RMAN FORMAT字符串格式化
Error: can not register my instance state - -1
not all alterations performed
The ASM instance configured on the local node is a single-instance ASM
/u01/crs102/bin/crsctl.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared
Initializing the Oracle ASMLib driver: [FAILED]
ORA-00245: control file backup operation failed
WARNING: failed to read mirror side 1 of virtual extent 229 logical extent
模拟恢复参数文件
Interface eth0 checked failed
import server uses ZHS16GBK character set (possible charset conversion)