Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3562919
  • 博文数量: 715
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7745
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(715)

文章存档

2023年(75)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客

分类: Oracle

2020-07-06 20:46:53


Windows 2008 64位系统上安装了11.2.0.4数据库,准备打一下最新的2020年1月份PSU补丁。

下载介质
psu:p30502376_112040_MSWIN-x86-64.zip
ovjm: p30671044_112040_MSWIN-x86-64.zip
opatch: p6880880_112000_MSWIN-x86-64.zip

按README.HTML中一步一步执行,关停服务,备份软件,升级opatch,打补丁apply,一切正常,该执行sql脚本了,发现数据库服务起不来了,汗~~


小沟里又翻船了。

半个小时的工作,折腾了3天,怎么搞定的,且听我慢慢道来。










还是快点说吧,大家都这么忙。
最初反应,不应该啊,linux平台上顺利的很,windows这是咋了,服务起不来了,没strace怎么整(还真有个windows平台的strace,没空去学习)。挨个试了试其他服务,基本上重要的,例如侦听都起不来。

百度一下1053(对,这样快),都在说主机改了IP导致侦听服务起不来,可我没改IP。更换关键字,再瞎搜搜,发现一个可利用的工具SxsTrace.exe,通过这个工具可以跟踪出报错原因,但是解决方法又费了很大劲儿,说是缺少Microsoft Visual C++ 2005 Service Pack 1补丁包,一开始找了几个版本都不对。

为了比对,抽时间自己搭建虚拟机验证,找了几个版本PSU,发现2018年10月份以前的,打上后没问题,之后的,打上后数据库服务起不来,linux平台的却没事。

后来误打误撞(还是自己不认真)发现  这里下载的64位安装包,安装后就没问题了。

微软的下载界面如下:

对,就是这个3MB的小文件。

这个问题折腾半天差点要放弃,打算让客户迁移到linux上或者升级到oracle 19c。

关键的信息如下:

这个补丁版本要搞对。还有一点,有问题要多看操作系统日志。

SxsTrace.exe的用法基本上是以管理员身份开个cmd窗口执行
SxsTrace Trace -logfile:SxsTrace.etl,然后去重现错误,然后返回cmd窗口回车,再执行SxsTrace Parse -logfile:SxsTrace.etl -outfile:SxsTrace.txt ,会产生一个txt文件,用记事本打开看报错日志。
SxsTrace.exe的用法参考:
我的报错日志 SxsTrace.txt 参考:
=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = c:\app\zhang\product\11.2.0\dbhome_1\bin\oraclient11.dll
AssemblyDirectory = c:\app\zhang\product\11.2.0\dbhome_1\bin\
Application Config File = 
-----------------
INFO: Parsing Manifest File c:\app\zhang\product\11.2.0\dbhome_1\bin\oraclient11.dll.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
INFO: Resolving reference Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: Find publisher policy at C:\Windows\WinSxS\manifests\amd64_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_09c03a53facd313f.manifest
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC80.CRT\8.0.50727.6195__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
INFO: Attempt to probe manifest at c:\app\zhang\product\11.2.0\dbhome_1\bin\Microsoft.VC80.CRT.DLL.
INFO: Attempt to probe manifest at c:\app\zhang\product\11.2.0\dbhome_1\bin\Microsoft.VC80.CRT.MANIFEST.
INFO: Attempt to probe manifest at c:\app\zhang\product\11.2.0\dbhome_1\bin\Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL.
INFO: Attempt to probe manifest at c:\app\zhang\product\11.2.0\dbhome_1\bin\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
ERROR: Activation Context generation failed.
End Activation Context Generation.

希望在一年一度的安全大检查工作中,大家安心、快乐。

阅读(5627) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~