Silent Mode 로 설치 테스트 (Enterprise Edition 임)

 

이전에 19c 방식과 비슷하면서 약간 다르다.

 

[CDB]oracle@26ai:/u01/app/oracle/product/26.0.0.0/dbhome_1# ./runInstaller  -silent  -ignorePrereqFailure  -setupDBHome -OSDBA dba -OSBACKUPDBA dba -OSDGDBA dba -OSKMDBA dba -OSRACDBA dba -ORACLE_BASE /u01/app/oracle -installEdition EE -INVENTORY_LOCATION /u01/app/oraInventory 

 

Launching Oracle AI Database Setup Wizard...

[WARNING] [INS-13014] Target environment does not meet some optional requirements.
   CAUSE: Some of the optional prerequisites are not met. See logs for details. /u01/app/oraInventory/logs/InstallActions2026-06-17_11-44-08AM/installActions2026-06-17_11-44-08AM.log.
   ACTION: Identify the list of failed prerequisite checks from the log: /u01/app/oraInventory/logs/InstallActions2026-06-17_11-44-08AM/installActions2026-06-17_11-44-08AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
The response file for this session can be found at:
 /u01/app/oracle/product/26.0.0.0/dbhome_1/install/response/db_2026-06-17_11-44-08AM.rsp

You can find the log of this install session at:
 /u01/app/oraInventory/logs/InstallActions2026-06-17_11-44-08AM/installActions2026-06-17_11-44-08AM.log

As a root user, run the following script(s):
        1. /u01/app/oracle/product/26.0.0.0/dbhome_1/root.sh

Run /u01/app/oracle/product/26.0.0.0/dbhome_1/root.sh on the following nodes: 
[26ai]

Successfully Setup Software with warning(s).

 

다음은 Database 생성

dbca -silent -createDatabase -templateName /u01/app/oracle/product/26.0.0.0/dbhome_1/assistants/dbca/templates/New_Database.dbt -gdbName CDB -sid CDB \
-sysPassword oracle -systemPassword oracle  -createAsContainerDatabase true  -numberOfPDBs 1 -pdbName PDB1 \

-pdbAdminPassword oracle  -characterSet AL32UTF8  -nationalCharacterSet AL16UTF16 -totalMemory 6000

 

[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 keyword 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 keyword 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 'PDBADMIN' 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 keyword 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
7% complete
Creating and starting Oracle instance
9% complete
13% complete
Creating database files
14% complete
20% complete
Creating data dictionary views
22% complete
26% complete
28% complete
30% complete
40% complete
Creating cluster database views
41% complete
53% complete
Completing Database Creation
57% complete
59% complete
60% complete
Creating Pluggable Databases
64% complete
80% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
 /u01/app/oracle/cfgtoollogs/dbca/CDB.
Database Information:
Global Database Name:CDB
System Identifier(SID):CDB
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/CDB/CDB0.log" for further details.

 

또는 rsp 화일 만들어서 해도 된다.

 

 dbca -silent -createDatabase -responsefile /home/oracle/dbca.rsp

 

vi dbca.rsp

 

gdbName=CDB
sid=CDB
databaseConfigType=SINGLE
storageType=FS
createAsContainerDatabase=true
numberOfPDBs=1
pdbName=PDB1
templateName=New_Database.dbt
sysPassword=oracle
systemPassword=oracle
pdbAdminPassword=oracle
emConfiguration=NONE
characterSet=AL32UTF8
nationalCharacterSet=AL16UTF16
databaseType=MULTIPURPOSE
totalMemory=6000m

 

Posted by pat98

26ai 는 아직 On-Premises에  Enterprise Edition 만 있음

 

클라우드는 지원이 된다.

 


일단 GUI에서는 안되니 silent mode 로는 되나?  테스트 한번해봄..

[CDB]oracle@26ai:/u01/app/oracle/product/26.0.0.0/dbhome_1# ./runInstaller  -silent  -ignorePrereqFailure  -setupDBHome -OSDBA dba -OSBACKUPDBA dba -OSDGDBA dba -OSKMDBA dba -OSRACDBA dba \
 -ORACLE_BASE /u01/app/oracle -installEdition SE2 -INVENTORY_LOCATION /u01/app/oraInventory 


Launching Oracle AI Database Setup Wizard...

[FATAL] [INS-35464] The installer does not support installing the Standard Edition 2 of Oracle Database.
   ACTION: Specify a valid choice for the Oracle Database Edition.
   
 ->  2026/6/17일 현재 아직 SE2 버전은 지원안됨.

Posted by pat98

특정사이트에서 필요한 파일만 받고 싶은 경우가 있다. 

 

예를 들어 아래의 오라클 기술문서 Manual 사이트에서 전체 pdf 화일만 긁어서 다운 받고자 할 때 이렇게 하면 노가다 없이 쉽게 받아진다. (Chrome 확장프로그램 써도 되지만 커맨드로 간단하게)


https://docs.oracle.com/en/database/oracle/oracle-database/26/books.html

 

우선

 

cmd 치고 터미널에서 winget 다운로드

 

1)
winget install wget
Found Wget [JernejSimoncic.Wget] Version 1.21.4
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://eternallybored.org/misc/wget/1.21.4/64/wget.exe
  ██████████████████████████████  6.71 MB / 6.71 MB
Successfully verified installer hash
Starting package install...
Command line alias added: "wget"
Path environment variable modified; restart your shell to use the new value.
Successfully installed

 

2) wget 으로 바로 다운로드 <---- 사이트 URL 만 지정해주면 됨


wget -r -l1 -H -nd -A.pdf -e robots=off "https://docs.oracle.com/en/database/oracle/oracle-database/26/books.html"


--2026-06-10 10:17:37--  https://docs.oracle.com/en/database/oracle/oracle-database/26/books.html
Resolving docs.oracle.com (docs.oracle.com)... 121.254.136.145, 121.254.136.251
Connecting to docs.oracle.com (docs.oracle.com)|121.254.136.145|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 270700 (264K) [text/html]
Saving to: 'books.html.tmp'

books.html.tmp                100%[=================================================>] 264.36K  --.-KB/s    in 0.009s

 

이런식으로 나머지 것도 쭈욱 받아진다. 화일은 실행한 곳 바로 아래에 받아진다.

 

