Solaris 10에서 Solaris 10 11/06으로 업그레이드하는 경우 여러 SMF 및 패키지 위반 오류가 재부트 시 발생합니다. 다음과 같은 오류 메시지가 나타납니다.
oyster console login: May 3 15:05:47 svc.startd[7]: svc:/system/basicreg:default: Method "/usr/sbin/sconadm register -c -m autoreg" failed with exit status 1. May 3 15:05:48 svc.startd[7]: svc:/system/basicreg:default: Method "/usr/sbin/sconadm register -c -m autoreg" failed with exit status 1. May 3 15:05:48 svc.startd[7]: svc:/system/basicreg:default: Method "/usr/sbin/sconadm register -c -m autoreg" failed with exit status 1. May 3 15:05:48 svc.startd[7]: system/basicreg:default failed #scvs -xv svc:/system/basicreg:default (?) State: maintenance since Wed May 03 15:05:48 2006 Reason: Start method failed repeatedly, last exited with status 1. See: http://sun.com/msg/SMF-8000-KS See: /var/svc/log/system-basicreg:default.log Impact: This service is not running. # # cat /var/svc/log/system-basicreg:default.log [ May 3 15:05:33 Enabled. ] [ May 3 15:05:33 Rereading configuration. ] [ May 3 15:05:47 Executing start method ("/usr/sbin/sconadm register -c -m autoreg") ] You must accept terms of use (by passing in -a) in order to register. The terms of use and binary code license agreement are located at: Terms of Use : http://sun.com/applink/sunuc/tou1en Binary Code License Agreement : http://sun.com/applink/sunuc/bcl1en [ May 3 15:05:48 Method "start" exited with status 1 ] [ May 3 15:05:48 Executing start method ("/usr/sbin/sconadm register -c -m autoreg") ] You must accept terms of use (by passing in -a) in order to register. The terms of use and binary code license agreement are located at: Terms of Use : http://sun.com/applink/sunuc/tou1en Binary Code License Agreement : http://sun.com/applink/sunuc/bcl1en [ May 3 15:05:48 Method "start" exited with status 1 ] # we also had multiple packages owning the same type "f" files after zones upgrade as follows: /usr/lib/breg/basicreg.jar /usr/lib/breg/br-common.jar /usr/lib/breg/data/RegistrationProfile.properties /usr/lib/breg/jdom.jar /usr/lib/breg/resources/i18n/assetStrings_de.properties /usr/lib/breg/resources/i18n/assetStrings_es.properties /usr/lib/breg/resources/i18n/assetStrings_fr.properties /usr/lib/breg/resources/i18n/assetStrings_it.properties /usr/lib/breg/resources/i18n/assetStrings_ja.properties /usr/lib/breg/resources/i18n/assetStrings_ko.properties /usr/lib/breg/resources/i18n/assetStrings_sv.properties /usr/lib/breg/resources/i18n/assetStrings_zh.properties /usr/lib/breg/resources/i18n/assetStrings_zh_TW.properties /usr/lib/breg/resources/i18n/countryStrings_de.properties /usr/lib/breg/resources/i18n/countryStrings_es.properties /usr/lib/breg/resources/i18n/countryStrings_fr.properties /usr/lib/breg/resources/i18n/countryStrings_it.properties /usr/lib/breg/resources/i18n/countryStrings_ja.properties /usr/lib/breg/resources/i18n/countryStrings_ko.properties /usr/lib/breg/resources/i18n/countryStrings_sv.properties /usr/lib/breg/resources/i18n/countryStrings_zh.properties /usr/lib/breg/resources/i18n/countryStrings_zh_TW.properties /usr/lib/breg/resources/i18n/languageStrings_de.properties /usr/lib/breg/resources/i18n/languageStrings_es.properties /usr/lib/breg/resources/i18n/languageStrings_fr.properties /usr/lib/breg/resources/i18n/languageStrings_it.properties /usr/lib/breg/resources/i18n/languageStrings_ja.properties /usr/lib/breg/resources/i18n/languageStrings_ko.properties /usr/lib/breg/resources/i18n/languageStrings_sv.properties /usr/lib/breg/resources/i18n/languageStrings_zh.properties /usr/lib/breg/resources/i18n/languageStrings_zh_TW.properties /usr/lib/breg/resources/i18n/wizardStrings_de.properties /usr/lib/breg/resources/i18n/wizardStrings_es.properties /usr/lib/breg/resources/i18n/wizardStrings_fr.properties /usr/lib/breg/resources/i18n/wizardStrings_it.properties /usr/lib/breg/resources/i18n/wizardStrings_ja.properties /usr/lib/breg/resources/i18n/wizardStrings_ko.properties /usr/lib/breg/resources/i18n/wizardStrings_sv.properties /usr/lib/breg/resources/i18n/wizardStrings_zh.properties /usr/lib/breg/resources/i18n/wizardStrings_zh_TW.properties /usr/lib/breg/resources/i18n/xmlValueStrings_de.properties /usr/lib/breg/resources/i18n/xmlValueStrings_es.properties /usr/lib/breg/resources/i18n/xmlValueStrings_fr.properties /usr/lib/breg/resources/i18n/xmlValueStrings_it.properties /usr/lib/breg/resources/i18n/xmlValueStrings_ja.properties /usr/lib/breg/resources/i18n/xmlValueStrings_ko.properties /usr/lib/breg/resources/i18n/xmlValueStrings_sv.properties /usr/lib/breg/resources/i18n/xmlValueStrings_zh.properties /usr/lib/breg/resources/i18n/xmlValueStrings_zh_TW.properties /usr/lib/breg/wizard.jar /usr/sbin/sconadm /usr/sbin/smpatch |
해결 방법: 다음 단계를 수행합니다.
수퍼유저가 되도록 합니다.
시스템에 설치된 SUNWbreg 및 SUNWbrg 지역화 패키지를 나열합니다.
# pkginfo | awk '{print $2}' | grep 'SUNW.breg' > /tmp/list.breg # cat /tmp/list.breg SUNWcbreg SUNWdbreg SUNWebreg SUNWfbreg SUNWhbreg SUNWibreg SUNWjbreg SUNWkbreg SUNWsbreg # pkginfo | awk '{print $2}' | grep 'SUNW.brg' > /tmp/list.brg # cat /tmp/list.brg SUNWcbrg SUNWdbrg SUNWebrg SUNWfbrg SUNWhbrg SUNWibrg SUNWjbrg SUNWkbrg SUNWsbrg |
/tmp/list.breg 파일 및 /tmp/list.brg 파일의 내용은 시스템에 설치된 지역화 패키지에 따라 다를 수 있으며, 파일이 비어 있을 수도 있습니다. /tmp/list.brg 파일에 패키지가 포함되어 있을 경우 단계 5에서 복사해야 할 패키지를 알 수 있도록 패키지 이름의 목록을 저장합니다. 파일이 비어 있으면 단계 4로 건너뜁니다.
단계 2에서 발견된 패키지를 제거합니다.
# pkgrm `cat /tmp/list.breg /tmp/list.brg` |
SUNWbrg, SUNWdc 및 SUNWbreg 패키지를 제거합니다.
# pkgrm SUNWbrg SUNWdc SUNWbreg |
필요한 SUNWbrg 패키지와 지역화 패키지를 CD 또는 DVD 같은 배포 매체에서 복사합니다.
필요한 지역화 패키지가 /tmp/list.brg 파일에 나열됩니다.
# cd distribution-media # cd Solaris_10/Product # cp -rp SUNWbrg `cat /tmp/list.brg` /tmp |
SUNWbrg 및 지역화 패키지를 설치합니다.
# pkgadd -d /tmp SUNWbrg |
/tmp/list.brg 파일이 비어 있지 않으면 지역화 패키지를 설치합니다.
# pkgadd -d /tmp `cat /tmp/list.brg` |