问题分析:
- 肯定是因为MSVCR71.dll文件占用所致。
- 故需要检查服务和进程是否完全正常关闭。
问题解决思路:
- 通过检查所有的Oracle服务是否关闭。
- 找到MSVCR71.dll被哪个进程所占用,将其停止。
参考如下:
MSVCR71.DLL 更新时在使用 找到用该DLL的进程,具体方法如下:
MSVCR71.DLL <span class="kwrd">is</span> <span class="kwrd">in</span> <span class="kwrd">use</span> during Oracle patch installationIf you <span class="kwrd">are</span> trying <span class="kwrd">to</span> upgrade the Oracle Client <span class="kwrd">and</span> an error message <span class="kwrd">is</span> displayed telling you that msvcr71.dll <span class="kwrd">is</span> <span class="kwrd">in</span> <span class="kwrd">use</span>, try the following:
1) Verify that <span class="kwrd">all</span> Oracle services <span class="kwrd">are</span> stopped.
2) Stop the <span class="kwrd">Distributed</span> <span class="kwrd">Transaction</span> Coordinator – <span class="kwrd">In</span> most cases this will solve the issue.
3) Run Process Explorer
a) <span class="kwrd">In</span> the Find menu, click <span class="kwrd">on</span> “Find Handle <span class="kwrd">or</span> DLL” (CTRL F)
b) Type msvcr71.dll <span class="kwrd">and</span> click <span class="kwrd">on</span> <span class="kwrd">Search</span>
c) <span class="kwrd">Go</span> through the list <span class="kwrd">and</span> <span class="kwrd">close</span> the listed applications
第二篇Metalink "Msvcr71.Dll In Use" Error During Upgrade of OWB [ID 602568.1]
In this Document
------------------------------------------------------------------------------<span class="rem">--</span>
Applies <span class="kwrd">to</span>:
Oracle Warehouse Builder - Version 10.2.0.1 <span class="kwrd">to</span> 10.2.0.5 [Release 10.2]
Information <span class="kwrd">in</span> this document applies <span class="kwrd">to</span> <span class="kwrd">any</span> platform.
Symptoms
<span class="kwrd">While</span> applying an OWB 10.2.0.x patch <span class="kwrd">for</span> Oracle Warehouse Builder, the following error occurs:
msvcr71.dll <span class="kwrd">is</span> <span class="kwrd">in</span> <span class="kwrd">use</span>.
Cause
msvcr71.dll <span class="kwrd">is</span> a <span class="kwrd">module</span> containing standard C library functions such <span class="kwrd">as</span> printf, memcpy etc.
It <span class="kwrd">is</span> a part <span class="kwrd">of</span> the Microsoft C Runtime Library.
It might be possible that there <span class="kwrd">are</span> <span class="kwrd">some</span> other process(related <span class="kwrd">to</span> Oracle <span class="kwrd">or</span> <span class="kwrd">not</span>) that <span class="kwrd">are</span> <span class="kwrd">using</span> this <span class="kwrd">file</span> <span class="kwrd">when</span> this <span class="kwrd">file</span> <span class="kwrd">is</span> needed <span class="kwrd">by</span> the OWB Patch <span class="kwrd">for</span> installation.
Solution
<span class="kwrd">To</span> identify which process <span class="kwrd">is</span> actually <span class="kwrd">using</span> the <span class="kwrd">file</span>, please do the following
1. <span class="kwrd">Open</span> the following link <span class="kwrd">in</span> your Internet browser:
http:<span class="rem">//technet.microsoft.com/hi-in/sysinternals/bb896642(en-us).aspx#top</span>
2. Download <span class="kwrd">and</span> install the FileMon <span class="kwrd">for</span> Windows tool.
3. Run the Filemon.exe program.
4. <span class="kwrd">In</span> the Filemon pop-up window, "Filemon Filter", <span class="kwrd">in</span> the "<span class="kwrd">Include</span>" <span class="kwrd">Section</span>, <span class="kwrd">add</span> the <span class="kwrd">value</span> "msvcr71.dll"
Click Apply <span class="kwrd">and</span> click Ok .
5. Monitor the Filemon window <span class="kwrd">for</span> the msvcr71.dll process.
6. <span class="kwrd">Search</span> <span class="kwrd">for</span> the msvcr71.dll <span class="kwrd">file</span> <span class="kwrd">under</span> the <span class="kwrd">column</span> "<span class="kwrd">Path</span>".
7. Verify <span class="kwrd">all</span> the processes that <span class="kwrd">are</span> actually <span class="kwrd">using</span> this <span class="kwrd">file</span> <span class="kwrd">and</span> <span class="kwrd">terminate</span> those processes (stop Oracle <span class="kwrd">and</span> Non-Oracle Processes also that <span class="kwrd">are</span> <span class="kwrd">using</span> this <span class="kwrd">file</span>).
8. Try applying the 10.2.0.X patch again <span class="kwrd">to</span> see <span class="kwrd">if</span> the install goes well.
解决办法:
这样找到使用的进程(msdtc.exe )。 对于msdtc.exe 就是Distributed Transaction Coordinator的进程,在service中把该进程关闭。 安装正常进行。找到服务里的Distributed Transaction Coordinator,停止服务!!
本文提供了解决MSVCR71.dll被占用时,进行Oracle升级遇到错误的方法,包括检查Oracle服务、停止Distributed Transaction Coordinator、使用Process Explorer或FileMon工具查找并终止占用MSVCR71.dll的进程,确保升级过程顺利进行。
668

被折叠的 条评论
为什么被折叠?