끝.

Posted by pat98

최근 구글 제미나이 프로를 많이 쓰게 되면서 웹에서는 잘되는데 유독 핸드폰에서는 유독 이런 증상이 많이 발생하는 것을 경험했다.

 

문제가 발생했습니다. 나중에 다시 시도해 주세요 (14)

 

한번 더 누르면 되는데 여간 귀찮은게 아니다.

 

해결방법 : 

러가지 삽질하다가 찾아낸 방법은 뜬금없이 구글성인 인증을 하는 것이다.

https://myaccount.google.com/age-verification?utm_source=p0

 

1. 카메라로 얼굴인식 인증 (안경 쓴 경우는 벗고 촬영)

2. 카드번호 로 인증

 

둘 중에 편한 방법으로 하면된다.

 

인증을 마치고 다시 재실행하면, 언제그랬냐는 듯이 답변이 바로바로 나온다.

-> 오류가 완전히 없어지지는 않았지만  횟수가 현저히 줄었다.

Posted by pat98


[root@26ai ~]# su - oracle
[CDB]oracle@26ai:/home/oracle# opatch lspatches
38743688;OCW RELEASE UPDATE 23.26.1.0.0 (GOLD IMAGE) (38743688) Gold Image
38743669;Database Release Update : 23.26.1.0.0 (38743669) Gold Image

[CDB]oracle@26ai:/oradata# unzip -q p39093711_230000_Linux-x86-64.zip

[CDB]oracle@26ai:/home/oracle# opatch apply /oradata/39093711/ -silent 
Oracle Interim Patch Installer version 12.2.0.1.51
Copyright (c) 2026, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/oracle/product/26.0.0.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/26.0.0.0/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.51
OUI version       : 12.2.0.9.0
Log file location : /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-20_15-09-07PM_1.log

Verifying environment and performing prerequisite checks...

--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...

Oracle Interim Patch Installer version 12.2.0.1.51
Copyright (c) 2026, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/26.0.0.0/dbhome_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/26.0.0.0/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.51
OUI version       : 12.2.0.9.0
Log file location : /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-20_15-09-21PM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   39093711  

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/26.0.0.0/dbhome_1')


Is the local system ready for patching? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
Applying interim patch '39093711' to OH '/u01/app/oracle/product/26.0.0.0/dbhome_1'
ApplySession: Optional component(s) [ oracle.client, 23.0.0.0.0 ] , [ oracle.companionCD.db, 23.0.0.0.0 ] , [ oracle.dbjava.dev, 23.0.0.0.0 ] , [ oracle.dslm, 23.0.0.0.0 ] , [ oracle.has.client.cvu, 23.0.0.0.0 ] , [ oracle.has.gsm.cvu, 23.0.0.0.0 ] , [ oracle.ldap.companion, 23.0.0.0.0 ] , [ oracle.mgw.common.companion, 23.0.0.0.0 ] , [ oracle.network.cman, 23.0.0.0.0 ] , [ oracle.nlsrtl.companion, 23.0.0.0.0 ] , [ oracle.odbc.companion, 23.0.0.0.0 ] , [ oracle.oraolap.mgmt, 23.0.0.0.0 ] , [ oracle.perlint, 5.38.2.0.0 ] , [ oracle.pg4appc, 23.0.0.0.0 ] , [ oracle.pg4mq, 23.0.0.0.0 ] , [ oracle.precomp.companion, 23.0.0.0.0 ] , [ oracle.rdbms.companion, 23.0.0.0.0 ] , [ oracle.rdbms.ic, 23.0.0.0.0 ] , [ oracle.rdbms.tg4db2, 23.0.0.0.0 ] , [ oracle.rdbms.tg4ifmx, 23.0.0.0.0 ] , [ oracle.rdbms.tg4msql, 23.0.0.0.0 ] , [ oracle.rdbms.tg4sybs, 23.0.0.0.0 ] , [ oracle.rdbms.tg4tera, 23.0.0.0.0 ] , [ oracle.sdo.companion, 23.0.0.0.0 ] , [ oracle.sqlj, 23.0.0.0.0 ] , [ oracle.sqlj.companion, 23.0.0.0.0 ] , [ oracle.sqlplus.companion, 23.0.0.0.0 ] , [ oracle.tg, 23.0.0.0.0 ] , [ oracle.xdk.companion, 23.0.0.0.0 ] , [ oracle.jdk, 11.0.25.9.0 ] , [ oracle.python, 3.12.5.0.0 ]  not present in the Oracle Home or a higher version is found.

Patching component oracle.assistants.acf, 23.0.0.0.0...

Patching component oracle.assistants.asm, 23.0.0.0.0...

Patching component oracle.assistants.deconfig, 23.0.0.0.0...

Patching component oracle.assistants.netca.client, 23.0.0.0.0...

Patching component oracle.assistants.server, 23.0.0.0.0...

Patching component oracle.bali.ewt, 12.2.1.0.0...

Patching component oracle.bali.ice, 6.1.3.2.0...

Patching component oracle.bali.jewt, 11.1.1.1.0...

Patching component oracle.bali.share, 12.2.1.0.0...

Patching component oracle.blaslapack, 23.0.0.0.0...

Patching component oracle.buildtools.common, 23.0.0.0.0...

Patching component oracle.buildtools.rsf, 23.0.0.0.0...

Patching component oracle.crypto.fips, 23.0.0.0.0...

Patching component oracle.crypto.ojmisc, 23.0.0.0.0...

Patching component oracle.crypto.pki, 23.0.0.0.0...

Patching component oracle.crypto.rsa, 23.0.0.0.0...

Patching component oracle.crypto.rsf, 23.0.0.0.0...

Patching component oracle.ctx, 23.0.0.0.0...

Patching component oracle.ctx.atg, 23.0.0.0.0...

Patching component oracle.ctx.companion, 23.0.0.0.0...

Patching component oracle.ctx.rsf, 23.0.0.0.0...

Patching component oracle.dbdev, 23.0.0.0.0...

Patching component oracle.dbjava.ic, 23.0.0.0.0...

Patching component oracle.dbjava.jdbc, 23.0.0.0.0...

