麒麟 V10 一键安装 Oracle 11GR2(231017)单机版

Oracle 一键安装脚本,演示 麒麟 V10 一键安装 Oracle 11GR2 单机版过程(全程无需人工干预):(脚本包括 ORALCE PSU/OJVM 等补丁自动安装

⭐️ 脚本下载地址:Shell脚本安装Oracle数据库

脚本第三代支持 N 节点一键安装,不限制节点数!

image.png

安装准备

  • 1、安装好操作系统,建议安装图形化
  • 2、配置好网络
  • 3、挂载本地 ISO 镜像源
  • 4、上传必须软件安装包(安装基础包,补丁包:33991024、35574075、35685663、6880880)
  • 5、上传一键安装脚本:OracleShellInstall

✨ 偷懒可以直接下载本文安装包合集:麒麟 V10 安装 Oracle 11GR2(231017) 单机版安装包合集(包含补丁!!!)

演示环境信息

# 主机版本
[root@kylin soft]# cat /etc/kylin-release
Kylin Linux Advanced Server release V10 (Lance)# 网络信息
[root@kylin soft]# ip a
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000link/ether 00:0c:29:62:a0:e5 brd ff:ff:ff:ff:ff:ffinet 192.168.6.222/24 brd 192.168.6.255 scope global noprefixroute ens33valid_lft forever preferred_lft foreverinet6 fe80::735:5307:2e5e:803c/64 scope link noprefixroute valid_lft forever preferred_lft forever# 挂载本地 ISO 镜像
[root@kylin soft]# mount | grep iso | grep -v "/run/media"
/dev/sr0 on /mnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048)
[root@kylin soft]# df -h|grep /mnt
/dev/sr0               4.4G  4.4G     0  100% /mnt# 安装包存放在 /soft 目录下
[root@lucifer ~]# cd /soft/
[root@kylin soft]# ll
总用量 3246300
-rwxr-xr-x 1 root root     162550  226 13:31 OracleShellInstall
-rwx------ 1 root root 1395582860  226 13:34 p13390677_112040_Linux-x86-64_1of7.zip
-rwx------ 1 root root 1151304589  226 13:34 p13390677_112040_Linux-x86-64_2of7.zip
-rwx------ 1 root root       8684  226 13:37 p33991024_11204220118_Generic.zip
-rwx------ 1 root root  562188912  226 13:34 p35574075_112040_Linux-x86-64.zip
-rwx------ 1 root root   86183099  226 13:34 p35685663_112040_Linux-x86-64.zip
-rwx------ 1 root root  128433424  226 13:34 p6880880_112000_Linux-x86-64.zip
-rw-r--r-- 1 root root       4973  226 13:37 print_ora_install_20240226133727.log
-rwxr-xr-x 1 root root     321590  226 13:31 rlwrap-0.44.tar.gz

确保安装环境准备完成后,即可执行一键安装。

安装命令

使用标准生产环境安装参数:

# 根据脚本 README 或者 -h 命令提示,编辑好一键安装命令,进入 /soft 目录执行安装:
./OracleShellInstall -lf ens33 `# local ip ifname`\
-n kylin `# hostname`\
-op welcome1 `# oracle password`\
-d /u01 `# software base dir`\
-ord /oradata `# data dir`\
-o lucifer `# dbname`\
-dp welcome1 `# sys/system password`\
-ds AL32UTF8 `# database character`\
-ns AL16UTF16 `# national character`\
-redo 100 `# redo size`\
-opa 35574075 `# oracle PSU/RU`\
-jpa 35685663 `# OJVM PSU/RU`\
-opd Y `# optimize db`

选择需要安装的模式以及版本,即可开始安装:

安装过程

   ███████                             ██          ████████ ██               ██  ██ ██                    ██              ██  ████░░░░░██                           ░██         ██░░░░░░ ░██              ░██ ░██░██                   ░██             ░██ ░████     ░░██ ██████  ██████    █████  ░██  █████ ░██       ░██       █████  ░██ ░██░██ ███████   ██████ ██████  ██████   ░██ ░██
