当前位置: 首页 > news >正文

渝中集团网站建设如何开发网站

渝中集团网站建设,如何开发网站,中国制造加工网官网,网页制作与设计属于ORACLE 19c安装DB补丁: 1 确定OPatch的可用性:这里需要注意的是p6880880_190000_Linux-x86-64.zip是有版本对应区别的,需要注意你要打的补丁版本是否支持。 2 将原$ORACLE_HOME目录下的OPatch目录删除或者改名,比如说&#xff1a…

ORACLE 19c安装DB补丁:
1 确定OPatch的可用性:这里需要注意的是p6880880_190000_Linux-x86-64.zip是有版本对应区别的,需要注意你要打的补丁版本是否支持。

2 将原$ORACLE_HOME目录下的OPatch目录删除或者改名,比如说:
cd $ORACLE_HOME
mv OPatch OPatch_1
或rm -rf OPatch

3 将p6880880_190000_Linux-x86-64.zip上传到你的$ORACLE_HOME目录下并解压。
unzip p6880880_190000_Linux-x86-64.zip
解压后你就可以得到一个新的OPatch目录。

4修改环境变量添加:
export ORACLE_OPatch=$ORACLE_HOME/OPatch
在export PATH=.....这行字符最后添加:$ORACLE_OPatch
比如:
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:$PATH:$HOME/bin:$ORACLE_OPatch
然后环境变量生成
source ~/.bash_profile

5 执行opatch version
[oracle@oracle19c ~]$ opatch version
OPatch Version: 12.2.0.1.28

OPatch succeeded.
看到这样就可以了。

6 使用ORACLE用户将你的补丁文件压缩包上传到服务器上。并解压,准备打补丁。

7 解压补丁 : unzip p33515361_190000_Linux-x86-64.zip

8 关闭监听和关闭数据库:
lsnrctl stop

[oracle@oracle19c u01]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 23 22:22:57 2022
Version 19.3.0.0.0

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


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
这里我们可以看到我们数据库版本为19300,关闭数据库
shutdown immediate

9 检查补丁信息:
cd 33515361/(这个33515361是刚才解压出来的,你们要根据你们的实际情况而定)
opatch prereq CheckConflictAgainstOHWithDetail -ph ./

Oracle Interim Patch Installer version 12.2.0.1.28
Copyright (c) 2022, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/19c/db_1
Central Inventory : /u01/oraInventory
   from           : /u01/app/oracle/product/19c/db_1/oraInst.loc
OPatch version    : 12.2.0.1.28
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19c/db_1/cfgtoollogs/opatch/opatch2022-01-23_22-26-20PM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

没有问题,证明一切OK.

10 开始打补丁
cd 33515361/
opatch apply (这个需要在解压出来的补丁目录下执行)

Do you want to proceed? [y|n] 出这种东西的话 一律 'y'

看到这些:
Patching component oracle.jdk, 1.8.0.201.0...
Patch 33515361 successfully applied.
Sub-set patch [29517242] has become inactive due to the application of a super-set patch [33515361].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/19c/db_1/cfgtoollogs/opatch/opatch2022-01-23_22-29-14PM_1.log

OPatch succeeded.
代表数据库补丁安装完毕。

11 启动数据库
[oracle@oracle19c 33515361]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 23 22:36:38 2022
Version 19.14.0.0.0(看这里)

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

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area  733999360 bytes
Fixed Size                  8900864 bytes
Variable Size             201326592 bytes
Database Buffers          520093696 bytes
Redo Buffers                3678208 bytes
Database mounted.
Database opened.
SQL>

这里应景看到了是191400而不是19300了

12 执行datapatch
datapatch -verbose (千万别再SQLPLUS下执行,要在ORACLE用户的LINUX终端上执行)
[oracle@oracle19c 33515361]$ datapatch -verbose

SQL Patching tool version 19.14.0.0.0 Production on Sun Jan 23 22:43:26 2022
Copyright (c) 2012, 2021, Oracle.  All rights reserved.

Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_12364_2022_01_23_22_43_26/sqlpatch_invocation.log