Patching component oracle.dbjava.server, 23.0.0.0.0...

Patching component oracle.dbjava.ucp, 23.0.0.0.0...

Patching component oracle.dbtoolslistener, 23.0.0.0.0...

Patching component oracle.hadoopcore, 23.0.0.0.0...

Patching component oracle.has.common, 23.0.0.0.0...

Patching component oracle.has.common.cvu, 23.0.0.0.0...

Patching component oracle.has.db, 23.0.0.0.0...

Patching component oracle.has.db.cvu, 23.0.0.0.0...

Patching component oracle.has.rsf, 23.0.0.0.0...

Patching component oracle.help.ohj, 11.1.2.0.0...

Patching component oracle.help.share, 11.1.2.0.0...

Patching component oracle.install.deinstalltool, 23.0.0.0.0...

Patching component oracle.javavm.client, 23.0.0.0.0...

Patching component oracle.javavm.companion, 23.0.0.0.0...

Patching component oracle.javavm.server, 23.0.0.0.0...

Patching component oracle.javavhttp://m.server.core, 23.0.0.0.0...

Patching component oracle.jdk, 11.0.24.7.0...

Patching component oracle.ldap.admin, 23.0.0.0.0...

Patching component oracle.ldap.client, 23.0.0.0.0...

Patching component oracle.ldap.rsf, 23.0.0.0.0...

Patching component oracle.mgw.common, 23.0.0.0.0...

Patching component oracle.network, 23.0.0.0.0...

Patching component oracle.network.aso, 23.0.0.0.0...

Patching component oracle.network.client, 23.0.0.0.0...

Patching component oracle.network.gsm, 23.0.0.0.0...

Patching component oracle.network.listener, 23.0.0.0.0...

Patching component oracle.network.netmgr, 23.0.0.0.0...

Patching component oracle.network.rsf, 23.0.0.0.0...

Patching component oracle.nlsrtl.rsf, 23.0.0.0.0...

Patching component oracle.nlsrtl.rsf.core, 23.0.0.0.0...

Patching component oracle.nlsrtl.rsf.ic, 23.0.0.0.0...

Patching component oracle.nlsrtl.rsf.lbuilder, 23.0.0.0.0...

Patching component oracle.odbc, 23.0.0.0.0...

Patching component oracle.odbc.ic, 23.0.0.0.0...

Patching component oracle.onnx, 23.0.0.0.0...

Patching component oracle.ons, 23.0.0.0.0...

Patching component oracle.ons.core, 23.0.0.0.0...

Patching component oracle.ons.ic, 23.0.0.0.0...

Patching component oracle.options, 23.0.0.0.0...

Patching component oracle.oracler.server, 23.0.0.0.0...

Patching component oracle.oracore.rsf, 23.0.0.0.0...

Patching component oracle.oracore.rsf.core, 23.0.0.0.0...

Patching component oracle.oraml.server, 23.0.0.0.0...

Patching component oracle.oraolap, 23.0.0.0.0...

Patching component oracle.oraolap.api, 23.0.0.0.0...

Patching component oracle.oraolap.dbscripts, 23.0.0.0.0...

Patching component oracle.ordim.client, 23.0.0.0.0...

Patching component oracle.ordim.server, 23.0.0.0.0...

Patching component oracle.ovm, 23.0.0.0.0...

Patching component oracle.precomp.common, 23.0.0.0.0...

Patching component oracle.precomp.common.core, 23.0.0.0.0...

Patching component oracle.precomp.lang, 23.0.0.0.0...

Patching component oracle.precomp.rsf, 23.0.0.0.0...

Patching component oracle.python, 3.12.3.0.0...

Patching component oracle.rdbms, 23.0.0.0.0...

Patching component oracle.rdbms.crs, 23.0.0.0.0...

Patching component oracle.rdbms.db, 23.0.0.0.0...

Patching component oracle.rdbms.dbcur, 23.0.0.0.0...

Patching component oracle.rdbms.dbscripts, 23.0.0.0.0...

Patching component oracle.rdbms.deconfig, 23.0.0.0.0...

Patching component oracle.rdbms.dm, 23.0.0.0.0...

Patching component oracle.rdbms.dv, 23.0.0.0.0...

Patching component oracle.rdbms.hs_common, 23.0.0.0.0...

Patching component oracle.rdbms.hsodbc, 23.0.0.0.0...

Patching component oracle.rdbms.install.common, 23.0.0.0.0...

Patching component oracle.rdbms.install.plugins, 23.0.0.0.0...

Patching component oracle.rdbms.install.seeddb, 23.0.0.0.0...

Patching component oracle.rdbms.lbac, 23.0.0.0.0...

Patching component oracle.rdbms.locator, 23.0.0.0.0...

Patching component oracle.rdbms.oci, 23.0.0.0.0...

Patching component oracle.rdbms.olap, 23.0.0.0.0...

Patching component oracle.rdbms.plsql, 23.0.0.0.0...

Patching component oracle.rdbms.rat, 23.0.0.0.0...

Patching component oracle.rdbms.rman, 23.0.0.0.0...

Patching component oracle.rdbms.rsf, 23.0.0.0.0...

Patching component oracle.rdbms.rsf.ic, 23.0.0.0.0...

Patching component oracle.rdbms.scheduler, 23.0.0.0.0...

Patching component oracle.rdbms.util, 23.0.0.0.0...

Patching component oracle.rhp.common, 23.0.0.0.0...

Patching component oracle.rhp.db, 23.0.0.0.0...

Patching component oracle.rsf, 23.0.0.0.0...

Patching component oracle.sdo, 23.0.0.0.0...

Patching component oracle.sdo.locator, 23.0.0.0.0...

Patching component oracle.sdo.locator.jrf, 23.0.0.0.0...

Patching component oracle.server, 23.0.0.0.0...

Patching component oracle.slax.rsf, 23.0.0.0.0...

Patching component oracle.sqlj.sqljruntime, 23.0.0.0.0...

Patching component oracle.sqlplus, 23.0.0.0.0...

Patching component oracle.sqlplus.ic, 23.0.0.0.0...

Patching component oracle.sqlplus.rsf, 23.0.0.0.0...

Patching component oracle.tfa.db, 23.0.0.0.0...

