Resolution:Full Screen|1800|1200|950|780|HideMiddle|HideRight

青菜在這啦﹗

solaris 10 無法安裝修補程式(互動式)

Posted in Linux安全管理, 電腦資訊

  • 924
  • views

參考:http://andrew.tophk.net/blog/index.php?entry=entry090429-220311

# pwd

/var/sadm/spool

# ls

121431-37.jar patchproSequester sunucLog cache patchsvr

# smpatch update

正在下載修補程式到 /var/sadm/spool...
正在從下列位置安裝修補程式 /var/sadm/spool...
NOTICE: 無法安裝修補程式 121431-37,因為它的「互動式」類型為策略所禁止。
/var/sadm/spool/patchpro_dnld_2009.07.01@21:39:18:CST.txt 已移動到 /var/sadm/spool/patchproSequester/patchpro_dnld_2009.07.01@21:39:18:CST.txt




# jar -vxf 121431-37.jar


擴展︰121431-37/prepatch
擴展︰121431-37/postbackout
擴展︰121431-37/.diPatch
擴展︰121431-37/patchinfo
擴展︰121431-37/SUNWlucfg/pkgmap
擴展︰121431-37/SUNWlucfg/pkginfo
擴展︰121431-37/SUNWlucfg/install/checkinstall
擴展︰121431-37/SUNWlucfg/install/copyright
擴展︰121431-37/SUNWlucfg/install/i.AddNoUpdate
擴展︰121431-37/SUNWlucfg/install/i.EtcDefLu
擴展︰121431-37/SUNWlucfg/install/i.none
擴展︰121431-37/SUNWlucfg/install/patch_checkinstall
擴展︰121431-37/SUNWlucfg/install/patch_postinstall
擴展︰121431-37/SUNWlucfg/install/postinstall
擴展︰121431-37/SUNWlucfg/install/preinstall
擷取︰121431-37/SUNWlucfg/install/u.AddNoUpdate
擷取︰121431-37/SUNWlucfg/install/u.EtcDefLu
...(略)...

擴展︰121431-37/LEGAL_LICENSE.TXT
擴展︰META-INF/MANIFEST.MF
擴展︰META-INF/PATCHSIG.SF
擴展︰META-INF/PATCHSIG.RSA




# patchadd 121431-37(失敗)

Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!

ERROR: The /var/sadm/spool/121431-37/prepatch script contains invalid permissions. Please make the script executable and reinstall 121431-37.
WARNING: Skipping patch




解決方法:


# cd 121431-37
# chmod 755 p*
# cd ..
# patchadd 121431-37


Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!

Approved patches will be installed in this order:

121431-37

Checking installed patches...
Executing prepatch script...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch 121431-37 has been successfully installed.
See /var/sadm/patch/121431-37/log for details

Patch packages installed:
SUNWlucfg
SUNWlur
SUNWluu

收工﹗ :)

# rm -rf 12*

Posted in Linux安全管理, 電腦資訊 | 924 views|

沒有評論主題 »

仍無迴響。

本篇文章的迴響 RSS 訂閱。 引用網址

發表迴響

Enter this code

Comments details:

;) :? :lol: :idea: :arrow: :P :D :cry: :?: :) :twisted: :x :evil: 8O :| :( :oops: :!: :o :roll: 8) :mrgreen: more »

訪客記數

Locations of visitors to this page

文章排行

隨機文章

廣告

贊助

中文翻译/Chinese TraditionalTranslate to EnglishPreložiť do slovenčiny/SlovakTulkot uz latviešu/Latvianहिन्दी अनुवाद करने के लिए/HindiÖversätta till Svensk/SwedishOversetter til Norsk/NorwegianПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese SimplifiedÜbersetzen Sie zum Deutsch/GermanTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/KoreanПереклад на українську/Ukrainian

近期文章

近期迴響

Tags

近期訪客