最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
當(dāng)前位置: 首頁 - 科技 - 知識(shí)百科 - 正文

記一次打PSU遇到的Copyfailed的問題

來源:懂視網(wǎng) 責(zé)編:小采 時(shí)間:2020-11-09 13:05:44
文檔

記一次打PSU遇到的Copyfailed的問題

記一次打PSU遇到的Copyfailed的問題:好久沒做過安裝和打PSU的活了,心里還有點(diǎn)小期待,本以為2個(gè)小時(shí)就可以結(jié)束的事情,結(jié)果輪到真正的打的時(shí)候,打了4個(gè)多小時(shí)才弄完,遇到了一些小問題,我這次打的環(huán)境是11.2.0.3.9,這里做個(gè)記錄。廢話就不說了,我們來先看下日志: root@crmdb1rac
推薦度:
導(dǎo)讀記一次打PSU遇到的Copyfailed的問題:好久沒做過安裝和打PSU的活了,心里還有點(diǎn)小期待,本以為2個(gè)小時(shí)就可以結(jié)束的事情,結(jié)果輪到真正的打的時(shí)候,打了4個(gè)多小時(shí)才弄完,遇到了一些小問題,我這次打的環(huán)境是11.2.0.3.9,這里做個(gè)記錄。廢話就不說了,我們來先看下日志: root@crmdb1rac

好久沒做過安裝和打PSU的活了,心里還有點(diǎn)小期待,本以為2個(gè)小時(shí)就可以結(jié)束的事情,結(jié)果輪到真正的打的時(shí)候,打了4個(gè)多小時(shí)才弄完,遇到了一些小問題,我這次打的環(huán)境是11.2.0.3.9,這里做個(gè)記錄。廢話就不說了,我們來先看下日志: root@crmdb1rac1:/#/orac

好久沒做過安裝和打PSU的活了,心里還有點(diǎn)小期待,本以為2個(gè)小時(shí)就可以結(jié)束的事情,結(jié)果輪到真正的打的時(shí)候,打了4個(gè)多小時(shí)才弄完,遇到了一些小問題,我這次打的環(huán)境是11.2.0.3.9,這里做個(gè)記錄。廢話就不說了,我們來先看下日志:

root@crmdb1rac1:/#/oracle/app/11.2.0/grid/OPatch/opatch auto /oraclelog/opatch_soft -ocmrf /oracle/app/grid/ocm0709.rsp
Executing /oracle/app/11.2.0/grid/perl/bin/perl /oracle/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /oraclelog -patchn opatch_soft -ocmrf /oracle/app/grid/ocm0709.rsp -paramfile /oracle/app/11.2.0/grid/crs/install/crsconfig_params
/oracle/app/11.2.0/grid/crs/install/crsconfig_params
/oracle/app/11.2.0/grid/crs/install/s_crsconfig_defs
This is the main log file: /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-07-10_00-18-14.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system: /oracle/app/11.2.0/grid/cfgtoollogs/opatchauto2014-07-10_00-18-14.report.log
2014-07-10 00:18:14: Starting Clusterware Patch Setup
Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params
patch /oraclelog/opatch_soft/17592127/custom/server/17592127 apply successful for home /oracle/app/oracle/product/11.2.0/db 
 patch /oraclelog/opatch_soft/18031683 apply successful for home /oracle/app/oracle/product/11.2.0/db 
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'crmdb1rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.cvu' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.crmdb1rac1.vip' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.cvu' on 'crmdb1rac1' succeeded
CRS-2672: Attempting to start 'ora.cvu' on 'crmdb1rac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'crmdb1rac1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'crmdb1rac1'
CRS-2676: Start of 'ora.cvu' on 'crmdb1rac2' succeeded
CRS-2677: Stop of 'ora.crmdb1rac1.vip' on 'crmdb1rac1' succeeded
CRS-2672: Attempting to start 'ora.crmdb1rac1.vip' on 'crmdb1rac2'
CRS-2677: Stop of 'ora.scan1.vip' on 'crmdb1rac1' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'crmdb1rac2'
CRS-2676: Start of 'ora.crmdb1rac1.vip' on 'crmdb1rac2' succeeded
CRS-2676: Start of 'ora.scan1.vip' on 'crmdb1rac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'crmdb1rac2'
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'crmdb1rac2' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'crmdb1rac1' succeeded
CRS-2672: Attempting to start 'ora.oc4j' on 'crmdb1rac2'
CRS-2676: Start of 'ora.oc4j' on 'crmdb1rac2' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.ons' on 'crmdb1rac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.net1.network' on 'crmdb1rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'crmdb1rac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'crmdb1rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.crf' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'crmdb1rac1'
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'crmdb1rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'crmdb1rac1' succeeded
CRS-2677: Stop of 'ora.crf' on 'crmdb1rac1' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'crmdb1rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'crmdb1rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.cssd' on 'crmdb1rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.gipcd' on 'crmdb1rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'crmdb1rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'crmdb1rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'crmdb1rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully unlock /oracle/app/11.2.0/grid
patch /oraclelog/opatch_soft/17592127 apply failed for home /oracle/app/11.2.0/grid
CRS-4123: Oracle High Availability Services has been started.