Patching component oracle.usm.deconfig, 23.0.0.0.0...

Patching component oracle.wwg.plsql, 23.0.0.0.0...

Patching component oracle.xdk, 23.0.0.0.0...

Patching component oracle.xdk.parser.java, 23.0.0.0.0...

Patching component oracle.xdk.rsf, 23.0.0.0.0...

Patching component oracle.xdk.server, 23.0.0.0.0...

Patching component oracle.xdk.xquery, 23.0.0.0.0...
Patch 39093711 successfully applied.
Sub-set patch [38743669] has become inactive due to the application of a super-set patch [39093711].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-20_15-09-21PM_1.log

OPatch succeeded.
[CDB]oracle@26ai:/home/oracle# opatch lspatches
39093711;Database Release Update : 23.26.2.0.0 (39093711)
38743688;OCW RELEASE UPDATE 23.26.1.0.0 (GOLD IMAGE) (38743688) Gold Image

OPatch succeeded.
[CDB]oracle@26ai:/home/oracle# ss

SQL*Plus: Release 23.26.2.0.0 - Production on Wed May 20 15:13:39 2026
Version 23.26.2.0.0

Copyright (c) 1982, 2026, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 3688099056 bytes
Fixed Size                  5033200 bytes
Variable Size             738197504 bytes
Database Buffers         2936012800 bytes
Redo Buffers                8855552 bytes
Database mounted.
Database opened.

SQL> alter pluggable database all open;

Pluggable database altered.

SQL> exit
Disconnected from Oracle AI Database 26ai Enterprise Edition Release 23.26.2.0.0 - Production
Version 23.26.2.0.0
[CDB]oracle@26ai:/home/oracle# cdo
[CDB]oracle@26ai:/u01/app/oracle/product/26.0.0.0/dbhome_1# cd OPatch
[CDB]oracle@26ai:/u01/app/oracle/product/26.0.0.0/dbhome_1/OPatch# ./datapatch -verbose
SQL Patching tool version 23.26.2.0.0 Production on Wed May 20 15:15:17 2026
Copyright (c) 2012, 2026, Oracle.  All rights reserved.

Log file for this invocation: /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_CDB_ts_2026_05_20_15_15_17_pid_13097/sqlpatch_invocation.log

Connecting to database...OK
Gathering database info...done

Note:  Datapatch will only apply or rollback SQL fixes for PDBs
       that are in an open state, no patches will be applied to closed PDBs.
       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
       (Doc ID 1585822.1)

Bootstrapping registry and package to current versions...done
Determining current state...done

Current state of interim SQL patches:
  No interim patches found

Current state of release update SQL patches:
  Binary registry:
    23.26.2.0.0 Release_Update 260428181725: Installed
  PDB CDB$ROOT:
    Applied 23.26.1.0.0 Release_Update 260117080636 successfully on 23-JAN-26 05.24.48.692664 PM
  PDB PDB:
    Applied 23.26.1.0.0 Release_Update 260117080636 successfully on 23-JAN-26 05.24.49.441297 PM
  PDB PDB$SEED:
    Applied 23.26.1.0.0 Release_Update 260117080636 successfully on 23-JAN-26 05.24.49.441297 PM

Adding patches to installation queue and performing prereq checks...done
Installation queue:
  For the following PDBs: CDB$ROOT PDB$SEED PDB
    No interim patches need to be rolled back
    Patch 39093711 (Database Release Update : 23.26.2.0.0 (39093711)):
      Apply from 23.26.1.0.0 Release_Update 260117080636 to 23.26.2.0.0 Release_Update 260428181725
    No interim patches need to be applied

Installing patches...
Patch installation complete.  Total patches installed: 3

Validating logfiles...done
Patch 39093711 apply (pdb CDB$ROOT): SUCCESS
  logfile: /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_CDB_ts_2026_05_20_15_15_17_pid_13097/39093711_apply_CDB_CDBROOT_2026May20_15_15_37.log (no errors)
Patch 39093711 apply (pdb PDB$SEED): SUCCESS
  logfile: /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_CDB_ts_2026_05_20_15_15_17_pid_13097/39093711_apply_CDB_PDBSEED_2026May20_15_17_35.log (no errors)
Patch 39093711 apply (pdb PDB): SUCCESS
  logfile: /u01/app/oracle/product/26.0.0.0/dbhome_1/cfgtoollogs/sqlpatch/sqlpatch_sid_CDB_ts_2026_05_20_15_15_17_pid_13097/39093711_apply_CDB_PDB_2026May20_15_17_35.log (no errors)
SQL Patching tool complete on Wed May 20 15:19:16 2026

[CDB]oracle@26ai:/home/oracle# opatch lspatches
39093711;Database Release Update : 23.26.2.0.0 (39093711)
38743688;OCW RELEASE UPDATE 23.26.1.0.0 (GOLD IMAGE) (38743688) Gold Image

OPatch succeeded.

테스트 끝.

Posted by pat98

[취약점 개요 영향도]

1.    취약점 개요

A.     CVE ID : CVE-2026-31431

B.     심각도 : Important (CVSS 7.8 / HIGH)

C.     영향 범위 : Linux Kernel 4.14 이상 (RHEL 8, 9, 10)

D.     취약점 : crypto: algif_aead (커널 암호화 인터페이스)

 

2.    취약점 영향도

A.     커널 암호화 인터페이스(algif_aead) 연산 오류로 인해로컬 사용자가 페이지 캐시 조작을 통해 root 권한을 획득할 있는 취약점

B.     로컬 권한 상승(LPE) 취약점으로시스템에 일반 사용자 접근 권한이 있어야 악용이 가능

C.   공격 형태일반 유저 계정으로 Linux 암호화 API 악용해 메모리 파일을 변조, root 권한을 획득하는 로컬 권한 상승(LPE) 공격

D.   공격 대상: 2017 이후 출시된 Linux 커널(4.14~) 사용하는 모든 서버, VM, 컨테이너 환경

 

[조치 안내]

해당 CVE 아래 커널 버전에서 수정 되었습니다.

====================================================

 

- kernel Update 작업 테스트

 

[root@rhel97 ~]# id
uid=0(root) gid=0(root) groups=0(root)

