Dell Optiplex GXa SolarisTM 9  x86  12/02

Solaris 9 x86 OSパッチのインストール

戻る
必要なソフトウェア:
9_x86_Recommended.zip ftp://jp.sunsolve.sun.com/pub/patches/ http://sunsite.sut.ac.jp/pub/sun-info/sunsolve-patches/ (2003年12月16日時点で、約74.5MBの容量がある)
準備:
作業ディレクトリを作成する。
$ mkdir /opt/src/patches/031216
作成した作業ディレクトリに移動する。
$ cd /opt/src/patches/031216
ダウンロード:
アーカイブをダウンロードする。(まだwgetをインストールしていないので、FTPでダウンロードした)
$ ftp jp.sunsolve.sun.com Connected to sunsolve.sun.com. 220- 220-Welcome to the SunSolve Online FTP server. 220- 220-Public users may log in as anonymous. 220- 220-Contract customers should use the following 2-tier login procedure: 220- 220-At the 1st login prompt: sunsolve 220- passwd: sunmicro 220- 220-At the 2nd login prompt: / 220-example: myssID/mypasswd 220- 220-Public users may log in as anonymous; contract customers 220-should use the standard sunsolve login and password, 220-followed by their SunSolve account/password when prompted. 220- 220- 220 sunsolve7 FTP server (Version wu-2.6.2(25) Mon Aug 25 02:00:22 MDT 2003) ready. Name (jp.sunsolve.sun.com:junya): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: me@domain.com 230-********************************************************************** 230-ATTENTION: 230---------- 230-Downloading anything from this site indicates implicit compliance with 230-the terms and conditions set forth in the README document found at: 230- 230-ftp://sunsolve.sun.com/README 230- 230-********************************************************************** 230- 230-Please read the file README 230- it was last modified on Mon Aug 26 09:27:12 2002 - 483 days ago 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd pub/patches 250 CWD command successful. ftp> get 9_x86_Recommended.zip 200 PORT command successful. 150 Opening BINARY mode data connection for 9_x86_Recommended.zip (74465568 bytes). 226 Transfer complete. local: 9_x86_Recommended.zip remote: 9_x86_Recommended.zip 74465568 bytes received in 2.3e+02 seconds (310.98 Kbytes/s) ftp> by 221-You have transferred 74465568 bytes in 1 files. 221-Total traffic for this session was 74467134 bytes in 1 transfers. 221-Thank you for using the FTP service on sunsolve7. 221 Goodbye.
インストール:
ダウンロードしたアーカイブを解凍する。
$ unzip 9_x86_Recommended.zip
解凍されたフォルダに移動する。
$ cd 9_x86_Recommended
インストールが完了したら、自動で再起動させるようにするので、 install_clusterをviで開く。
$ vi install_cluster
最下行を以下のように書き換えて保存する。
cleanup sync ; sync ; reboot # <- 新規追加行 exit 0
SuperUserになって、シングルユーザーモードに落とす。
$ su password: # # init s
シングルユーザーモードでログインしたら、作業ディレクトリに移動して パッチのインストールを開始する。
# cd /opt/src/patches/031216/9_x86_Recommended # ./install_cluster | tee install.log Patch cluster install script for Solaris 9_x86 Recommended *WARNING* SYSTEMS WITH LIMITED DISK SPACE SHOULD *NOT* INSTALL PATCHES: With or without using the save option, the patch installation process will still require some amount of disk space for installation and administrative tasks in the /, /usr, /var, or /opt partitions where patches are typically installed. The exact amount of space will depend on the machine's architecture, software packages already installed, and the difference in the patched objects size. To be safe, it is not recommended that a patch cluster be installed on a system with less than 4 MBytes of available space in each of these partitions. Running out of disk space during installation may result in only partially loaded patches. Check and be sure adequate disk space is available before continuing. Are you ready to continue with install? [y/n]: y Determining if sufficient save space exists ... Sufficient save space exists, continuing... Installing patches located in /opt/src/patches/031216/9_x86_Recommended Using patch_order file for patch installation sequence Installing 113996-02... Installing 113924-02... Installing 114194-02... Installing 113986-06... Installing 114136-01... Installing 112234-08... Installing 114134-01... Installing 114343-02... Installing 114565-03... Installing 114137-04... Installing 114009-01... Installing 114354-02... Installing 114568-02... Installing 114714-01... Installing 114722-04... Installing 114685-02... Installing 114193-12... Installing 114862-01... Installing 113719-04... Installing 114273-02... Installing 114730-01... Installing 114243-04... Installing 114483-04... Installing 114715-01... Installing 114570-01... Installing 113241-05... Installing 114929-06... Installing 114637-02... Installing 115159-05... Installation of 115159-05 failed. Return code 8. Installing 114858-03... Installing 114972-01... Installing 115755-02... Installing 114563-07... Installing 116046-03... Installing 116045-01... Installing 116044-01... Installing 115168-02... Installing 113990-04... Installing 114496-01... Installing 114328-02... Installing 114980-04... Installing 112662-04... Installing 113988-05... Installing 114015-03... Installing 114017-01... Installing 114145-01... Installing 114210-06... Installing 114362-01... Installing 114435-01... Installing 114436-01... Installing 114876-01... Installation of 114876-01 failed. Return code 8. Installing 116238-01... Installing 114420-01... Installing 114012-02... Installing 115009-02... Installing 114733-03... Installing 114337-08... Installing 114419-02... Installing 113998-05... The following patches were not able to be installed: 115159-05 114876-01 For more installation messages refer to the installation logfile: /var/sadm/install_data/Solaris_9_x86_Recommended_log Use '/usr/bin/showrev -p' to verify installed patch-ids. Refer to individual patch README files for more patch detail. Rebooting the system is usually necessary after installation. ========================================================== ※インストール中のエラーメッセージ(failed. Return code)の、 2は「既にパッチがインストール済み」の意味で、 8は「現在のOS構成には必要がない」、という意味なので全く気に する必要はない。(もしも23などが表示されたらヤバイ。)
パッチの適用が済むと自動リブートされる。