CentOS7.6静默安装19C实例脚本 ORA-27125 [FATAL] [DBT-10322]
脚本:
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]的更多相关文章
- CentOS7.9静默安装Oracle19C软件
CentOS7.9静默安装Oracle19C软件 Oracle发布了支持的版本.可以看到了Oracle11gR2和Oracle12C.一直到2022年就不支持patch和服务.(感慨Oracle 11 ...
- Centos7.5静默安装Oracle18c
环境: CentOS7.5.Oracle18c(LINUX.X64_180000_db_home.zip) 1. 安装必要的依赖包 [root@bogon ~]# yum install bc bin ...
- oracle11G r2 静默安装单实例(待优化版)
测试环境:centos 6.9 X64 mini 版 oracle版本:11G r2 Oracle软件包:db_112040_Linux-x86-64_1of7.zip;db_112040_Linux ...
- Linux CentOS7.5静默安装Oracle11gR2
网上有很多安装教程,但大多不够完整,参照了一些教程,实测安装成功,整理出来分享给大家! 一.官方最低要求配置 内存:1G(官方最低要求1G) 硬盘:40G(企业版安装所需4.29G和1.7G数据文件) ...
- centos7.6静默安装oracle 11G RAC
环境介绍, esxi6.0 ,VMware vSphere Client6.0 linux 版本Centos7.6(最小化安装) Oracle 版本 oracle 11g 11.2.0.4 虚拟化环境 ...
- Linux(Centos7)静默安装Oracle19C
Oracle数据库服务器一般都是Linux,Linux服务器一般都是在非图形界面的操作,本文章手把手教你如何在非图形界面安装Oracle19C. ORACLE 19C 的安装包自行在官网下载,下载免费 ...
- CentOS7.2静默安装oracle11g
http://www.centoscn.com/image-text/config/2015/0528/5552.html http://www.linuxidc.com/Linux/2016-04/ ...
- oracle 19c dataguard silent install (oracle 19c dataguard 静默安装)
环境说明 1.关闭透明大页 RHEL 6: # cat /sys/kernel/mm/redhat_transparent_hugepage/enabled [oracle@rhel 6 ~]$ c ...
- Oracle 19C的下载和安装部署(图形安装和静默安装)
Oracle 19C的下载和安装部署(图形安装和静默安装) https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/ ...
- Centos7.3使用脚本自动静默安装oracle11.2.0.4数据库
一直想着写一个脚本实现自动化安装oracle数据库.以下内容实验过几次了,可能还存在些小问题,如果在跑以下脚本中遇到问题,自己仔细排查即可 挣扎了好久,总算还是没实现,目前只能通过依次执行多个脚本来安 ...
随机推荐
- logic 运算符
- Docker部署NextCloud
docker run -d -p 80:80 nextcloud 数据库可以选Mysql或者Pg 下载客户端 https://nextcloud.com/
- 简单的python格网算法算数据密集度demo
# 格网算法计算数据集区域数据密集度 import time import random import numpy as np import pandas as pd # 模拟数据集 def crea ...
- Selenium协议
Selenium驱动浏览器使用的协议是什么? JsonWireProtocol 是通过webdriver与remote sever进行通信的web service协议.通过http请求,完成和remo ...
- git Permission denied, please try again.
博主在github上下载tiny face的的源代码的时候,遇到git clone命令为:git clone --recursive git@github.com:peiyunh/tiny.git 而 ...
- syn flood
from scapy.all import * import random # 生成随机的IP def randomIP(): ip = ".".join(map(str, (ra ...
- pyinstall打包工具使用简介
使用pyinstall进行多个文件打包,直接打包主入口文件即可 pyinstaller MainUI.py -F -n ServerMonitorv200 -i PIC.ico -w 此处MainUI ...
- 声网推出首个完整实时合唱解决方案 即将上线“咪哒”全国线下K歌房
4月20日,声网Agora宣布对实时合唱技术方案全面升级,帮助国内知名迷你KTV品牌"咪哒"实现国内首个支持多终端.多人合唱.高音质的完整实时合唱解决方案的落地,结束了国内K歌行业 ...
- University of Toronto Faculty of Arts and Science MAT344– Final Assessment Combinatorics Instructors: Stanislav Balchev and Max Klambauer 19 August 2020
目录 随便找的一份测试题 T7 T9 T6 T5 solution to (a) solution to (b) solution to (c) solution to (d) T1 T2 T3 T4 ...
- 如何自动化测试你的接口?—— Rest Assured
前言 不知道大家的项目是否都有对接口API进行自动化测试,反正像我们这种小公司是没有的.由于最近一直被吐槽项目质量糟糕,只能研发自己看看有什么接口测试方案.那么在本文中,我将探索如何使用 Rest A ...