[root@rhel97 ~]# uname -a
Linux rhel97 6.12.0-105.51.5.el9uek.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 14 19:55:41 PDT 2025 x86_64 x86_64 x86_64 GNU/Linux

[root@rhel97 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.7 (Plow)


[root@rhel97 ~]# dnf clean all
24 files removed

[root@rhel97 ~]# dnf updateinfo list --cve CVE-2026-31431
Oracle Linux 9 BaseOS Latest (x86_64)                                                                33 MB/s | 122 MB     00:03    
Oracle Linux 9 Application Stream Packages (x86_64)                                                  30 MB/s |  90 MB     00:03    
Oracle Linux 9 UEK Release 8 (x86_64)                                                                19 MB/s |  42 MB     00:02    
Last metadata expiration check: 0:00:04 ago on Wed 20 May 2026 10:46:14 AM KST.
ELSA-2026-13565 Important/Sec. kernel-5.14.0-611.54.1.el9_7.x86_64
ELSA-2026-13565 Important/Sec. kernel-core-5.14.0-611.54.1.el9_7.x86_64
ELSA-2026-13565 Important/Sec. kernel-modules-5.14.0-611.54.1.el9_7.x86_64
ELSA-2026-13565 Important/Sec. kernel-modules-core-5.14.0-611.54.1.el9_7.x86_64
ELSA-2026-13565 Important/Sec. kernel-tools-5.14.0-611.54.1.el9_7.x86_64
ELSA-2026-13565 Important/Sec. kernel-tools-libs-5.14.0-611.54.1.el9_7.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-core-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-core-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-modules-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-modules-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-modules-core-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-modules-core-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-modules-desktop-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-modules-desktop-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-modules-extra-netfilter-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-modules-extra-netfilter-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-modules-usb-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-modules-usb-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-50254 Important/Sec. kernel-uek-modules-wireless-6.12.0-201.74.2.2.el9uek.x86_64
ELSA-2026-50260 Important/Sec. kernel-uek-modules-wireless-6.12.0-202.76.4.1.el9uek.x86_64
ELSA-2026-13565 Important/Sec. python3-perf-5.14.0-611.54.1.el9_7.x86_64
[root@rhel97 ~]# dnf update kernel-uek
Last metadata expiration check: 0:00:47 ago on Wed 20 May 2026 10:46:14 AM KST.
Dependencies resolved.
====================================================================================================================================
 Package                                      Architecture     Version                                    Repository           Size
====================================================================================================================================
Upgrading:
 dracut                                       x86_64           057-104.git20250919.0.3.el9_7              ol9_UEKR8           689 k
 dracut-config-rescue                         x86_64           057-104.git20250919.0.3.el9_7              ol9_UEKR8           8.9 k
 dracut-network                               x86_64           057-104.git20250919.0.3.el9_7              ol9_UEKR8           144 k
 dracut-squash                                x86_64           057-104.git20250919.0.3.el9_7              ol9_UEKR8           8.9 k
Installing group/module packages:
 kernel-uek                                   x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8           1.5 M
Installing dependencies:
 kernel-uek-core                              x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8            21 M
 kernel-uek-modules                           x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8            32 M
 kernel-uek-modules-core                      x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8            39 M
 kernel-uek-modules-desktop                   x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8            21 M
 kernel-uek-modules-extra-netfilter           x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8           2.4 M
 kernel-uek-modules-usb                       x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8           2.5 M
 kernel-uek-modules-wireless                  x86_64           6.12.0-202.76.4.2.el9uek                   ol9_UEKR8           9.5 M

Transaction Summary
====================================================================================================================================
Install  8 Packages
Upgrade  4 Packages

Total download size: 130 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): kernel-uek-6.12.0-202.76.4.2.el9uek.x86_64.rpm                                              4.3 MB/s | 1.5 MB     00:00    
(2/12): kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64.rpm                                          11 MB/s |  21 MB     00:01    
(3/12): kernel-uek-modules-6.12.0-202.76.4.2.el9uek.x86_64.rpm                                       12 MB/s |  32 MB     00:02    
(4/12): kernel-uek-modules-extra-netfilter-6.12.0-202.76.4.2.el9uek.x86_64.rpm                       11 MB/s | 2.4 MB     00:00    
(5/12): kernel-uek-modules-desktop-6.12.0-202.76.4.2.el9uek.x86_64.rpm                               17 MB/s |  21 MB     00:01    
(6/12): kernel-uek-modules-usb-6.12.0-202.76.4.2.el9uek.x86_64.rpm                                   15 MB/s | 2.5 MB     00:00    
(7/12): kernel-uek-modules-core-6.12.0-202.76.4.2.el9uek.x86_64.rpm                                  13 MB/s |  39 MB     00:02    
(8/12): dracut-057-104.git20250919.0.3.el9_7.x86_64.rpm                                             5.9 MB/s | 689 kB     00:00    
(9/12): dracut-config-rescue-057-104.git20250919.0.3.el9_7.x86_64.rpm                               250 kB/s | 8.9 kB     00:00    
(10/12): dracut-network-057-104.git20250919.0.3.el9_7.x86_64.rpm                                    2.9 MB/s | 144 kB     00:00    
(11/12): dracut-squash-057-104.git20250919.0.3.el9_7.x86_64.rpm                                     255 kB/s | 8.9 kB     00:00    
(12/12): kernel-uek-modules-wireless-6.12.0-202.76.4.2.el9uek.x86_64.rpm                             24 MB/s | 9.5 MB     00:00    
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                37 MB/s | 130 MB     00:03     
Oracle Linux 9 UEK Release 8 (x86_64)                                                               3.6 MB/s | 6.2 kB     00:00    
Importing GPG key 0x8D8B756F:
 Userid     : "Oracle Linux (release key 1) <secalert_us@oracle.com>"
 Fingerprint: 3E6D 826D 3FBA B389 C2F3 8E34 BC4D 06A0 8D8B 756F
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Key imported successfully
Importing GPG key 0x8B4EFBE6:
 Userid     : "Oracle Linux (backup key 1) <secalert_us@oracle.com>"
 Fingerprint: 9822 3175 9C74 6706 5D0C E9B2 A7DD 0708 8B4E FBE6
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                            1/1 
  Upgrading        : dracut-057-104.git20250919.0.3.el9_7.x86_64                                                               1/16 
  Installing       : kernel-uek-modules-core-6.12.0-202.76.4.2.el9uek.x86_64                                                   2/16 
  Running scriptlet: kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64                                                           3/16 
  Installing       : kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64                                                           3/16 
  Running scriptlet: kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64                                                           3/16 
  Installing       : kernel-uek-modules-6.12.0-202.76.4.2.el9uek.x86_64                                                        4/16 
  Running scriptlet: kernel-uek-modules-6.12.0-202.76.4.2.el9uek.x86_64                                                        4/16 
  Installing       : kernel-uek-modules-desktop-6.12.0-202.76.4.2.el9uek.x86_64                                                5/16 
  Running scriptlet: kernel-uek-modules-desktop-6.12.0-202.76.4.2.el9uek.x86_64                                                5/16 
  Installing       : kernel-uek-modules-extra-netfilter-6.12.0-202.76.4.2.el9uek.x86_64                                        6/16 
  Running scriptlet: kernel-uek-modules-extra-netfilter-6.12.0-202.76.4.2.el9uek.x86_64                                        6/16 
  Installing       : kernel-uek-modules-usb-6.12.0-202.76.4.2.el9uek.x86_64                                                    7/16 
  Running scriptlet: kernel-uek-modules-usb-6.12.0-202.76.4.2.el9uek.x86_64                                                    7/16 
  Installing       : kernel-uek-modules-wireless-6.12.0-202.76.4.2.el9uek.x86_64                                               8/16 
  Running scriptlet: kernel-uek-modules-wireless-6.12.0-202.76.4.2.el9uek.x86_64                                               8/16 
  Installing       : kernel-uek-6.12.0-202.76.4.2.el9uek.x86_64                                                                9/16 
  Upgrading        : dracut-config-rescue-057-104.git20250919.0.3.el9_7.x86_64                                                10/16 
  Upgrading        : dracut-network-057-104.git20250919.0.3.el9_7.x86_64                                                      11/16 
  Upgrading        : dracut-squash-057-104.git20250919.0.3.el9_7.x86_64                                                       12/16 
  Cleanup          : dracut-squash-057-102.git20250818.0.1.el9.x86_64                                                         13/16 
  Cleanup          : dracut-network-057-102.git20250818.0.1.el9.x86_64                                                        14/16 
  Cleanup          : dracut-config-rescue-057-102.git20250818.0.1.el9.x86_64                                                  15/16 
  Cleanup          : dracut-057-102.git20250818.0.1.el9.x86_64                                                                16/16 
  Running scriptlet: kernel-uek-modules-core-6.12.0-202.76.4.2.el9uek.x86_64                                                  16/16 
  Running scriptlet: kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64                                                          16/16 
  Running scriptlet: kernel-uek-modules-6.12.0-202.76.4.2.el9uek.x86_64                                                       16/16 
  Running scriptlet: dracut-057-102.git20250818.0.1.el9.x86_64                                                                16/16 
  Verifying        : kernel-uek-6.12.0-202.76.4.2.el9uek.x86_64                                                                1/16 
  Verifying        : kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64                                                           2/16 
  Verifying        : kernel-uek-modules-6.12.0-202.76.4.2.el9uek.x86_64                                                        3/16 
  Verifying        : kernel-uek-modules-core-6.12.0-202.76.4.2.el9uek.x86_64                                                   4/16 
  Verifying        : kernel-uek-modules-desktop-6.12.0-202.76.4.2.el9uek.x86_64                                                5/16 
  Verifying        : kernel-uek-modules-extra-netfilter-6.12.0-202.76.4.2.el9uek.x86_64                                        6/16 
  Verifying        : kernel-uek-modules-usb-6.12.0-202.76.4.2.el9uek.x86_64                                                    7/16 
  Verifying        : kernel-uek-modules-wireless-6.12.0-202.76.4.2.el9uek.x86_64                                               8/16 
  Verifying        : dracut-057-104.git20250919.0.3.el9_7.x86_64                                                               9/16 
  Verifying        : dracut-057-102.git20250818.0.1.el9.x86_64                                                                10/16 
  Verifying        : dracut-config-rescue-057-104.git20250919.0.3.el9_7.x86_64                                                11/16 
  Verifying        : dracut-config-rescue-057-102.git20250818.0.1.el9.x86_64                                                  12/16 
  Verifying        : dracut-network-057-104.git20250919.0.3.el9_7.x86_64                                                      13/16 
  Verifying        : dracut-network-057-102.git20250818.0.1.el9.x86_64                                                        14/16 
  Verifying        : dracut-squash-057-104.git20250919.0.3.el9_7.x86_64                                                       15/16 
  Verifying        : dracut-squash-057-102.git20250818.0.1.el9.x86_64                                                         16/16 