░██      ░██░░██░░█ ░░░░░░██  ██░░░██ ░██ ██░░░██░█████████░██████  ██░░░██ ░██ ░██░██░░██░░░██ ██░░░░ ░░░██░  ░░░░░░██  ░██ ░██
░██      ░██ ░██ ░   ███████ ░██  ░░  ░██░███████░░░░░░░░██░██░░░██░███████ ░██ ░██░██ ░██  ░██░░█████   ░██    ███████  ░██ ░██
░░██     ██  ░██    ██░░░░██ ░██   ██ ░██░██░░░░        ░██░██  ░██░██░░░░  ░██ ░██░██ ░██  ░██ ░░░░░██  ░██   ██░░░░██  ░██ ░██░░███████  ░███   ░░████████░░█████  ███░░██████ ████████ ░██  ░██░░██████ ███ ███░██ ███  ░██ ██████   ░░██ ░░████████ ███ ███░░░░░░░   ░░░     ░░░░░░░░  ░░░░░  ░░░  ░░░░░░ ░░░░░░░░  ░░   ░░  ░░░░░░ ░░░ ░░░ ░░ ░░░   ░░ ░░░░░░     ░░   ░░░░░░░░ ░░░ ░░░ 请选择安装模式 [单机(si)/单机ASM(sa)/集群(rac)] : si数据库安装模式: single                                                                           请选择数据库版本 [11/12/19/21] : 11数据库版本:     11                                                                               #==============================================================#                                                                                  
配置本地 YUM 源                                                                                  
#==============================================================#                                                                                  [server]
name=server
baseurl=file:///mnt
enabled=1
gpgcheck=0#==============================================================#                                                                                  
禁用防火墙                                                                                       
#==============================================================#                                                                                  ● firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)Active: inactive (dead)Docs: man:firewalld(1)226 13:11:07 kylin systemd[1]: Starting firewalld - dynamic firewall daemon...
226 13:11:09 kylin systemd[1]: Started firewalld - dynamic firewall daemon.
226 13:37:29 kylin systemd[1]: Stopping firewalld - dynamic firewall daemon...
226 13:37:30 kylin systemd[1]: firewalld.service: Succeeded.
226 13:37:30 kylin systemd[1]: Stopped firewalld - dynamic firewall daemon.#==============================================================#                                                                                  
禁用 SELinux                                                                                        
#==============================================================#                                                                                  SELinux status:                 disabled#==============================================================#                                                                                  
YUM 静默安装依赖包                                                                                  
#==============================================================#                                                                                  bc-1.07.1-11.ky10.x86_64
binutils-2.34-19.p01.ky10.x86_64
未安装软件包 compat-libcap1 
gcc-7.3.0-20220207.45.ky10.x86_64
gcc-c++-7.3.0-20220207.45.ky10.x86_64
未安装软件包 elfutils-libelf 
未安装软件包 elfutils-libelf-devel 
glibc-2.28-88.p06.ky10.x86_64
glibc-devel-2.28-88.p06.ky10.x86_64
libaio-0.3.112-1.p01.ky10.x86_64
libaio-devel-0.3.112-1.p01.ky10.x86_64
libgcc-7.3.0-20220207.45.ky10.x86_64
libstdc++-7.3.0-20220207.45.ky10.x86_64
libstdc++-devel-7.3.0-20220207.45.ky10.x86_64
libxcb-1.14-1.ky10.x86_64
libX11-1.6.9-5.ky10.x86_64
libXau-1.0.9-2.ky10.x86_64
libXi-1.7.10-1.ky10.x86_64
libXrender-0.9.10-10.ky10.x86_64
make-4.3-1.ky10.x86_64
net-tools-2.0-0.54.ky10.x86_64
smartmontools-7.1-1.ky10.x86_64
sysstat-12.2.1-1.p00.ky10.x86_64
e2fsprogs-1.45.6-8.ky10.x86_64
未安装软件包 e2fsprogs-libs 
unzip-6.0-47.ky10.x86_64
openssh-clients-8.2p1-16.p04.ky10.x86_64
readline-8.0-3.ky10.x86_64
readline-devel-8.0-3.ky10.x86_64
psmisc-23.3-2.ky10.x86_64
ksh-2020.0.0-4.ky10.x86_64
nfs-utils-2.5.1-5.ky10.x86_64
tar-1.32-2.ky10.x86_64
未安装软件包 device-mapper-multipath 
avahi-0.8-8.ky10.x86_64
ntp-4.2.8p14-5.ky10.x86_64
chrony-3.5-3.p01.ky10.x86_64
libXtst-1.2.3-10.ky10.x86_64
libXrender-devel-0.9.10-10.ky10.x86_64
fontconfig-devel-2.13.92-1.ky10.x86_64
policycoreutils-3.1-7.p01.ky10.x86_64
未安装软件包 policycoreutils-python 
未安装软件包 librdmacm 
未安装软件包 libnsl* 
未安装软件包 libibverbs 
未安装软件包 compat-openssl10 
policycoreutils-python-utils-3.1-7.p01.ky10.noarch#==============================================================#                                                                                  
配置主机名                                                                                       
#==============================================================#                                                                                  kylin#==============================================================#                                                                                  
配置 /etc/hosts 文件                                                                                  
#==============================================================#                                                                                  127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6## OracleBegin
## Public IP
192.168.6.222   kylin#==============================================================#                                                                                  
创建用户和组                                                                                    
#==============================================================#                                                                                  oracle 用户:                                                                                      用户id=54321(oracle) 组id=54321(oinstall)=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)#==============================================================#                                                                                  
配置 Avahi-daemon 服务                                                                                  
#==============================================================#                                                                                  ● avahi-daemon.service - Avahi mDNS/DNS-SD StackLoaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled)Active: inactive (dead)#==============================================================#                                                                                  
配置透明大页 && NUMA && 磁盘 IO 调度器                                                                                  
#==============================================================#                                                                                  args="ro resume=/dev/mapper/klas-swap rd.lvm.lv=klas/root rd.lvm.lv=klas/swap rhgb quiet crashkernel=1024M,high audit=0 numa=off transparent_hugepage=never elevator=deadline"
-resume=/dev/mapper/klas-swap
-args="ro
args="ro resume=/dev/mapper/klas-swap rd.lvm.lv=klas/root rd.lvm.lv=klas/swap rhgb quiet crashkernel=1024M,high audit=0 numa=off transparent_hugepage=never elevator=deadline"
-audit=0
-crashkernel=1024M,high#==============================================================#                                                                                  
配置 sysctl.conf                                                                                    
#==============================================================#                                                                                  kernel.sysrq = 0
net.ipv4.ip_forward = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.tcp_syncookies = 1
kernel.dmesg_restrict = 1
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 7010422783
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
vm.min_free_kbytes = 27384
net.ipv4.conf.ens33.rp_filter = 1
vm.swappiness = 10
kernel.panic_on_oops = 1
kernel.randomize_va_space = 2
kernel.numa_balancing = 0#==============================================================#                                                                                  
配置 nsysctl.conf                                                                                   
#==============================================================#                                                                                  NOZEROCONF=yes#==============================================================#                                                                                  
配置 RemoveIPC                                                                                      
#==============================================================#                                                                                  [Login]
RemoveIPC=no#==============================================================#                                                                                  
配置 /etc/security/limits.conf 和 /etc/pam.d/login                                                                                  
#==============================================================#                                                                                  查看 /etc/security/limits.conf:                                                                                  oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768
oracle soft nproc 2047
oracle hard nproc 16384
oracle hard memlock unlimited
oracle soft memlock unlimited查看 /etc/pam.d/login 文件:                                                                                  auth       substack     system-auth
auth       include      postlogin
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
session    required     pam_selinux.so close
session    required     pam_loginuid.so
session    required     pam_selinux.so open
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    include      system-auth
session    include      postlogin
-session   optional     pam_ck_connector.so
session required pam_limits.so
session required /lib64/security/pam_limits.so#==============================================================#                                                                                  
配置 /dev/shm                                                                                       
#==============================================================#                                                                                  /dev/mapper/klas-root   /                       xfs     defaults        0 0
UUID=c8e47a65-11c4-4e4e-84ce-95f9f618be7e /boot                   xfs     defaults        0 0
/dev/mapper/klas-swap   none                    swap    defaults        0 0
tmpfs /dev/shm tmpfs size=6846116k 0 0#==============================================================#                                                                                  
安装 rlwrap 插件                                                                                  
#==============================================================#                                                                                  成功安装 rlwrap: rlwrap 0.44                                                                      #==============================================================#                                                                                  
Root 用户环境变量                                                                                  
#==============================================================#                                                                                  if [ -f ~/.bashrc ]; then. ~/.bashrc
fi
PATH=$PATH:$HOME/bin
export PATH
alias so='su - oracle'
export PS1="[`whoami`@`hostname`:"'$PWD]$ '#==============================================================#                                                                                  
Oracle 用户环境变量                                                                                  
#==============================================================#                                                                                  [ -f ~/.bashrc ] && . ~/.bashrc
umask 022
export TMP=/tmp
export TMPDIR=$TMP
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
export ORACLE_TERM=xterm
export TNS_ADMIN=$ORACLE_HOME/network/admin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export ORACLE_SID=lucifer
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib
alias sas='sqlplus / as sysdba'
alias awr='sqlplus / as sysdba @?/rdbms/admin/awrrpt'
alias ash='sqlplus / as sysdba @?/rdbms/admin/ashrpt'
alias alert='vi $ORACLE_BASE/diag/rdbms/*/$ORACLE_SID/trace/alert_$ORACLE_SID.log'
export PS1="[`whoami`@`hostname`:"'$PWD]$ '
export CV_ASSUME_DISTID=OL7
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias adrci='rlwrap adrci'#==============================================================#                                                                                  
静默解压 Oracle 软件包                                                                                  
#==============================================================#                                                                                  正在静默解压缩 Oracle 软件包,请稍等:                                                                                  .---- -. -. .  .   .        .
( .',----- - - ' '      '                                         __\_/      ;--:-          __--------------------___  ____=========_||___
__U__n_^_''__[.  ooo___  | |_!_||_!_||_!_||_!_| |   |..|_i_|..|_i_|..|
c(_ ..(_ ..(_ ..( /,,,,,,] | |___||___||___||___| |   |                |
,_\___________'_|,L______],|______________________|_i,!________________!_i
/;_(@)(@)==(@)(@)   (o)(o)      (o)^(o)--(o)^(o)          (o)(o)-(o)(o)
""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"'""静默解压 Oracle 软件安装包: /soft/p13390677_112040_Linux-x86-64_1of7.zip,/soft/p13390677_112040_Linux-x86-64_2of7.zip                                                                                  静默解压 Oracle 软件补丁包: /soft/p35574075*.zip                                                                                  静默解压 Oracle 软件补丁包:/soft/p33991024_11204220118_Generic.zip                                                                                  静默解压 OJVM 软件补丁包: /soft/p35685663*.zip                                                                                  #==============================================================#                                                                                  
Oracle 安装静默文件                                                                                  
#==============================================================#                                                                                  oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=oper
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
SELECTED_LANGUAGES=en,zh_CN
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES#==============================================================#                                                                                  
静默安装数据库软件                                                                                  
#==============================================================#                                                                                  Starting Oracle Universal Installer...Checking Temp space: must be greater than 120 MB.   Actual 3342 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8180 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2024-02-26_01-38-53PM. Please wait ...You can find the log of this install session at:/u01/app/oraInventory/logs/installActions2024-02-26_01-38-53PM.logPrepare in progress.
..................................................   9% Done.Prepare successful.Copy files in progress.
..................................................   14% Done.
..................................................   20% Done.
..................................................   26% Done.
..................................................   31% Done.
..................................................   36% Done.
..................................................   41% Done.
..................................................   47% Done.
..................................................   52% Done.
..................................................   57% Done.
..................................................   63% Done.
..................................................   68% Done.
..................................................   73% Done.
..................................................   78% Done.
..................................................   83% Done.
..............................
Copy files successful.Link binaries in progress.
..........
Link binaries successful.Setup files in progress.
..................................................   88% Done.
..................................................   94% Done.Setup files successful.
The installation of Oracle Database 11g was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2024-02-26_01-38-53PM.log' for more details.Execute Root Scripts in progress.As a root user, execute the following script(s):1. /u01/app/oraInventory/orainstRoot.sh2. /u01/app/oracle/product/11.2.0/db/root.sh..................................................   100% Done.Execute Root Scripts successful.
Successfully Setup Software.#==============================================================#                                                                                  
执行 root 脚本                                                                                    
#==============================================================#                                                                                  Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
Check /u01/app/oracle/product/11.2.0/db/install/root_kylin_2024-02-26_13-41-18.log for the output of root script#==============================================================#                                                                                  
Oracle 软件安装补丁                                                                                  
#==============================================================#                                                                                  Oracle Interim Patch Installer version 11.2.0.3.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.PREREQ sessionOracle Home       : /u01/app/oracle/product/11.2.0/db
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/11.2.0/db/oraInst.loc
OPatch version    : 11.2.0.3.44
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-41-22PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.
Oracle Interim Patch Installer version 11.2.0.3.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/11.2.0/db
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/11.2.0/db/oraInst.loc
OPatch version    : 11.2.0.3.44
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-41-26PM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   17478514  18031668  18522509  19121551  19769489  20299013  20760982  21352635  21948347  22502456  23054359  24006111  24732075  25869727  26609445  26392168  26925576  27338049  27734982  28204707  28729262  29141056  29497421  29913194  30298532  30670774  31103343  31537677  31983472  32328626  32758711  33128584  33477185  33711103  34057724  34386237  34677698  34998337  35269283  35574075  Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying sub-patch '17478514' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sdo, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.sdo.locator, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...
Applying sub-patch '18031668' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.rdbms.crs, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...
Applying sub-patch '18522509' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
Applying sub-patch '19121551' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.ordim.client, 11.2.0.4.0...Patching component oracle.ordim.jai, 11.2.0.4.0...
Applying sub-patch '19769489' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.sysman.agent, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.ovm, 11.2.0.4.0...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.oraolap, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
Applying sub-patch '20299013' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.oci, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.sysman.common, 10.2.0.4.5...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.common.core, 10.2.0.4.5...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
Applying sub-patch '20760982' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Applying sub-patch '21352635' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...
Applying sub-patch '21948347' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.ovm, 11.2.0.4.0...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.oms.core, 10.2.0.4.5...
Applying sub-patch '22502456' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.oraolap.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.olap, 11.2.0.4.0...Patching component oracle.oraolap, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
Applying sub-patch '23054359' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Applying sub-patch '24006111' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sqlplus.ic, 11.2.0.4.0...Patching component oracle.sqlplus, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
Applying sub-patch '24732075' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.plugin.db.main.agent, 11.2.0.4.0...Patching component oracle.sqlplus.ic, 11.2.0.4.0...Patching component oracle.sqlplus, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.ordim.client, 11.2.0.4.0...Patching component oracle.ordim.jai, 11.2.0.4.0...Patching component oracle.ordim.server, 11.2.0.4.0...
Applying sub-patch '25869727' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...
Applying sub-patch '26609445' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...
Applying sub-patch '26392168' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.client, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.network.listener, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...
Applying sub-patch '26925576' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Applying sub-patch '27338049' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.assistants.server, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
Applying sub-patch '27734982' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ctx.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...
Applying sub-patch '28204707' to OH '/u01/app/oracle/product/11.2.0/db'
Applying changes to emctl script on the home: /u01/app/oracle/product/11.2.0/db ...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.ldap.security.osdt, 11.2.0.4.0...Patching component oracle.ldap.owm, 11.2.0.4.0...Patching component oracle.sqlplus.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '28729262' to OH '/u01/app/oracle/product/11.2.0/db'
INFO: Script isn't applicable to this port!Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '29141056' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Applying sub-patch '29497421' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '29913194' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...
Applying sub-patch '30298532' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
Applying sub-patch '30670774' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.swd.oui, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '31103343' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Applying sub-patch '31537677' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.dbdev, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...
Applying sub-patch '31983472' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '32328626' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
Applying sub-patch '32758711' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...
Applying sub-patch '33128584' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '33477185' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...
Applying sub-patch '33711103' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...Patching component oracle.rdbms.hs_common, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...
Applying sub-patch '34057724' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.swd.oui.core, 11.2.0.4.0...
Applying sub-patch '34386237' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.swd.oui.core, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...
Applying sub-patch '34677698' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...
Applying sub-patch '34998337' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Applying sub-patch '35269283' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.dbdev, 11.2.0.4.0...
Applying sub-patch '35574075' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.oms.core, 10.2.0.4.5...Patching component oracle.marvel, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Patching component oracle.dbjava.ucp, 11.2.0.4.0...Patching component oracle.owb.rsf, 11.2.0.4.0...Patching component oracle.sysman.ccr, 10.3.8.1.0...Patching component oracle.sysman.ccr.client, 10.3.2.1.0...Patching component oracle.sysman.common, 10.2.0.4.5...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...
Composite patch 35574075 successfully applied.
Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-41-26PM_1.logOPatch succeeded.#==============================================================#                                                                                  
Oracle 软件安装补丁 33991024                                                                                  
#==============================================================#                                                                                  Oracle Interim Patch Installer version 11.2.0.3.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.PREREQ sessionOracle Home       : /u01/app/oracle/product/11.2.0/db
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/11.2.0/db/oraInst.loc
OPatch version    : 11.2.0.3.44
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-50-26PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.
Oracle Interim Patch Installer version 11.2.0.3.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/11.2.0/db
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/11.2.0/db/oraInst.loc
OPatch version    : 11.2.0.3.44
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-50-29PM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   33991024  Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying interim patch '33991024' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Patching component oracle.has.db, 11.2.0.4.0...
Patch 33991024 successfully applied.
Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-50-29PM_1.logOPatch succeeded.#==============================================================#                                                                                  
Oracle 执行 relink                                                                                  
#==============================================================#                                                                                  writing relink log to: /u01/app/oracle/product/11.2.0/db/install/relink.log#==============================================================#                                                                                  
OJVM 补丁安装                                                                                     
#==============================================================#                                                                                  Oracle Interim Patch Installer version 11.2.0.3.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.PREREQ sessionOracle Home       : /u01/app/oracle/product/11.2.0/db
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/11.2.0/db/oraInst.loc
OPatch version    : 11.2.0.3.44
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-51-26PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.
Oracle Interim Patch Installer version 11.2.0.3.44
Copyright (c) 2024, Oracle Corporation.  All rights reserved.Oracle Home       : /u01/app/oracle/product/11.2.0/db
Central Inventory : /u01/app/oraInventoryfrom           : /u01/app/oracle/product/11.2.0/db/oraInst.loc
OPatch version    : 11.2.0.3.44
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-51-29PM_1.logVerifying environment and performing prerequisite checks...
OPatch continues with these patches:   35685663  Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying interim patch '35685663' to OH '/u01/app/oracle/product/11.2.0/db'
ApplySession: Optional component(s) [ oracle.sqlj, 11.2.0.4.0 ] , [ oracle.sqlj.companion, 11.2.0.4.0 ]  not present in the Oracle Home or a higher version is found.Patching component oracle.javavm.server, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.javavm.client, 11.2.0.4.0...Patching component oracle.dbjava.jdbc, 11.2.0.4.0...Patching component oracle.dbjava.ic, 11.2.0.4.0...
Patch 35685663 successfully applied.
Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-02-26_13-51-29PM_1.logOPatch succeeded.#==============================================================#                                                                                  
Oracle 软件版本                                                                                   
#==============================================================#                                                                                  SQL*Plus: Release 11.2.0.4.0 Production#==============================================================#                                                                                  
Oracle 补丁信息                                                                                   
#==============================================================#                                                                                  35685663;OJVM PATCH SET UPDATE 11.2.0.4.231017
33991024;11204CERT ON OL8: LINKING ERRORS DURING 11204 FOR DB INSTALL ON OL8.2
35574075;Database Patch Set Update : 11.2.0.4.231017 (35574075)OPatch succeeded.#==============================================================#                                                                                  
配置监听                                                                                          
#==============================================================#                                                                                  Parsing command line arguments:Parameter "silent" = trueParameter "responsefile" = /u01/app/oracle/product/11.2.0/db/assistants/netca/netca.rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
Profile configuration complete.
Oracle Net Listener Startup:Running Listener Control: /u01/app/oracle/product/11.2.0/db/bin/lsnrctl start LISTENERListener Control complete.Listener started successfully.
Listener configuration complete.
Oracle Net Services configuration successful. The exit code is 0检查监听状态:                                                                                  LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 26-FEB-2024 13:52:01Copyright (c) 1991, 2013, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date                26-FEB-2024 13:52:00
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/11.2.0/db/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/kylin/listener/alert/log.xml
Listening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=kylin)(PORT=1521)))
The listener supports no services
The command completed successfully#==============================================================#                                                                                  
静默建库命令                                                                                    
#==============================================================#                                                                                  dbca -silent -createDatabase \
-templateName General_Purpose.dbc \
-responseFile NO_VALUE \
-gdbname lucifer \
-sid lucifer \
-sysPassword welcome1 \
-systemPassword welcome1 \
-redoLogFileSize 100 \
-datafileDestination /oradata \
-storageType FS \
-characterSet AL32UTF8 \
-nationalCharacterSet AL16UTF16 \
-emConfiguration NONE \
-automaticMemoryManagement false \
-totalMemory 3342 \
-databaseType OLTP                                                                                  #==============================================================#                                                                                  
创建数据库                                                                                       
#==============================================================#                                                                                  Copying database files
1% complete
3% complete
11% complete
18% complete
26% complete
37% complete
Creating and starting Oracle instance
40% complete
45% complete
50% complete
55% complete
56% complete
60% complete
62% complete
Completing Database Creation
66% complete
70% complete
73% complete
74% complete
75% complete
76% complete
77% complete
78% complete
79% complete
80% complete
92% complete
100% complete
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/lucifer/lucifer.log" for further details.#==============================================================#                                                                                  
配置在线重做日志                                                                                  
#==============================================================#                                                                                  数据库在线重做日志文件:                                                                                  THREAD#     GROUP# MEMBER                                                                                                                      size(M)
---------- ---------- ------------------------------------------------------------------------------------------------------------------------ ----------1          1 /oradata/lucifer/redo01.log                                                                                                     1001          2 /oradata/lucifer/redo02.log                                                                                                     1001          3 /oradata/lucifer/redo03.log                                                                                                     1001         11 /oradata/LUCIFER/onlinelog/o1_mf_11_lxrbctj0_.log                                                                               1001         11 /u01/app/oracle/fast_recovery_area/LUCIFER/onlinelog/o1_mf_11_lxrbctlc_.log                                                     1001         12 /oradata/LUCIFER/onlinelog/o1_mf_12_lxrbcto3_.log                                                                               1001         12 /u01/app/oracle/fast_recovery_area/LUCIFER/onlinelog/o1_mf_12_lxrbctqg_.log                                                     1001         13 /oradata/LUCIFER/onlinelog/o1_mf_13_lxrbctsl_.log                                                                               1001         13 /u01/app/oracle/fast_recovery_area/LUCIFER/onlinelog/o1_mf_13_lxrbctvx_.log                                                     1001         14 /oradata/LUCIFER/onlinelog/o1_mf_14_lxrbctyb_.log                                                                               1001         14 /u01/app/oracle/fast_recovery_area/LUCIFER/onlinelog/o1_mf_14_lxrbcvb4_.log                                                     1001         15 /oradata/LUCIFER/onlinelog/o1_mf_15_lxrbcvnh_.log                                                                               1001         15 /u01/app/oracle/fast_recovery_area/LUCIFER/onlinelog/o1_mf_15_lxrbcw59_.log                                                     100#==============================================================#                                                                                  
配置 RMAN 备份任务                                                                                  
#==============================================================#                                                                                  ## OracleBegin
00 02 * * * /home/oracle/scripts/del_arch.sh
#00 00 * * 0 /home/oracle/scripts/dbbackup_lv0.sh
#00 00 * * 1,2,3,4,5,6 /home/oracle/scripts/dbbackup_lv1.sh#==============================================================#                                                                                  
配置 glogin.sql                                                                                     
#==============================================================#                                                                                  define _editor=vi
set serveroutput on size 1000000
set pagesize 9999
set long 99999
set trimspool on
col name format a80
set termout off
define gname=idle
column global_name new_value gname
select lower(user) || '@' || substr( global_name, 1, decode( dot, 0, length(global_name), dot-1) ) global_name from (select global_name, instr(global_name,'.') dot from global_name );
ALTER SESSION SET nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
set sqlprompt '&gname _DATE> '
set termout on#==============================================================#                                                                                  
优化数据库参数                                                                                  
#==============================================================#                                                                                  数据库参数:                                                                                    NAME                                               SID        SPVALUE                                                                          VALUE
-------------------------------------------------- ---------- -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
_b_tree_bitmap_plans                               *          FALSE                                                                            FALSE
_datafile_write_errors_crash_instance              *          FALSE                                                                            FALSE
audit_file_dest                                    *          /u01/app/oracle/admin/lucifer/adump                                              /u01/app/oracle/admin/lucifer/adump
audit_trail                                        *          NONE                                                                             DB
compatible                                         *          11.2.0.4.0                                                                       11.2.0.4.0
control_file_record_keep_time                      *          31                                                                               31
db_block_size                                      *          8192                                                                             8192
db_create_file_dest                                *          /oradata                                                                         /oradata
db_file_multiblock_read_count                      *                                                                                           128
db_files                                           *          5000                                                                             200
db_name                                            *          lucifer                                                                          lucifer
db_recovery_file_dest                              *          /u01/app/oracle/fast_recovery_area                                               /u01/app/oracle/fast_recovery_area
db_recovery_file_dest_size                         *          4857004032                                                                       4857004032
db_writer_processes                                *                                                                                           1
deferred_segment_creation                          *          FALSE                                                                            FALSE
diagnostic_dest                                    *          /u01/app/oracle                                                                  /u01/app/oracle
dispatchers                                        *          (PROTOCOL=TCP) (SERVICE=luciferXDB)                                              (PROTOCOL=TCP) (SERVICE=luciferXDB)
enable_ddl_logging                                 *          TRUE                                                                             FALSE
event                                              *          10949 trace name context forever,level 1
event                                              *          28401 trace name context forever,level 1
fast_start_parallel_rollback                       *                                                                                           LOW
log_archive_dest_1                                 *          location=/oradata/archivelog                                                     location=/oradata/archivelog
log_archive_format                                 *          %t_%s_%r.dbf                                                                     %t_%s_%r.dbf
max_dump_file_size                                 *                                                                                           unlimited
open_cursors                                       *          1000                                                                             300
optimizer_index_caching                            *                                                                                           0
optimizer_mode                                     *                                                                                           ALL_ROWS
parallel_force_local                               *                                                                                           FALSE
parallel_max_servers                               *          64                                                                               64
pga_aggregate_target                               *          1120927744                                                                       700448768
processes                                          *          2000                                                                             150
remote_login_passwordfile                          *          EXCLUSIVE                                                                        EXCLUSIVE
resource_limit                                     *          TRUE                                                                             FALSE
resource_manager_plan                              *          force:
sec_case_sensitive_logon                           *          FALSE                                                                            TRUE
session_cached_cursors                             *          300                                                                              50
sessions                                           *                                                                                           248
sga_max_size                                       *          4485808128                                                                       2818572288
sga_target                                         *          4485808128                                                                       2818572288
spfile                                             *                                                                                           /u01/app/oracle/product/11.2.0/db/dbs/spfilelucifer.ora
statistics_level                                   *                                                                                           TYPICAL
undo_retention                                     *          10800                                                                            900恭喜!Oracle 单机安装成功,现在是否重启主机:[Y/N] 

连接数据库

重启数据库后,连接数据库:

[oracle@kylin:/home/oracle]$ sasSQL*Plus: Release 11.2.0.4.0 Production on Mon Feb 26 14:03:35 2024Copyright (c) 1982, 2013, Oracle.  All rights reserved.Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionssys@LUCIFER 2024-02-26 14:03:35> show parameter nameNAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cell_offloadgroup_name               string
db_file_name_convert                 string
db_name                              string      lucifer
db_unique_name                       string      lucifer
global_names                         boolean     FALSE
instance_name                        string      lucifer
lock_name_space                      string
log_file_name_convert                string
processor_group_name                 string
service_names                        string      lucifer

查看补丁版本:

[oracle@kylin:/home/oracle]$ opatch lspatches
35685663;OJVM PATCH SET UPDATE 11.2.0.4.231017
33991024;11204CERT ON OL8: LINKING ERRORS DURING 11204 FOR DB INSTALL ON OL8.2
35574075;Database Patch Set Update : 11.2.0.4.231017 (35574075)OPatch succeeded.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/757516.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

提升合规性!Zoho如何优化CRM产品合规性?

在企业数字化和信息化高速发展的今天&#xff0c;CRM管理系统成为越来越多企业的选择。然而&#xff0c;不是所有CRM供应商都有合规意识。合规性不应当只是一项法律规定&#xff0c;更是保证CRM供应商持续发展、赢得客户信赖以及应付监管压力的关键支撑。Zoho对企业合规性的重视…

Python探索反距离加权空间插值方法的深度

介绍 反距离加权 (IDW) 是一种广泛用于地理信息系统 (GIS) 和环境科学的空间插值技术,用于根据附近位置的值估计任何位置的缺失值。其基本原理很直观:距离兴趣点较近的位置比距离较远的位置更相似。本文深入探讨了 IDW 的方法、应用、优势和局限性,深入探讨了其在空间分析中…

招聘必备知识:求职者跟进邮件如何写?

写一封正确的招聘跟进邮件是一门艺术。在面试结束后给你的候选人发一封好的后续邮件可以为招聘工作创造奇迹&#xff0c;甚至最终入职的候选人也是如此。 与候选人保持良好的沟通&#xff0c;可以确保他们一直参与其中&#xff0c;给予他们应得的尊重和赞赏。然而&#xff0c;…

机器学习——终身学习

终身学习 AI不断学习新的任务&#xff0c;最终进化成天网控制人类终身学习&#xff08;LLL&#xff09;&#xff0c;持续学习&#xff0c;永不停止的学习&#xff0c;增量学习 用线上收集的资料不断的训练模型 问题就是对之前的任务进行遗忘&#xff0c;在之前的任务上表现不好…

HarmonyOS系统开发ArkTS常用组件按钮及参数

Button组件有两种使用方式&#xff0c;分别是不包含子组件和包含子组件两种方式。不同方式Button 组件所需的参数有所不同。 1、不包含子组件 Button(label?: string, options?: { type?: ButtonType, stateEffect?: boolean }) label为按钮上显示的文字内容options.type…

21个 JVM 技术点详解(附面试解答)

最近兄弟们面试&#xff0c;都逃不过被 JVM 问题轰炸的命运&#xff0c;为啥面试官喜欢拿 JVM 说事呢&#xff1f;V 哥认为&#xff0c;除了要问倒你&#xff0c;就是要压你薪水&#xff0c;咱绝对不能怂&#xff0c;俗话说的好&#xff1a;兵来将挡&#xff0c;水来土掩&#…

模拟面试

1.TCP通信中的三次握手和四次挥手过程 三次握手 1.客户端像向服务器端发送连接请求 2.服务器应答连接请求 3.客户端与服务器简历连接 四次挥手&#xff1a; 客户端或服务器端发起断开请求,这里假设客户端发送断开请求 1.客户端向服务器发送断开请求 2.服务器应答断开请求 3.服…

JavaSE(上)-Day6

JavaSE&#xff08;上&#xff09;-Day6 数组数组的定义数组的初始化打印数组分析数组索引数组内存图 方法方法的定义和调用方法的重载方法的内存图 二维数组二位数组的创建和初始化二维数组的内存图 数组 1.数组是一种容器&#xff0c;可以一次存储多个相同类型的数据 数组的…

opengl日记9-opengl使用纹理示例

环境 系统&#xff1a;ubuntu20.04opengl版本&#xff1a;4.6glfw版本&#xff1a;3.3glad版本&#xff1a;4.6cmake版本&#xff1a;3.16.3gcc版本&#xff1a;10.3.0 直接上代码 CMakeLists.txt cmake_minimum_required(VERSION 3.5) set(CMAKE_C_STANDARD 11) set(CMAKE_…

【linux线程(三)】生产者消费者模型详解(多版本)

&#x1f493;博主CSDN主页:杭电码农-NEO&#x1f493;   ⏩专栏分类:Linux从入门到精通⏪   &#x1f69a;代码仓库:NEO的学习日记&#x1f69a;   &#x1f339;关注我&#x1faf5;带你学更多操作系统知识   &#x1f51d;&#x1f51d; Linux线程 1. 前言2. 初识生产…

【GameFramework框架内置模块】10、本地化(Localization)

推荐阅读 CSDN主页GitHub开源地址Unity3D插件分享简书地址 大家好&#xff0c;我是佛系工程师☆恬静的小魔龙☆&#xff0c;不定时更新Unity开发技巧&#xff0c;觉得有用记得一键三连哦。 一、前言 【GameFramework框架】系列教程目录&#xff1a; https://blog.csdn.net/q7…

哔哩哔哩秋招Java二面

前言 作者&#xff1a;晓宜 个人简介&#xff1a;互联网大厂Java准入职&#xff0c;阿里云专家博主&#xff0c;csdn后端优质创作者&#xff0c;算法爱好者 一面过后面试官叫我别走&#xff0c;然后就直接二面&#xff0c;二面比较简短&#xff0c;记录一下&#xff0c;希望可以…

绝地求生:现在购买通行证还能兑换成长型武器吗?

大家好&#xff0c;我闲游盒&#xff0c;这几天收到几位盒友的私信咨询我现在购买通行证还能获得一把成长型武器吗&#xff1f;我相信还有许多盒友也有此困惑&#xff0c;那我就在这统一回复了&#xff0c;目前距通行证和商城物资箱礼包下架还有最后16天时间&#xff0c;众所周…

js实现hash路由原理

一、简单的上下布局&#xff0c;点击左侧导航&#xff0c;中间内容跟对变化&#xff0c;主要技术使用js检测路由的onhashchange事件 效果图 二、话不多说&#xff0c;直接上代码 <!DOCTYPE html> <html lang"zh"><head><meta charset"…

FPGA控制AD7606_AD7606解读

目录 一、AD7606解读二、引脚说明三、时序图 一、AD7606解读 AD7606特点&#xff1a; 8通道同步采样模拟通道数为8分辨率&#xff1a;16bit&#xff0c;即最小采样的电压为5V/(2^16) 0,00007V&#xff0c;即数字量的1就代表模拟量的0,00007V&#xff0c;2代表0,00014V有效位数…

C语言易错知识点

1、数组长度及所占字节数 char x[] {"Hello"},y[]{H,e,l,l,o}; x数组的长度为5&#xff0c;y的长度也是5 x、y数组所占字符串为6为 51(\0)6 strlen&#xff08;&#xff09;函数得到的是数组的长度 2、%%与%的优先级 #include<stdio.h> int main(){ int a…

iOS图片占内存大小与什么有关?

1. 问&#xff1a;一张图片所占内存大小跟什么有关&#xff1f; 图片所占内存大小&#xff0c;与图片的宽高有关 我们平时看到的png、jpg、webp这些图片格式&#xff0c;其实都是图片压缩格式。通过对应的算法来优化了大小以节省网络传输与本地保存所需的资源。 但是当我们加…

再谈EMC Unity存储系统内存DIMM问题

以前写过一篇关于EMC Unity 存储系统的DIMM的介绍文章&#xff0c;但是最近还是遇到很多关于内存的问题&#xff0c;还有一些退货&#xff0c;所以有必要再写一篇关于EMC Unity 内存方面的问题&#xff0c;供朋友们参考。如果还有疑问&#xff0c;可以加vx&#xff1a;StorageE…

【黑马头条】-day01环境搭建SpringBoot-Cloud-Nacos

文章目录 1 环境搭建及简介2 项目介绍2.1 应用2.2 业务说明2.3 技术栈2.4 收获2.5 大纲 3 Nacos准备3.1 安装Nacos 4 初始工程搭建4.1 环境准备4.1.1 导入项目4.1.2 设置本地仓库4.1.3 设置项目编码格式 4.2 全局异常4.2.1 自动装配 4.3 工程主体结构 5 登录功能开发5.1 需求分…

echart多折线图堆叠 y轴和实际数据不对应

当使用 ECharts 绘制堆叠折线图时&#xff0c;有时会遇到 y 轴与实际数据不对应的问题。 比如明明值是50&#xff0c;但折线点在y轴的对应点却飙升到了二百多 解决办法&#xff1a; 查看了前端代码发现在echart的图表中有一个‘stack’的属性&#xff0c;尝试把他删除之后y轴的…