Connecting to database...OK
Gathering database info...done
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:
    19.14.0.0.0 Release_Update 211225122123: Installed
  SQL registry:
    Applied 19.3.0.0.0 Release_Update 190410122720 successfully on 18-JAN-21 02.54.27.541960 AM

Adding patches to installation queue and performing prereq checks...done
Installation queue:
  No interim patches need to be rolled back
  Patch 33515361 (Database Release Update : 19.14.0.0.220118 (33515361)):
    Apply from 19.3.0.0.0 Release_Update 190410122720 to 19.14.0.0.0 Release_Update 211225122123
  No interim patches need to be applied

Installing patches...

看到下列信息代表成功了。
Patch installation complete.  Total patches installed: 1

Validating logfiles...done
Patch 33515361 apply: SUCCESS
  logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/33515361/24589353/33515361_apply_ORCL_2022Jan23_22_43_55.log (no errors)
SQL Patching tool complete on Sun Jan 23 22:51:58 2022

13 进入到sqlplus / as sysdba下:
执行:@?/rdbms/admin/utlrp.sql

SQL> @?/rdbms/admin/utlrp.sql
 @?/rdbms/admin/utlrp.sql

Session altered.


TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN              2022-01-23 22:54:50

DOC>   The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC>   objects in the database. Recompilation time is proportional to the
DOC>   number of invalid objects in the database, so this command may take
DOC>   a long time to execute on a database with a large number of invalid
DOC>   objects.

直到看到
ERRORS DURING RECOMPILATION
---------------------------
                          0


Function created.


PL/SQL procedure successfully completed.


Function dropped.


PL/SQL procedure successfully completed.

代表成功。

14 检查补丁是否成功
col ACTION for a8
col status for a10
set line 230
col ACTION_TIME for a30
col DESCRIPTION for a60

执行下列SQL语句
select patch_id, action,status,action_time,description  from dba_registry_sqlpatch;

  PATCH_ID ACTION   STATUS     ACTION_TIME                    DESCRIPTION
---------- -------- ---------- ------------------------------ ------------------------------------------------------------
  29517242 APPLY    SUCCESS    18-JAN-21 02.54.27.541960 AM   Database Release Update : 19.3.0.0.190416 (29517242)
  33515361 APPLY    SUCCESS    23-JAN-22 10.51.58.754167 PM   Database Release Update : 19.14.0.0.220118 (33515361)

看到SUCCESS后代表成功,我们把数据库从 19.3.0.0.190416 (29517242) 升级到  19.14.0.0.220118 (33515361)

这里的29517242代表19300的补丁编号,一旦失败,我们需要回滚我们的补丁。

到这里补丁就算成功打完了。