Upgraded:
  dracut-057-104.git20250919.0.3.el9_7.x86_64                   dracut-config-rescue-057-104.git20250919.0.3.el9_7.x86_64          
  dracut-network-057-104.git20250919.0.3.el9_7.x86_64           dracut-squash-057-104.git20250919.0.3.el9_7.x86_64                 
Installed:
  kernel-uek-6.12.0-202.76.4.2.el9uek.x86_64                   kernel-uek-core-6.12.0-202.76.4.2.el9uek.x86_64                     
  kernel-uek-modules-6.12.0-202.76.4.2.el9uek.x86_64           kernel-uek-modules-core-6.12.0-202.76.4.2.el9uek.x86_64             
  kernel-uek-modules-desktop-6.12.0-202.76.4.2.el9uek.x86_64   kernel-uek-modules-extra-netfilter-6.12.0-202.76.4.2.el9uek.x86_64  
  kernel-uek-modules-usb-6.12.0-202.76.4.2.el9uek.x86_64       kernel-uek-modules-wireless-6.12.0-202.76.4.2.el9uek.x86_64         

Complete!

[root@rhel97 ~]# reboot

[root@rhel97 ~]# uname -r
6.12.0-202.76.4.2.el9uek.x86_64

[root@rhel97 ~]# rpm -q kernel-uek
kernel-uek-6.12.0-105.51.5.el9uek.x86_64
kernel-uek-6.12.0-202.76.4.2.el9uek.x86_64