在打PSU進(jìn)行到Successfully unlock /oracle/app/11.2.0/grid這一步的時(shí)候。這個(gè)時(shí)候屏幕的輸出會(huì)非常非常的慢,我們可以觀察后臺(tái)的日志輸出,我們發(fā)現(xiàn)在后面進(jìn)行一個(gè)copy操作的時(shí)候出現(xiàn)了問題。如下所示:

 Patching component oracle.usm, 11.2.0.3.0...
 The following actions have failed:
 Copy failed from '/oracle/app/11.2.0/grid/.patch_storage/16619898_Jun_26_2013_21_46_53/files/lib/libeons.so' to '/oracle/app/11.2.0/grid/lib/libeons.so'... 
 Copy failed from '/oracle/app/11.2.0/grid/.patch_storage/16619898_Jun_26_2013_21_46_53/files/lib/libhasgen11.so' to '/oracle/app/11.2.0/grid/lib/libhasgen11.so'... 
 Copy failed from '/oracle/app/11.2.0/grid/.patch_storage/16619898_Jun_26_2013_21_46_53/files/lib/libocr11.so' to '/oracle/app/11.2.0/grid/lib/libocr11.so'... 
 Copy failed from '/oracle/app/11.2.0/grid/.patch_storage/16619898_Jun_26_2013_21_46_53/files/lib/libocrb11.so' to '/oracle/app/11.2.0/grid/lib/libocrb11.so'... 
 Copy failed from '/oracle/app/11.2.0/grid/.patch_storage/16619898_Jun_26_2013_21_46_53/files/lib/libocrutl11.so' to '/oracle/app/11.2.0/grid/lib/libocrutl11.so'... 

我們可以看到在copy這些文件的時(shí)候是無法成功copy的,這是因?yàn)槲覀兊腛racle的這些so文件在內(nèi)存中被占用著,我們需要執(zhí)行slibclean去清理這些緩存。于是我做了回退的操作,然后把crs完整的停下來,做了幾次slibclean的操作,在正常的啟動(dòng)crs。做完這些操作后,我發(fā)現(xiàn)打PSU仍然在這一步失敗了。于是我查了一些資料。我把這幾個(gè)coyp失敗的.so的文件做了一個(gè)備份,移動(dòng)到了其他的目錄里面,然后crs就無法成功啟動(dòng)了。crs無法啟動(dòng)還怎么打PSU呢?于是我又把文件拷貝回去,我仔細(xì)觀察了下,在打PSU的時(shí)候,會(huì)自動(dòng)把crs停掉,然后就會(huì)運(yùn)行我們剛剛所說的Successfully unlock /oracle/app/11.2.0/grid。那我能不能在停掉CRS這個(gè)階段執(zhí)行slibclean去清理這些緩存呢?

這是在CRS還在啟動(dòng)狀態(tài)下占用的lib文件:

root@crmdb1rac1:/oracle/app/11.2.0/grid/.patch_storage#genkld |grep oracle
 900000004d98000 b2c7 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libnio.a
 900000004d77000 203b1 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libnet.a
 900000004d5f000 17840 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libzip.a
 900000004d31000 21700 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9ute23.so
 900000004d1e000 12c7c /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libiverel23.so
 900000004cb6000 6792f /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libjclscar_23.so
 900000004c91000 2427d /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9vrb23.so
 900000004c5e000 32c3f /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9jvmti23.so
 900000004c2f000 2ed2c /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9dyn23.so
 900000004b97000 97a31 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9gc23.so
 900000004b7f000 179e1 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9bcv23.so
 9000000046cf000 4af269 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9jit23.so
 9000000046be000 10eef /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9trc23.so
 900000004681000 2ac84 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9dmp23.so
 9000000046ac000 11bab /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9zlib23.so
 900000004649000 37b9e /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libjava.a
 90000000091a000 1d41 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libwrappers.a
 900000004588000 6f0fe /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9vm23.so
 9000000045f8000 50434 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9prt23.so
 900000000918000 1d2f /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9hookable23.so
 90000000456c000 1b631 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/j9vm/libjvm.so
 900000004059000 bf6a /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libj9thr23.so
 900000000916000 1ff3 /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/libjsig.so
 900000004049000 f6aa /oracle/app/oracle/product/11.2.0/db/jdk/jre/bin/classic/libjvm.so
 90000000ff8e000 248bf1b /oracle/app/11.2.0/grid/lib/libclntsh.so
 900000004513000 5852a /oracle/app/11.2.0/grid/lib/libcell11.so
 90000000434a000 1b3f27 /oracle/app/11.2.0/grid/lib/libdb-4.6.so
 90000000428a000 bf3a1 /oracle/app/11.2.0/grid/lib/libcrf11.so
 9000000041d7000 ad7d /oracle/app/11.2.0/grid/lib/libeonsserver.so
 9000000041b1000 15c4e /oracle/app/11.2.0/grid/lib/libonsx.so
 900000004019000 2509a /oracle/app/11.2.0/grid/lib/libeons.so
 90000000123b000 2dd6039 /oracle/app/11.2.0/grid/lib/libttsh11.so
 900000004012000 6c16 /oracle/app/11.2.0/grid/lib/libskgxn2.so
 90000000406c000 1449e1 /oracle/app/11.2.0/grid/lib/libgns11.so
 90000000122e000 c5c5 /oracle/app/11.2.0/grid/lib/libocrutl11.so
 90000000103e000 1ef18b /oracle/app/11.2.0/grid/lib/libocrb11.so
 900000000f9f000 9e0a5 /oracle/app/11.2.0/grid/lib/libocr11.so
 900000000921000 67dc0c /oracle/app/11.2.0/grid/lib/libhasgen11.so
 90000000f7a9000 2adb17 /usr/openv/lib/libpioracle.so

