oracle18c静默安装教程,Oracle 18c 19c 安装的 DBT-50000 错误解决

Oracle 18c 19c 安装的 DBT-50000 错误解决

6ee5639a40442445944d63b514b2dd02.png

自 Oracle 18.3 开始,增加了一系列 DBT 错误,在安装数据库的时候就可能遇到。

当然我的操作系统版本略低,CentOS 6.8 :

[root@sdb2 ~]# uname -a

Linux sdb2 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@sdb2 ~]# cat /etc/redhat-release

CentOS release 6.8 (Final)

以下是 dbca 和 rpm 安装都可以遇到的错误之一(在 18c 和 19c 中都可能遇到):

19789580a7182ef0dc469781653d5609.png

[FATAL] [DBT-50000] Unable to check for available memory.

[FATAL] [DBT-50001] Unable to check the value of kernel parameter {0}

解决这个问题的一个方法是,在安装配置脚本中,去掉安装检查:

-J-Doracle.assistants.dbca.validate.ConfigurationParams=false

这个参数可以在 dbca 时加入,也可以修改:/etc/init.d/oracledb_ORCLCDB-18c 文件,在 dbca 静默安装处增加进去:

$SU -s /bin/bash$ORACLE_OWNER -c "$DBCA -silent -createDatabase -gdbName $ORACLE_SID -templateName $TEMPLATE_NAME -characterSet $CHARSET -createAsContainerDatabase $CREATE_AS_CDB -numberOfPDBs $NUMBER_OF_PDBS -pdbName $PDB_NAME -J-Doracle.assistants.dbca.validate.ConfigurationParams=false -createListener $LISTENER_NAME:$LISTENER_PORT -datafileDestination $ORACLE_DATA_LOCATION -sid $ORACLE_SID -autoGeneratePasswords -emConfiguration DBEXPRESS -emExpressPort $EM_EXPRESS_PORT"

然后就可以顺利通过安装了。

[root@sdb ~]# /etc/init.d/oracledb_ORCLCDB-19c configure

Configuring Oracle Database ORCLCDB.

Prepare for db operation

8% complete

Copying database files

31% complete

Creating and starting Oracle instance

32% complete

36% complete

40% complete

43% complete

46% complete

Completing Database Creation

51% complete

54% complete

Creating Pluggable Databases

58% complete

77% complete

Executing Post Configuration Actions

100% complete

Database creation complete. For details check the logfiles at:

/opt/oracle/cfgtoollogs/dbca/ORCLCDB.

Database Information:

Global Database Name:ORCLCDB

System Identifier(SID):ORCLCDB

Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.

Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.

记录一下。

By eygle on 2018-11-28 16:11 |

Comments (0) |

Oracle12c/11g | 3323 |

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值