脚本:

dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname test -sid test -characterSet AL32UTF8 -TOTALMEMORY 4096 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbomtest/ -sysPassword oracle -systemPassword oracle

--------------------------------------------------------------------------需要注意的是19c的实例名不能添加"_"下划线,要不然会报错

上边脚本实例名跟下边实操的实例名不是一个!

alphanumeric characters:字母数字字符来自有道翻译,下面的报错就是我实例名加上下划线,去掉下划线就可以正常运行了

[oracle@tldbompx03 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname tbom_px -sid tbom_px -characterSet AL32UTF8 -TOTALMEMORY 4096 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbom_px/ -sysPassword oracle -systemPassword oracle
[FATAL] [DBT-10322] The Instance Name specified contains non alphanumeric characters.
ACTION: Specify a Instance Name that starts with an alphabet and contains only alphanumeric characters.

[oracle@tldbompx03 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname tbom_px -sid tbom_px -characterSet AL32UTF8 -TOTALMEMORY 4096 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbompx/ -sysPassword oracle -systemPassword oracle
[FATAL] [DBT-10322] The Instance Name specified contains non alphanumeric characters.
ACTION: Specify a Instance Name that starts with an alphabet and contains only alphanumeric characters.

这里ORA-27125 - Unable to create shared memory segment error 共享内存段错误,一般调整/etc/sysctl.conf中的最大共享内存kernel.shmmax、kernel.shmmni就可以,sysctl -p使参数生效

没有分配kernel.shmmax、kernel.shmmni内存创建实例失败

[ 2020-06-11 17:35:45.945 CST ] [WARNING] [DBT-11207] Specified SGA size is greater than the shmmax on the system. The database creation might fail with "ORA-27125 - Unable to create shared memory segment error".
[ 2020-06-11 17:35:45.974 CST ] [WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
[ 2020-06-11 17:35:45.974 CST ] [WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
[ 2020-06-11 17:35:47.290 CST ] Prepare for db operation
DBCA_PROGRESS : 10%
[ 2020-06-11 17:35:47.370 CST ] Copying database files
DBCA_PROGRESS : 12%
[ 2020-06-11 17:35:48.890 CST ] [WARNING] ORA-27125: unable to create shared memory segment [ 2020-06-11 17:35:48.892 CST ] [FATAL] ORA-01034: ORACLE not available DBCA_PROGRESS : 40%
DBCA_PROGRESS : 100%
[ 2020-06-11 17:35:48.897 CST ] [FATAL] ORA-01034: ORACLE not available DBCA_PROGRESS : 10%
DBCA_PROGRESS : 0%

重新分配内存

shmall 是全部允许使用的共享内存大小,shmmax 是单个段允许使用的大小。这两个可以设置为内存的 80%

kernel.shmmax=例如 24G 内存,24*1024*1024*1024*80% = 20615843021
kernel.shmall=kernel.shmmax(20615843021)/4k=5033165

[oracle@tldbompx03 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname tbompx -sid tbompx -characterSet AL32UTF8 -TOTALMEMORY 8096 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbompx/ -sysPassword oracle -systemPassword oracle
[WARNING] [DBT-11207] Specified SGA size is greater than the shmmax on the system. The database creation might fail with "ORA-27125 - Unable to create shared memory segment error".
ACTION: Specify SGA size lesser than or equal to the shmmax on the system.
[WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a kepxord that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a kepxord that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
Prepare for db operation
10% complete
Copying database files
40% complete
Creating and starting Oracle instance
42% complete
46% complete
50% complete
54% complete
60% complete
Completing Database Creation
66% complete
69% complete
70% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/oracle/cfgtoollogs/dbca/tbompx.
Database Information:
Global Database Name:tbompx
System Identifier(SID):tbompx
Look at the log file "/oracle/cfgtoollogs/dbca/tbompx/tbompx1.log" for further details.

调整之后

CentOS7.6静默安装19C实例脚本 ORA-27125 [FATAL] [DBT-10322]的更多相关文章

  1. CentOS7.9静默安装Oracle19C软件

    CentOS7.9静默安装Oracle19C软件 Oracle发布了支持的版本.可以看到了Oracle11gR2和Oracle12C.一直到2022年就不支持patch和服务.(感慨Oracle 11 ...

  2. Centos7.5静默安装Oracle18c

    环境: CentOS7.5.Oracle18c(LINUX.X64_180000_db_home.zip) 1. 安装必要的依赖包 [root@bogon ~]# yum install bc bin ...

  3. oracle11G r2 静默安装单实例(待优化版)

    测试环境:centos 6.9 X64 mini 版 oracle版本:11G r2 Oracle软件包:db_112040_Linux-x86-64_1of7.zip;db_112040_Linux ...

  4. Linux CentOS7.5静默安装Oracle11gR2

    网上有很多安装教程,但大多不够完整,参照了一些教程,实测安装成功,整理出来分享给大家! 一.官方最低要求配置 内存:1G(官方最低要求1G) 硬盘:40G(企业版安装所需4.29G和1.7G数据文件) ...

  5. centos7.6静默安装oracle 11G RAC

    环境介绍, esxi6.0 ,VMware vSphere Client6.0 linux 版本Centos7.6(最小化安装) Oracle 版本 oracle 11g 11.2.0.4 虚拟化环境 ...

  6. Linux(Centos7)静默安装Oracle19C

    Oracle数据库服务器一般都是Linux,Linux服务器一般都是在非图形界面的操作,本文章手把手教你如何在非图形界面安装Oracle19C. ORACLE 19C 的安装包自行在官网下载,下载免费 ...

  7. CentOS7.2静默安装oracle11g

    http://www.centoscn.com/image-text/config/2015/0528/5552.html http://www.linuxidc.com/Linux/2016-04/ ...

  8. oracle 19c dataguard silent install (oracle 19c dataguard 静默安装)

    环境说明 1.关闭透明大页 RHEL  6: # cat /sys/kernel/mm/redhat_transparent_hugepage/enabled [oracle@rhel 6 ~]$ c ...

  9. Oracle 19C的下载和安装部署(图形安装和静默安装)

    Oracle 19C的下载和安装部署(图形安装和静默安装)   https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/ ...

  10. Centos7.3使用脚本自动静默安装oracle11.2.0.4数据库

    一直想着写一个脚本实现自动化安装oracle数据库.以下内容实验过几次了,可能还存在些小问题,如果在跑以下脚本中遇到问题,自己仔细排查即可 挣扎了好久,总算还是没实现,目前只能通过依次执行多个脚本来安 ...

随机推荐

  1. 2003031126-石升福-python数据分析第三周作业

    项目 Numpy 博客名称 2003031126-石升福-python数据分析第三周作业 课程班级博客链接 https://edu.cnblogs.com/campus/pexy/20sj 作业链接 ...

  2. 4vue 属性绑定

    属性绑定v-bind <!DOCTYPE html> <html lang="en"> <head> <meta charset=&quo ...

  3. mysql explain 优化

    explain的使用 使用EXPLAIN关键字可以模拟优化器执行SQL语句,分析你的查询语句或是结构的性能瓶颈.在select语句之前增加explain关键字,Mysql会在查询上设置一个标记,执行查 ...

  4. intellij idea修改背景图片

    上方菜单栏选择 File -> settings -> plugins,搜索Backgroung Image Plus插件 下载之后restart 菜单栏上选择view   设置好后选择O ...

  5. spring-boot-devtools热部署揭秘

    前言 在开发项目过程中,当修改了某些代码后需要本地验证时,需要重启本地服务进行验证,启动这个项目,如果项目庞大的话还是需要较长时间的,spring开发团队为我们带来了一个插件:spring-boot- ...

  6. Unity打包ARCore项目失败,但是其他安卓项目成功

    https://blog.csdn.net/lxbhahaha/article/details/111269980

  7. Unity ContentSizeFitter组件

    Content Size Fitter组件,它可以动态改变物体的宽高,但它有一个非常需要注意的点就是,它不是即时刷新,是帧末刷新,这个特性如果没注意会出现一个问题 就是你拿到加了这个组件的宽高本不是你 ...

  8. python字符操作超全总结

    在python中,字符串是数据类型之一,属于不可变序列. 转义字符的使用 转义字符是指使用反斜杠"\"对一些特殊字符进行转义.几个常用的转义字符如下: \   -续行 \n -换行 ...

  9. IDEA: 如何导入项目模块 以及 将 Java程序打包 JAR 详细步骤

    IDEA: 如何导入项目模块 以及 将 Java程序打包 JAR 详细步骤 . @ 目录 IDEA: 如何导入项目模块 以及 将 Java程序打包 JAR 详细步骤 IDEA 导入项目模块 Modul ...

  10. svn提交规范

    本文档参考了Git提交规范,旨在规范使用SVN进行代码版本管理时的提交操作. 提交前的准备 1. 检查代码 在提交代码前,请先进行必要的代码检查,确保代码的正确性.可读性和可维护性.可以使用代码质量管 ...