Posted by pat98

패치작업 19.31.0.0.260421(GI RU 39036936)

Critical Patch Update (CPU) Apr 2026 for Oracle Database Products (CPU58)

패치작업 19.31.0.0.260421(GI RU 39036936)

- 19.30 & 19.31 부터 달라진점 <--- 26ai 는 기본으로 포함되어 있었던 내용임

1. 19.30 RU (2026.01) 패치부터 Micronaut 3.8.5.-11 이 포함됨

2. 19.31 RU (2026.04) 패치부터 기존의 Tomat 디렉토리는 지워지고 Micronaut 으로 기능대체  <--- 하지만 opatch lspatches 에는 39107855;TOMCAT RELEASE UPDATE 19.0.0.0.0 (39107855) 로 남아있음.

3. 19.31 RU (2026.04) 패치부터 QOS/WLS 디렉토리 제거됨

-----------------------------------------------------------------------------------
Database Patch Set Update  : 19.31.0.0.260421 (39034528)
OCW Patch Set Update        : 19.31.0.0.260421 (39039430)
ACFS Patch Set Update        : 19.31.0.0.260421 (39055473)
Tomcat Release Update        : 19.0.0.0.0            (39107855)
DBWLM Release Update       : 19.0.0.0.0           (39107855)

Oracle Grid Infrastructure Patch Set Update 19.31.0.0.260421
-----------------------------------------------------------------------------------
GI_HOME, ORACLE_HOME 을 개별로 각각 할때

- grid 유저
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39034528
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39039430
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39055473
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39107855
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39107855

- oracle 유저
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39034528
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/patch/39036936/39039430

(oracle)
$ <ORACLE_HOME>/bin/srvctl stop home -o <ORACLE_HOME> -s <status file location> -n <node name>

(root 유저)
export GI_HOME=/u01/app/19.0.0.0/grid
$GI_HOME/crs/install/rootcrs.sh -prepatch 

(grid 유저)
export GI_HOME=/u01/app/19.0.0.0/grid
cd /u01/patch
$GI_HOME/OPatch/opatch apply -oh $GI_HOME -local /u01/patch/39036936/39039430 -silent
$GI_HOME/OPatch/opatch apply -oh $GI_HOME -local /u01/patch/39036936/39055473 -silent
$GI_HOME/OPatch/opatch apply -oh $GI_HOME -local /u01/patch/39036936/39034528 -silent
$GI_HOME/OPatch/opatch apply -oh $GI_HOME -local /u01/patch/39036936/39107855 -silent
$GI_HOME/OPatch/opatch apply -oh $GI_HOME -local /u01/patch/39036936/39107855 -silent

(oracle 유저)
export ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1
cd /u01/patch
./39036936 /39039430/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME
$ORACLE_HOME/OPatch/opatch apply -oh $ORACLE_HOME -local /u01/patch/39036936/39039430 -silent
$ORACLE_HOME/OPatch/opatch apply -oh $ORACLE_HOME -local /u01/patch/39036936/39034528 -silent
./39036936 /39039430/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME 

(root 유저)
export GI_HOME=/u01/app/19.0.0.0/grid
$GI_HOME/rdbms/install/rootadd_rdbms.sh
$GI_HOME/crs/install/rootcrs.sh -postpatch 

(oracle)
$ <ORACLE_HOME>/bin/srvctl start home -o <ORACLE_HOME> -s <status file location> -n <node name> 

- Loading Modified SQL Files into the Database
sqlplus /nolog
SQL> conect / as sysdba
SQL> startup
SQL> quit
cd $ORACLE_HOME/OPatch
./datapatch -verbose

### [롤백하는 경우] ###########

(oracle)
$ <ORACLE_HOME>/bin/srvctl stop home -o <ORACLE_HOME> -s <status file location> -n <node name>

GI Home
(root로)
$GI_HOME/crs/install/rootcrs.sh -prepatch -rollback

(grid 유저로)
export GI_HOME=/u01/app/19.0.0.0/grid
cd /u01/install
$GI_HOME/OPatch/opatch nrollback -local -id 39039430,39055473,39034528,39107855,39107855 -oh $GI_HOME -silent

(oracle 유저로)
export ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1
cd /u01/install
./39036936  /39039430/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME 
$ORACLE_HOME/OPatch/opatch nrollback -local -id 39039430,39034528 -oh /u01/app/oracle/product/19.0.0.0/dbhome_1 -silent
./39036936  /39039430/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME

Run post script
(root로)
export GI_HOME=/u01/app/19.0.0.0/grid
$GI_HOME/rdbms/install/rootadd_rdbms.sh
$GI_HOME/crs/install/rootcrs.sh -postpatch -rollback

(oracle)
$ <ORACLE_HOME>/bin/srvctl start home -o <ORACLE_HOME> -s <status file location> -n <node name>

sqlplus /nolog
SQL> conect / as sysdba
SQL> startup
SQL> quit
cd $ORACLE_HOME/OPatch
./datapatch -verbose

Posted by pat98


RHEL 9.x 환경

- 19.31 RU  Rollback 시 Error 발생

