PIT

Checking and Installing Solaris Patches for the Phase I Proposal (PIT) and Observing Tools (OT)

Warning about applying Solaris OS patches: this process required root privileges and should normally be performed by, or in consultation with, your Unix System Administrator. Also, patches should be installed on an unloaded system with no users currently logged in.

The first thing to do is to determine if you need to apply Solaris OS patches to operate Java by running the appropriate test script. The test scripts for Solaris 8, 9 and 10, are available on the Gemini ftp server. This is an HTTPD server so you should use your web browser to download the files (follow this link to browse the ftp directory).

The files are in the form of shell scripts. Right or Shift-click on the shell script for the appropriate OS version to save them to your local disk. Run the shell script to identify if any patches are required. The recommended way to gather Solaris patches is to follow one of the URLs on the PIT installation or OT installation pages.

Below is an example of this whole process. (Also see the patches README file included with the PIT distribution).

Example of Solaris patch application:

% ls -l TestForPatches7
-rwxr-xr-x   1 patch      staff       1508  Aug 13 TestForPatches7*
% ./TestForPatches7
% ./TestForPatches7 
Building list of installed patches, this may take a while...
ERR: Patch 106300 not installed; minimum 106300-09; 106300-09 in Gemini bundle
ERR: Patch 106327 not installed; minimum 106327-08; 106327-08 in Gemini bundle
ERR: Patch 106541-04 installed; minimum 106541-12; 106541-12 in Gemini bundle
ERR: Patch 106950-03 installed; minimum 106950-13; 106950-13 in Gemini bundle
ERR: Patch 106980-04 installed; minimum 106980-10; 106980-13 in Gemini bundle
ERR: Patch 107081-03 installed; minimum 107081-25; 107081-25 in Gemini bundle
ERR: Patch 107226-03 installed; minimum 107226-12; 107226-12 in Gemini bundle
ERR: Patch 107544 not installed; minimum 107544-03; 107544-03 in Gemini bundle
ERR: Patch 107636 not installed; minimum 107636-03; 107636-06 in Gemini bundle
ERR: Patch 108374 not installed; minimum 108374-04; 108374-04 in Gemini bundle
% ls -l Solaris7PatchesForJava.tar
-rw-r--r--   1 patch      staff    44443648 Aug 27 Solaris7PatchesForJava.tar
% mkdir ./patches
% cd ./patches
% tar xvf ../Solaris7PatchesForJava.tar
x 106300-09.tar.Z, 253745 bytes, 496 tape blocks
x 106327-08.tar.Z, 275763 bytes, 539 tape blocks
x 106541-12.tar.Z, 22421531 bytes, 43793 tape blocks
x 106950-13.tar.Z, 1785301 bytes, 3487 tape blocks
x 106980-13.tar.Z, 289797 bytes, 567 tape blocks
x 107081-25.tar.Z, 3885293 bytes, 7589 tape blocks
x 107153-01.tar.Z, 5518119 bytes, 10778 tape blocks
x 107226-12.tar.Z, 429188 bytes, 839 tape blocks
x 107544-03.tar.Z, 74303 bytes, 146 tape blocks
x 107636-06.tar.Z, 741915 bytes, 1450 tape blocks
x 108374-02.tar.Z, 613025 bytes, 1198 tape blocks
x 108374-04.tar.Z, 613639 bytes, 1199 tape blocks
x 108376-16.tar.Z, 7530043 bytes, 14708 tape blocks
% uncompress *.Z
% ls -l *
-rw-r--r--   1 patch      staff     585728 Mar 26 10:15 106300-09.tar   
-rw-r--r--   1 patch      staff     578048 Mar 26 10:15 106327-08.tar
-rw-r--r--   1 patch      staff    53108224 Mar 26 10:16 106541-12.tar
-rw-r--r--   1 patch      staff    3673088 Mar 26 10:16 106950-13.tar
-rw-r--r--   1 patch      staff     635904 Mar 26 10:16 106980-13.tar
-rw-r--r--   1 patch      staff    7877632 Mar 26 10:16 107081-25.tar
-rw-r--r--   1 patch      staff    9588224 Mar 26 10:16 107153-01.tar
-rw-r--r--   1 patch      staff     797696 Mar 26 10:16 107226-12.tar
-rw-r--r--   1 patch      staff     146944 Mar 26 10:16 107544-03.tar
-rw-r--r--   1 patch      staff    1550848 Mar 26 10:16 107636-06.tar
-rw-r--r--   1 patch      staff    1244672 Mar 26 10:16 108374-02.tar
-rw-r--r--   1 patch      staff    1247232 Mar 26 10:16 108374-04.tar
-rw-r--r--   1 patch      staff    16437760 Mar 26 10:16 108376-16.tar
% tar xf 106300-09.tar
% tar xf 106327-08.tar
% tar xf 106541-12.tar
% tar xf 106950-13.tar
% tar xf 106980-13.tar
% tar xf 107081-25.tar
% tar xf 107226-12.tar
% tar xf 107544-03.tar
% tar xf 107636-06.tar
% tar xf 108374-02.tar
% tar xf 108374-04.tar
% tar xf 108376-16.tar
% patchadd 106300-09
% patchadd 106327-08
% patchadd 106541-12
% patchadd 106950-13
% patchadd 106980-13
% patchadd 107081-25
% patchadd 107226-12
% patchadd 107544-03
% patchadd 107636-06
% patchadd 108374-02
% patchadd 108374-04
% patchadd 108376-16
% ./TestForPatches7
Building list of installed patches, this may take a while...
OK: You are up to date on patch 106300
OK: You are up to date on patch 106327
OK: You are up to date on patch 106541
OK: You are up to date on patch 106950
OK: You are up to date on patch 106980
OK: You are up to date on patch 107081
OK: You are up to date on patch 107226
OK: You are up to date on patch 107544
OK: You are up to date on patch 107636
OK: You are up to date on patch 108374

[Science Operations home] [Phase I Tool home] [Observing Tool home]


Last update August 31, 2001; Colin Aspin