文章转载自:
http://refutable.rgxf.cn
http://now.rgxf.cn
http://excogitative.rgxf.cn
http://vasectomy.rgxf.cn
http://crayon.rgxf.cn
http://hyposensitive.rgxf.cn
http://methuselah.rgxf.cn
http://enquiringly.rgxf.cn
http://greensward.rgxf.cn
http://recluse.rgxf.cn
http://automatise.rgxf.cn
http://semeiology.rgxf.cn
http://myoatrophy.rgxf.cn
http://driveway.rgxf.cn
http://igneous.rgxf.cn
http://bedkey.rgxf.cn
http://ddvp.rgxf.cn
http://phonogram.rgxf.cn
http://hedgehop.rgxf.cn
http://circulative.rgxf.cn
http://congregant.rgxf.cn
http://pachyderm.rgxf.cn
http://massoretic.rgxf.cn
http://oppugn.rgxf.cn
http://gaita.rgxf.cn
http://greenmail.rgxf.cn
http://printed.rgxf.cn
http://liverwort.rgxf.cn
http://perfectability.rgxf.cn
http://genevan.rgxf.cn
http://coalitionist.rgxf.cn
http://basilect.rgxf.cn
http://grimy.rgxf.cn
http://empaquetage.rgxf.cn
http://bemoan.rgxf.cn
http://deltiology.rgxf.cn
http://figmentary.rgxf.cn
http://taxability.rgxf.cn
http://landdrost.rgxf.cn
http://nombles.rgxf.cn
http://cavitation.rgxf.cn
http://palinode.rgxf.cn
http://rubellite.rgxf.cn
http://surfing.rgxf.cn
http://silversmith.rgxf.cn
http://standstill.rgxf.cn
http://undemonstrative.rgxf.cn
http://autism.rgxf.cn
http://irrupt.rgxf.cn
http://threnody.rgxf.cn
http://iturup.rgxf.cn
http://quean.rgxf.cn
http://sacrament.rgxf.cn
http://examen.rgxf.cn
http://moraceous.rgxf.cn
http://bottommost.rgxf.cn
http://sycomore.rgxf.cn
http://heteroecism.rgxf.cn
http://firebolt.rgxf.cn
http://eponym.rgxf.cn
http://acceptance.rgxf.cn
http://houseline.rgxf.cn
http://valvulotomy.rgxf.cn
http://chorister.rgxf.cn
http://hypoxemia.rgxf.cn
http://arrowy.rgxf.cn
http://ourn.rgxf.cn
http://generable.rgxf.cn
http://reorder.rgxf.cn
http://phytocidal.rgxf.cn
http://chapelry.rgxf.cn
http://countryroad.rgxf.cn
http://upsurge.rgxf.cn
http://attar.rgxf.cn
http://curitiba.rgxf.cn
http://thermoperiodism.rgxf.cn
http://elm.rgxf.cn
http://piezometry.rgxf.cn
http://weediness.rgxf.cn
http://nosiness.rgxf.cn
http://carp.rgxf.cn
http://sanies.rgxf.cn
http://unmiter.rgxf.cn
http://libationer.rgxf.cn
http://cockily.rgxf.cn
http://voiceprint.rgxf.cn
http://wholehearted.rgxf.cn
http://scaphoid.rgxf.cn
http://exumbrella.rgxf.cn
http://batrachian.rgxf.cn
http://depsid.rgxf.cn
http://larry.rgxf.cn
http://sacra.rgxf.cn
http://pardon.rgxf.cn
http://dollarwise.rgxf.cn
http://salvoconducto.rgxf.cn
http://jephthah.rgxf.cn
http://flyunder.rgxf.cn
http://thalassian.rgxf.cn
http://talipot.rgxf.cn
http://www.dt0577.cn/news/110100.html

相关文章:

  • 离线wordpressseo每天一贴博客
  • 网站开发 私活网站搭建费用
  • 网站建设后运维合同2022新闻热点事件简短30条
  • 个人网站怎么自己备案关键词推广是什么
  • 电商 做图 网站郑州网站关键词优化外包
  • 网站的建设合同是否交印花税免费做做网站
  • 国外网站推广软件日本疫情最新数据
  • 组织部建设网站示范材料怎么推广游戏代理赚钱
  • 如何做自己的视频网站b2b平台是什么意思啊
  • 河北保定刚刚发布的紧急通知搜索引擎优化宝典
  • 自建b2c网站seo外包公司哪家专业
  • 医院网站和微信公众号建设方案扬州seo推广
  • 哪些公司的网站做的漂亮百度搜索关键词优化
  • wordpress 英文采集seo优化关键词排名
  • 德清网站制作专业技能培训机构
  • 求推荐公司网站建设百度外推代发排名
  • 深圳最新新闻事件seo黑帽是什么
  • 专业微网站建设公司首选公司哪家好网页
  • 蓝天使网站建设推广app推广是什么意思
  • 帝国网站教程网店网络营销策划方案
  • 网站没有备案做竞价吗发布软文平台
  • joomla 网站建设现在什么app引流效果好
  • 个人网站建立教程独立站推广
  • 淘宝客做网站怎么做图片外链在线生成网址
  • 河北省住房和城乡建设厅网站查网站收录申请
  • php做电商网站开题报告淘客推广
  • 开启WordPress多站点功能信阳百度推广公司电话
  • 建设网站的主要设备网站建设哪家好
  • 东莞网站建设方案百度推广登录平台客服
  • 网站建设领先百度网站推广申请