Patching component oracle.jdk, 1.8.0.201.0...
RollbackSession removing interim patch '39034528' from inventory
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk iorion ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1 OPATCH_SESSION=rollback"....'/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libnnzst19.a(ccme_ck_rand_load_fileS1.o): in function `r_ck_random_load_file':
ck_rand_load_file.c:(.text+0xd4): undefined reference to `stat'
make: *** [ins_rdbms.mk:923: /u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/lib/orion] Error 1
'
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1 OPATCH_SESSION=rollback"....'/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libserver19.a(jskm.o): in function `jskmCheckIMJobBCast':
jskm.c:(.text+0x202d): undefined reference to `stat'
/usr/bin/ld: jskm.c:(.text+0x2066): undefined reference to `stat'
/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libserver19.a(qmsqx.o): in function `qmsqxFetchPos':
qmsqx.c:(text.unlikely+0x1048f): undefined reference to `stat'
/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libjavavm19.a(eobtl.o): in function `eobti_create_sym_tmp_file':
eobtl.c:(.text+0x106): undefined reference to `fstat'
/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libjavavm19.a(eobtl.o): in function `eobti_digest_symbol_file':
eobtl.c:(.text+0x1b8): undefined reference to `fstat'
/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libjavavm19.a(eobtl.o): in function `eobti_build_lookup_tables':
eobtl.c:(.text+0x24ae): undefined reference to `fstat'
/usr/bin/ld: eobtl.c:(.text+0x264f): undefined reference to `fstat'
/usr/bin/ld: /u01/app/oracle/product/19.0.0.0/dbhome_1/lib//libnnzst19.a(ccme_ck_rand_load_fileS1.o): in function `r_ck_random_load_file':
ck_rand_load_file.c:(.text+0xd4): undefined reference to `stat'
make: *** [ins_rdbms.mk:851: /u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/lib/oracle] Error 1

다시 시도 

1. opatch rollback -id 39034528 -silent -no_relink 

이렇게 하면 relink 작업 수행하기 않기 때문에 rollback 까지는 잘 수행됨.

2. 그러나 이후 sqlplus 접속 시동하면  
 
sqlplus: error while loading shared libraries: libclntshcore.so.19.1: cannot open shared object file: No such file or directory

3. 기존에 있던 19.30 RU 까지 다시 Rollback 진행해 봄

opatch rollback -id 38632161 -silent

Patching component oracle.jdk, 1.8.0.201.0...
RollbackSession removing interim patch '38632161' from inventory
Make failed to invoke "/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1 OPATCH_SESSION=rollback"....'/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
genclntsh: Failed to link libclntshcore.so.19.1
make: *** [ins_net_client.mk:143: client_sharedlib] Error 1
'
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk iorion ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1 OPATCH_SESSION=rollback"....'/usr/bin/ld: cannot find -lclntshcore
/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
make: *** [ins_rdbms.mk:923: /u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/lib/orion] Error 1
'
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk iextjobo ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1 OPATCH_SESSION=rollback"....'/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
make: *** [ins_rdbms.mk:1218: /u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/lib/extjobo] Error 1
'
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk igenezi ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1 OPATCH_SESSION=rollback"....'/usr/bin/ld: cannot find -lclntshcore
/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
make: *** [ins_rdbms.mk:1230: /u01/app/oracle/product/19.0.0.0/dbhome_1/rdbms/lib/genezi] Error 1


4. 마찬가지로 no_relink 로 해야 진행이 됨.

opatch rollback -id 38632161 -silent -no_relink

---- snip -----------

Patching component oracle.ovm, 19.0.0.0.0...

Patching component oracle.javavm.server, 19.0.0.0.0...

Patching component oracle.xdk.xquery, 19.0.0.0.0...

Patching component oracle.precomp.common, 19.0.0.0.0...

Patching component oracle.precomp.lang, 19.0.0.0.0...

Patching component oracle.jdk, 1.8.0.201.0...
RollbackSession removing interim patch '38632161' from inventory
Inactive sub-set patch [29517242] has become active due to the rolling back of a super-set patch [38632161].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/19.0.0.0/dbhome_1/cfgtoollogs/opatch/opatch2026-05-18_15-10-00PM_1.log

5. 다시 원하는 19.30 RU (38632161) 적용함. 

opatch apply /u01/install/38632161 -silent 


결론 : 

=> RHEL 9.x 환경에서는 RU rollback 작업이 원활하지 않을수 있으며, 전부 제거후 원하는 버전으로 다시 적용하는 것이 나은것으로 잠정 결론, (- applyRU 로 설치하기 때문? 인듯) 

Posted by pat98

2026. 4. 25. 10:30 내가 읽은 책

맡겨진 소녀


 

 

클레어 키건 - 맡겨진 소녀

 

절제된 언어로 가족과 사랑에 대해 얘기한다.

Posted by pat98

 

이슈 :

- RHEL 9.X 설치후 crs autostart 되지 않는 문제

 

root@rac1:/root# crsctl config crs 
CRS-4622: Oracle High Availability Services autostart is enabled.

 

Autostart 설정되어 있어도 Reboot 하면 자동으로 올라오지 않는다.

 

원인 :

RHEL 9 부터 chkconfig rpm 이 기본설치 되지 않음

 

https://access.redhat.com/solutions/6837271

 

Bugzilla:2018112[1]

The chkconfig package is not installed by default in RHEL 9

The chkconfig package, which updates and queries runlevel information for system services, is not installed by default in RHEL 9.

To manage services, use the systemctl commands or install the chkconfig package manually.

For more information about systemd, see Introduction to systemd. For instructions on how to use the systemctl utility, see Managing system services with systemctl.

 

해결책 :

그냥 해당 버전에 맞는 chkconfig 받아서 설치해 주면 됨. (난 RHEL 9.7 이였음)

예시)

rpm -Uvh chkconfig-1.24-2.el9.x86_64.rpm

warning: chkconfig-1.24-2.el9.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:chkconfig-1.24-2.el9             ################################# [100%]

 

이때 /etc/init.d/  디렉토리가 존재하여 설치가 안되는 경우가 있는데 안에 화일들을 백업후 디렉토리 지웠다가 설치후에 다시 복원시켜주면 된다.

 

root@rac1:/etc/init.d# ls -al
total 160
drwxr-xr-x.  2 root root    83 Apr 24 17:12 .
drwxr-xr-x. 10 root root   127 Sep  5  2024 ..
-rwxr-xr-x   1 root root 26097 Apr 24 15:55 init.ohasd
-rwxr-xr-x   1 root root 37326 Apr 24 15:56 init.tfa
-rwxr-xr-x   1 root root  8056 Apr 24 15:55 ohasd
-rw-r--r--.  1 root root  1161 Aug 15  2025 README

 

설치 후 Reboot 하여 Autostart 되는지 확인 !!!

 

관련 MOS 문서 :
Ohasd Process Does Not Start After Rebooting OS On RHEL 9 Due To Missing Chkconfig Package (문서 ID 3000775.1)

 

chkconfig-1.24-2.el9.x86_64.rpm
0.18MB

Posted by pat98

07-06 03:08
Flag Counter
Yesterday
Today
Total

글 보관함

최근에 올라온 글

달력

 « |  » 2026.7
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

최근에 달린 댓글