這是在CRS關(guān)閉后,我運(yùn)行了好幾次slibclean之后,占用的lib文件.

 root@crmdb1rac1:/usr/sbin#genkld |grep oracle
 900000001160000 b2c7 /oracle/app/11.2.0/grid/jdk/jre/bin/libnio.a
 90000000113f000 203b1 /oracle/app/11.2.0/grid/jdk/jre/bin/libnet.a
 900000001127000 17840 /oracle/app/11.2.0/grid/jdk/jre/bin/libzip.a
 9000000010f9000 21700 /oracle/app/11.2.0/grid/jdk/jre/bin/libj9ute23.so
 9000000010e6000 12c7c /oracle/app/11.2.0/grid/jdk/jre/bin/libiverel23.so
 90000000107e000 6792f /oracle/app/11.2.0/grid/jdk/jre/bin/libjclscar_23.so
 900000001059000 2427d /oracle/app/11.2.0/grid/jdk/jre/bin/libj9vrb23.so
 900000001026000 32c3f /oracle/app/11.2.0/grid/jdk/jre/bin/libj9jvmti23.so
 900000000ff7000 2ed2c /oracle/app/11.2.0/grid/jdk/jre/bin/libj9dyn23.so
 900000000f5f000 97a31 /oracle/app/11.2.0/grid/jdk/jre/bin/libj9gc23.so
 900000000a97000 4af269 /oracle/app/11.2.0/grid/jdk/jre/bin/libj9jit23.so
 900000000a86000 10eef /oracle/app/11.2.0/grid/jdk/jre/bin/libj9trc23.so
 900000000a49000 2ac84 /oracle/app/11.2.0/grid/jdk/jre/bin/libj9dmp23.so
 900000000a74000 11bab /oracle/app/11.2.0/grid/jdk/jre/bin/libj9zlib23.so
 900000000a0f000 37b9e /oracle/app/11.2.0/grid/jdk/jre/bin/libjava.a
 900000000a47000 1d41 /oracle/app/11.2.0/grid/jdk/jre/bin/libwrappers.a
 90000000094e000 6f0fe /oracle/app/11.2.0/grid/jdk/jre/bin/libj9vm23.so
 9000000009be000 50434 /oracle/app/11.2.0/grid/jdk/jre/bin/libj9prt23.so
 900000000432000 1d2f /oracle/app/11.2.0/grid/jdk/jre/bin/libj9hookable23.so
 900000000926000 1b631 /oracle/app/11.2.0/grid/jdk/jre/bin/j9vm/libjvm.so
 900000000942000 bf6a /oracle/app/11.2.0/grid/jdk/jre/bin/libj9thr23.so
 900000000430000 1ff3 /oracle/app/11.2.0/grid/jdk/jre/bin/libjsig.so
 900000000916000 f6aa /oracle/app/11.2.0/grid/jdk/jre/bin/classic/libjvm.so
 90000000f7a9000 2adb17 /usr/openv/lib/libpioracle.so	

可以看到基本上全是和JDK相關(guān)的一些lib文件,沒有我們需要copy的這些lib文件了。做完這些操作之后,PSU補(bǔ)丁才安裝成功。不知道從何時(shí)開始起,非要折騰幾下才能把事情做完做好。

聲明:本網(wǎng)頁內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問題請及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

記一次打PSU遇到的Copyfailed的問題

記一次打PSU遇到的Copyfailed的問題:好久沒做過安裝和打PSU的活了,心里還有點(diǎn)小期待,本以為2個(gè)小時(shí)就可以結(jié)束的事情,結(jié)果輪到真正的打的時(shí)候,打了4個(gè)多小時(shí)才弄完,遇到了一些小問題,我這次打的環(huán)境是11.2.0.3.9,這里做個(gè)記錄。廢話就不說了,我們來先看下日志: root@crmdb1rac
推薦度:
標(biāo)簽: 一次 copy 問題
  • 熱門焦點(diǎn)

最新推薦

猜你喜歡

熱門推薦

專題
Top