How to patch a Solaris 8 CIS server

How to patch a Solaris 8 CIS server
!"
#
% #"
#
% '"
#( )) )
% '"
#( )) ) % ) *
$
&
#
+
+,
-
+
+,
/
0
(.
)
)
,
1
2
34
/
$
&
#
/
<
)
6 7
8/
1
1
:
2
)1
% 2
5
2
$
)5
1
;
/
)
2 1
/var/tmp" /var/sadm" 9 1
:
2
;
)
%
)%
)
=.>
tmp )
) )
?
++ -0- / 2)
1
@
)2 1
2
1
1
)
1
1
1
)5
1
Sun Microsystems Inc.
SunOS 5.8
Generic February 2000
Reading ACS custom profile ...
Terminal is set to 'sun'
testsys:/export/home/datatel>148-$ su - root
Password: {mypassword}
Aug 18 08:04:12 testsys su: 'su root' succeeded for root on /dev/console
Sun Microsystems Inc.
SunOS 5.8
Generic February 2000
Reading ACS custom profile ...
Terminal is set to 'sun'
# id
uid=0(root) gid=1(other)
# pwd
/
# df -k
Filesystem
kbytes
used
avail capacity Mounted on
/dev/dsk/c0t2d0s0
67127387 9868021 56588093
15%
/
/proc
0
0
0
0%
/proc
fd
0
0
0
0%
/dev/fd
mnttab
0
0
0
0%
/etc/mnttab
/dev/dsk/c0t2d0s5
5164038 321374 4791024
7%
/var
swap
5001832
8 5001824
1%
/var/run
/dev/dsk/c0t0d0s4
5164038 1496102 3616296
30%
/opt
swap
5004960
3136 5001824
1%
/tmp
/dev/dsk/c0t2d0s6
245679 104644 116468
48%
/datatel/ddmi
/dev/dsk/c0t0d0s3
5164038 342658 4769740
7%
/datatel/work
/dev/dsk/c0t0d0s1
5164038
9 5112389
1%
/datatel/live
/dev/dsk/c0t0d0s0
5164038 2120798 2991600
42%
/datatel/release
# cd /var/tmp
# df –k /var/tmp
/dev/dsk/c0t2d0s5
5164038 321374 4791024
7%
/var
3
2
?
++ -0-
) )
1
)A
How to patch a Solaris 8 CIS system.doc
) )
) 5
5 /var/tmp
A
Page 1 of 12
How to patch a Solaris 8 CIS server
# pwd
/var/tmp
# ftp so3.nccommunitycolleges.edu
Connected to so3.nccommunitycolleges.edu.
220 sco FTP server (North Carolina Community Colleges System Office.) ready.
Name (so3.nccommunitycolleges.edu:root): softp
331 Password required for softp.
Password: {ftppassword}
230 User softp logged in.
ftp> cd ./pub/os_patches
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 ASCII data connection for /bin/ls (198.86.12.100,9543) (0 bytes).
total 874128
-rw-rw-r-1 root
other
63001581 Jul 7 08:20 2.6_Recommended.tar.Z
-rw-rw-r-1 root
other
61592454 Jul 7 08:25 7_Recommended.zip
-rw-rw-r-1 root
other
157408390 Jul 7 08:33 8_Recommended.zip
-rw-rw-r-1 root
other
165266061 Aug 16 09:59 9_Recommended.zip
drwx-----2 root
root
8192 Jan 12 2005 lost+found
226 ASCII Transfer complete.
remote: -l
382 bytes received in 0.0089 seconds (41.74 Kbytes/s)
ftp> hash
Hash mark printing on (8192 bytes/hash mark).
ftp> bin
200 Type set to I.
ftp> get 8_Recommended.zip
150 Binary data connection for 8_Recommended.zip (198.86.12.100,12179) (15740839
0 bytes).
################################################################################
################################################################################
(removed many pages of ####)
########
226 Binary Transfer complete.
local: 8_Recommended.zip remote: 8_Recommended.zip
157408390 bytes received in 1.4e+02 seconds (1088.03 Kbytes/s)
ftp> quit
221 Goodbye.
# ls -al
total 307620
drwxr-xr-x
2 root
other
512 Aug 18 08:23 .
drwxrwxr-x 19 root
sys
1024 Aug 18 08:04 ..
-rw-r--r-1 root
other
157408390 Aug 18 08:25 8_Recommended.zip
1
)
)
54
# cd /var/tmp
# pwd
/var/tmp
# unzip -q -t 8_Recommended.zip
No errors detected in compressed data of 8_Recommended.zip.
< 5
3
)
2
1
1
1
" )
1
# cd /var/sadm/install_data
# pwd
/var/sadm/install_data
# ls -al
total 114
drwxr-xr-x
2 root
sys
drwxr-xr-x 10 root
sys
lrwxrwxrwx
1 root
root
ogs/install_log
How to patch a Solaris 8 CIS system.doc
1
)
1
% % 5)
)
)) 7
2
512 May 9 09:12 .
512 May 9 13:01 ..
26 Feb 24 08:13 install_log -> ../system/l
Page 2 of 12
How to patch a Solaris 8 CIS server
-rw-r--r-1 root
other
55246 May 9 13:01 Solaris_8_Recommended_log
# mv Solaris_8_Recommended_log Solaris_8_Recommended_20050509
# cd /var/sadm/patch
# ls -lrt | tail -1
drwxr-xr-2 root
other
512 May 9 13:01 112097-06
=
1
install_cluster
2 1
5 %2
)2 1
5
B
#
# cd /var/tmp
# pwd
/var/tmp
# ls -l
# unzip –q 8_Recommended.zip
# ls -l
total 307624
drwxr-xr-x 183 root
other
-rw-r--r-1 root
other
# cd 8_Recommended
# ls –l install_cluster
-rwxr-xr-x
1 root
other
# exit
C
:
0
2
=
@
4096 Jul 5 17:33 8_Recommended
157408390 Aug 18 08:25 8_Recommended.zip
6375 Jul
)
5
5 17:31 install_cluster
= 0
) %
D
1
)
%
;
?
++ -0- )) 6
7
)
=. >
)
console login: root
Password: {myrootpassword}
Aug 18 07:13:26 testsys login: ROOT LOGIN /dev/console
Last login: Thu Aug 11 11:59:15 on console
Sun Microsystems Inc.
SunOS 5.8
Generic February 2000
Reading ACS custom profile ...
Terminal is set to 'sun'
# echo "NO LOGINS: System rebooting in 5 minutes" > /etc/nologin
# pgrep -lf "/usr/ud60/bin/udt"
993 /usr/ud60/bin/udt
1095 /usr/ud60/bin/udt
1684 /usr/ud60/bin/udt
4839 /usr/ud60/bin/udt
5397 /usr/ud60/bin/udt
(Wait the allotted time and re-run to see which users are still on)
# pgrep -lf "/usr/ud60/bin/udt"
993 /usr/ud60/bin/udt
1095 /usr/ud60/bin/udt
# pkill –TERM –f "/usr/ud60/bin/udt"
# pgrep -lf "/usr/ud60/bin/udt"
# reboot -- -s
(Use either reboot
# shutdown –i S –y –g0 “---- Solaris patch installation ----“
Aug 18 07:13:30 testsys reboot: rebooted by root
Aug 18 07:13:30 testsys syslogd: going down on signal 15
Aug 18 07:13:30 /usr/lib/snmp/snmpdx: received signal 15
Aug 18 07:13:30 rpcbind: rpcbind terminating on signal.
syncing file systems... done
rebooting...
Resetting ...
1
% "
) :
0
or below shutdown)
)
5
1
1
%
D
1
%
;
How to patch a Solaris 8 CIS system.doc
Page 3 of 12
How to patch a Solaris 8 CIS server
Sun Ultra 1 SBus (UltraSPARC 143MHz), No Keyboard
OpenBoot 3.11, 512 MB memory installed, Serial #9037281.
Ethernet address 8:0:20:89:e5:e1, Host ID: 8089e5e1.
Rebooting with command: boot -s
Boot device: /sbus/espdma@e,8400000/esp@e,8800000/sd@1,0:a File and args: -s
SunOS Release 5.8 Version Generic_117350-23 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
configuring IPv4 interfaces: le0.
Hostname: testsys
INIT: SINGLE USER MODE
Type control-d to proceed with normal startup,
(or give root password for system maintenance): {myrootpasswd}
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
Aug 18 07:15:10 su: 'su root' succeeded for root on /dev/console
Sun Microsystems Inc.
SunOS 5.8
Generic February 2000
Reading ACS custom profile ...
Terminal is set to 'sun'
# id
uid=0(root) gid=1(other)
# who –r
.
run-level S Aug 18 09:52
S
0 ?
# ps -ef
UID
PID PPID C
STIME TTY
TIME CMD
root
0
0 0 07:14:25 ?
0:00 sched
root
1
0 0 07:14:28 ?
0:00 /etc/init -s
root
2
0 0 07:14:28 ?
0:00 pageout
root
3
0 0 07:14:28 ?
0:00 fsflush
root
55
1 1 07:14:44 console 0:00 -sh
root
74
55 1 07:15:14 console 0:00 ps -ef
root
50
1 0 07:14:35 ?
0:00 /usr/lib/sysevent/syseventd
# cd /var/tmp/8_Recommended
# ./install_cluster
Patch cluster install script for Solaris 8 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 /var/tmp/8_Recommended
Using patch_order file for patch installation sequence
Installing 112396-02...
Installation of 112396-02 failed. Return code 2.
Installing 111111-04...
Installation of 111111-04 failed. Return code 2.
Installing 110662-20...
Installing 110380-06...
...
Installing 112097-06...
Installing 114554-24...
Installation of 114554-24 failed. Return code 8.
The following patches were not able to be installed:
112396-02
How to patch a Solaris 8 CIS system.doc
Page 4 of 12
How to patch a Solaris 8 CIS server
111111-04
...
114554-24
For more installation messages refer to the installation logfile:
/var/sadm/install_data/Solaris_8_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.
#
< 5
1
) 7)
1
1
# cd /var/sadm/install_data/
# mv Solaris_8_Recommended_log Solaris_8_Recommended_20050818
# more Solaris_8_Recommended_20050818
:1
)B<1 )
;
# rm /etc/nologin
# reboot
D
)
?
++
?
++
?
++
?
++
?
++
/
2
= 0
-0-0-0-0-0-
)
)
1
1
1
1
1
1
1
%
)
=. >
0
0
1
11
:
E
) %2
) 51
How to patch a Solaris 8 CIS system.doc
2
2 ,=
1
)
) ;
)
Page 5 of 12
How to patch a Solaris 8 CIS server
1
1
./install_cluster
# ./install_cluster
Patch cluster install script for Solaris 8 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 /var/tmp/8_Recommended
Using patch_order file for patch installation sequence
Installing 112396-02...
Installation of 112396-02 failed. Return code 2.
Installing 111111-04...
Installation of 111111-04 failed. Return code 2.
Installing 110662-20...
Installing 110380-06...
Installing 110934-23...
Installing 108987-16...
Installing 111310-01...
Installation of 111310-01 failed. Return code 2.
Installing 108528-29...
Installation of 108528-29 failed. Return code 8.
Installing 109223-06...
Installing 109147-35...
Installing 108434-18...
Installation of 108434-18 failed. Return code 2.
Installing 109805-17...
Installation of 109805-17 failed. Return code 2.
Installing 108435-18...
Installation of 108435-18 failed. Return code 2.
Installing 108989-02...
Installation of 108989-02 failed. Return code 2.
Installing 110458-02...
Installation of 110458-02 failed. Return code 2.
Installing 111325-02...
Installation of 111325-02 failed. Return code 2.
Installing 111881-03...
Installation of 111881-03 failed. Return code 2.
Installing 110075-01...
Installation of 110075-01 failed. Return code 2.
Installing 110901-01...
Installation of 110901-01 failed. Return code 2.
Installing 109657-11...
Installation of 109657-11 failed. Return code 2.
Installing 112325-01...
Installation of 112325-01 failed. Return code 2.
Installing 110943-04...
Installation of 110943-04 failed. Return code 8.
Installing 109324-08...
Installation of 109324-08 failed. Return code 2.
Installing 109091-07...
Installation of 109091-07 failed. Return code 2.
Installing 110387-05...
Installation of 110387-05 failed. Return code 2.
Installing 110283-06...
Installation of 110283-06 failed. Return code 2.
Installing 109277-04...
Installation of 109277-04 failed. Return code 2.
Installing 110951-06...
Installation of 110951-06 failed. Return code 2.
Installing 111234-01...
Installation of 111234-01 failed. Return code 2.
Installing 111098-02...
Installation of 111098-02 failed. Return code 2.
How to patch a Solaris 8 CIS system.doc
Installing 110386-03...
Installation of 110386-03
Installing 111023-03...
Installation of 111023-03
Installing 111317-06...
Installation of 111317-06
Installing 113648-04...
Installing 115827-01...
Installation of 115827-01
Installing 116602-01...
Installation of 116602-01
Installing 108993-48...
Installing 110903-07...
Installation of 110903-07
Installing 112138-01...
Installation of 112138-01
Installing 109318-37...
Installation of 109318-37
Installing 109470-02...
Installation of 109470-02
Installing 109783-03...
Installation of 109783-03
Installing 109951-01...
Installation of 109951-01
Installing 110453-04...
Installation of 110453-04
Installing 110945-08...
Installation of 110945-08
Installing 111071-01...
Installation of 111071-01
Installing 111232-01...
Installation of 111232-01
Installing 110939-01...
Installation of 110939-01
Installing 111548-01...
Installation of 111548-01
Installing 111570-03...
Installation of 111570-03
Installing 110322-02...
Installation of 110322-02
Installing 110286-12...
Installation of 110286-12
Installing 111504-01...
Installation of 111504-01
Installing 111606-06...
Installation of 111606-06
Installing 109882-06...
Installation of 109882-06
Installing 109883-02...
Installation of 109883-02
Installing 110609-04...
Installation of 110609-04
Installing 108725-21...
Installing 108974-45...
Installing 108977-04...
Installation of 108977-04
Installing 109896-30...
Installing 108968-11...
Installing 111069-01...
Installation of 111069-01
Installing 110670-02...
Installation of 110670-02
Installing 111826-01...
Installation of 111826-01
Installing 108981-14...
Installation of 108981-14
Installing 111874-07...
Installation of 111874-07
Installing 111596-03...
Installation of 111596-03
Installing 109667-07...
Installation of 109667-07
Installing 110957-02...
Installation of 110957-02
Installing 111626-03...
Installation of 111626-03
Installing 109885-18...
Installation of 109885-18
Installing 108975-08...
Installation of 108975-08
Installing 109238-02...
Installation of 109238-02
Installing 109007-18...
Installation of 109007-18
Installing 114251-01...
Installation of 114251-01
Installing 112237-11...
Installation of 112237-11
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
Page 6 of 12
How to patch a Solaris 8 CIS server
Installing 112459-01...
Installation of 112459-01
Installing 111879-01...
Installation of 111879-01
Installing 112611-02...
Installation of 112611-02
Installing 108652-90...
Installing 112425-01...
Installation of 112425-01
Installing 112668-02...
Installation of 112668-02
Installing 111958-03...
Installation of 111958-03
Installing 109154-21...
Installation of 109154-21
Installing 110842-12...
Installation of 110842-12
Installing 112161-03...
Installation of 112161-03
Installing 112796-01...
Installation of 112796-01
Installing 112846-01...
Installation of 112846-01
Installing 109326-16...
Installation of 109326-16
Installing 109793-25...
Installation of 109793-25
Installing 111321-04...
Installation of 111321-04
Installing 109328-05...
Installation of 109328-05
Installing 113792-01...
Installation of 113792-01
Installing 109862-03...
Installation of 109862-03
Installing 110896-03...
Installation of 110896-03
Installing 111883-30...
Installation of 111883-30
Installing 113650-02...
Installation of 113650-02
Installing 114152-01...
Installation of 114152-01
Installing 109928-05...
Installation of 109928-05
Installing 108899-04...
Installation of 108899-04
Installing 109354-24...
Installation of 109354-24
Installing 114673-01...
Installation of 114673-01
Installing 114162-01...
Installation of 114162-01
Installing 109778-17...
Installation of 109778-17
Installing 109152-02...
Installation of 109152-02
Installing 111792-11...
Installation of 111792-11
Installing 112609-02...
Installation of 112609-02
Installing 114984-01...
Installation of 114984-01
Installing 110615-13...
Installation of 110615-13
Installing 110335-03...
Installation of 110335-03
Installing 109149-02...
Installation of 109149-02
Installing 109202-06...
Installation of 109202-06
Installing 109458-03...
Installation of 109458-03
Installing 109695-03...
Installation of 109695-03
Installing 109815-20...
Installation of 109815-20
Installing 109887-18...
Installation of 109887-18
Installing 109893-04...
Installation of 109893-04
Installing 111327-05...
Installation of 111327-05
Installing 109894-01...
Installation of 109894-01
Installing 109922-04...
Installation of 109922-04
Installing 110068-04...
Installation of 110068-04
Installing 110389-05...
Installation of 110389-05
Installing 110461-03...
Installation of 110461-03
Installing 110820-12...
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 8.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
How to patch a Solaris 8 CIS system.doc
Installation of 110820-12
Installing 110953-07...
Installation of 110953-07
Installing 110955-05...
Installation of 110955-05
Installing 111332-08...
Installation of 111332-08
Installing 113682-02...
Installation of 113682-02
Installing 111588-05...
Installation of 111588-05
Installing 111624-05...
Installation of 111624-05
Installing 111647-01...
Installation of 111647-01
Installing 112039-01...
Installation of 112039-01
Installing 112390-09...
Installation of 112390-09
Installing 112792-01...
Installation of 112792-01
Installing 113687-01...
Installation of 113687-01
Installing 114045-12...
Installation of 114045-12
Installing 114802-02...
Installation of 114802-02
Installing 115797-01...
Installation of 115797-01
Installing 117049-02...
Installation of 117049-02
Installing 108985-03...
Installation of 108985-03
Installing 116610-01...
Installation of 116610-01
Installing 109460-10...
Installation of 109460-10
Installing 112168-03...
Installation of 112168-03
Installing 117000-05...
Installation of 117000-05
Installing 116455-01...
Installation of 116455-01
Installing 111313-02...
Installation of 111313-02
Installing 109613-07...
Installation of 109613-07
Installing 116973-01...
Installation of 116973-01
Installing 111844-03...
Installation of 111844-03
Installing 111302-03...
Installation of 111302-03
Installing 111308-05...
Installation of 111308-05
Installing 117350-25...
Installing 113679-08...
Installation of 113679-08
Installing 116986-02...
Installation of 116986-02
Installing 116984-01...
Installation of 116984-01
Installing 113749-02...
Installation of 113749-02
Installing 113685-06...
Installation of 113685-06
Installing 111400-03...
Installation of 111400-03
Installing 110910-03...
Installation of 110910-03
Installing 109077-19...
Installing 116993-01...
Installation of 116993-01
Installing 116965-11...
Installing 109134-32...
Installation of 109134-32
Installing 108806-19...
Installation of 108806-19
Installing 110668-05...
Installation of 110668-05
Installing 108919-25...
Installation of 108919-25
Installing 108949-09...
Installing 110898-12...
Installing 110416-05...
Installation of 110416-05
Installing 108869-30...
Installing 110723-08...
Installing 109931-10...
Installing 116997-01...
Installing 110916-06...
Installing 116962-08...
Installing 116959-10...
Installing 109320-14...
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 8.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 8.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 2.
failed. Return code 8.
Page 7 of 12
How to patch a Solaris 8 CIS server
Installing 116950-06...
Installing 112097-06...
Installing 114554-24...
Installation of 114554-24 failed. Return code 8.
The following patches were not able to be installed:
112396-02
111111-04
111310-01
108528-29
108434-18
109805-17
108435-18
108989-02
110458-02
111325-02
111881-03
110075-01
110901-01
109657-11
112325-01
110943-04
109324-08
109091-07
110387-05
110283-06
109277-04
110951-06
111234-01
111098-02
110386-03
111023-03
111317-06
115827-01
116602-01
110903-07
112138-01
109318-37
109470-02
109783-03
109951-01
110453-04
110945-08
111071-01
111232-01
110939-01
111548-01
111570-03
110322-02
110286-12
111504-01
111606-06
109882-06
109883-02
110609-04
108977-04
111069-01
110670-02
111826-01
108981-14
111874-07
111596-03
109667-07
110957-02
111626-03
109885-18
108975-08
109238-02
109007-18
114251-01
112237-11
112459-01
111879-01
112611-02
112425-01
112668-02
111958-03
109154-21
110842-12
112161-03
112796-01
112846-01
109326-16
109793-25
111321-04
109328-05
113792-01
How to patch a Solaris 8 CIS system.doc
109862-03
110896-03
111883-30
113650-02
114152-01
109928-05
108899-04
109354-24
114673-01
114162-01
109778-17
109152-02
111792-11
112609-02
114984-01
110615-13
110335-03
109149-02
109202-06
109458-03
109695-03
109815-20
109887-18
109893-04
111327-05
109894-01
109922-04
110068-04
110389-05
110461-03
110820-12
110953-07
110955-05
111332-08
113682-02
111588-05
111624-05
111647-01
112039-01
112390-09
112792-01
113687-01
114045-12
114802-02
115797-01
117049-02
108985-03
116610-01
109460-10
112168-03
117000-05
116455-01
111313-02
109613-07
116973-01
111844-03
111302-03
111308-05
113679-08
116986-02
116984-01
113749-02
113685-06
111400-03
110910-03
116993-01
109134-32
108806-19
110668-05
108919-25
110416-05
114554-24
For more installation messages refer to the
installation logfile:
/var/sadm/install_data/Solaris_8_Recommended_log
Use '/usr/bin/showrev -p' to verify installed patchids.
Refer to individual patch README files for more patch
detail.
Rebooting the system is usually necessary after
installation.
#
Page 8 of 12
How to patch a Solaris 8 CIS server
1
*
2*)*
32
F) *
FF
F
1
%
1
F F3
) )F
"
2
2
) )
2
1
1
)
1
2 1
@)1
2) )
)%
2
)
)
2
?
++ -0- /
+ %
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
B
1%
1
)
1
1
)B
)1
1
%
%
2
)
No error
Usage error
Attempt to apply a patch that's already been applied
Effective UID is not root
Attempt to save original files failed
pkgadd failed
Patch is obsoleted
Invalid package directory
Attempting to patch a package that is not installed
Cannot access /usr/sbin/pkgadd (client problem)
Package validation errors
Error adding patch to root template
Patch script terminated due to signal
Symbolic link included in patch
NOT USED
The prepatch script had a return code other than 0.
The postpatch script had a return code other than 0.
Mismatch of the -d option between a previous patch
install and the current one.
Not enough space in the file systems that are targets
of the patch.
$SOFTINFO/INST_RELEASE file not found
A direct instance patch was required but not found
The required patches have not been installed on the manager
A progressive instance patch was required but not found
A restricted patch is already applied to the package
An incompatible patch is applied
A required patch is not applied
The user specified backout data can't be found
The relative directory supplied can't be found
A pkginfo file is corrupt or missing
Bad patch ID format
Dryrun failure(s)
Path given for -C option is invalid
Must be running Solaris 2.6 or greater
Bad formatted patch file or patch file not found
Incorrect patch spool directory
Later revision already installed
Cannot create safe temporary directory
Illegal backout directory specified
A prepatch, prePatch or a postpatch script could not be
executed
?
++ -0- < 5
?
++ -0- + %
%B
5) 1
*
How to patch a Solaris 8 CIS system.doc
B
B
4 5
1
*
1
A
A
A/ %%
Page 9 of 12
How to patch a Solaris 8 CIS server
# cd /var/sadm/install_data/
# more Solaris_8_Recommended_20050818
*** Install Solaris 8 Recommended begins Wed May
*** PATCHDIR = /var/tmp/8_Recommended ***
9 12:21:31 EDT 2005 ***
...
Installing 108977-01...
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 108977-01 has been successfully installed.
See /var/sadm/patch/108977-01/log for details
Patch packages installed:
SUNWcsr
SUNWvolu
SUNWvolux
...
Installing 108875-09...
Checking installed patches...
Executing prepatch script...
NOTICE: The following file is being replaced by this patch
/etc/security/audit_event
A copy of it has been saved under the name:
/etc/security/audit_event.06200146
The saved file needs to be scrutinized for any customizations
that may have been made. Please merge these modifications
into the new audit_event that was delivered by this patch.
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 108875-09 has been successfully installed.
See /var/sadm/patch/108875-09/log for details
Patch packages installed:
SUNWcarx
SUNWcsl
SUNWcslx
SUNWcsr
SUNWcsu
Installing 110943-01...
Checking installed patches...
One or more patch packages included in
110943-01 are not installed on this system.
Patchadd is terminating.
How to patch a Solaris 8 CIS system.doc
Page 10 of 12
How to patch a Solaris 8 CIS server
From:
To:
Date:
Subject:
Frances Burris
Michael McGarrah
8/19/2005 9:38:04 AM
Solaris Cluster Patch ezspooler update
To find out where lp resides
find / -name lp
then do the following commands
#cd /usr/bin (this is where the lp command resides for me)
#mv lp lp.orig
#ln -s llp lp
Frances Burris
CIS System Administrator
South Piedmont Community College
[email protected]
704-272-5316
How to patch a Solaris 8 CIS system.doc
Page 11 of 12
How to patch a Solaris 8 CIS server
Michael McGarrah
Williams, Tara
9/16/2005 11:04:49 AM
Re: Upgrade for DMI34
From:
To:
Date:
Subject:
Tara,
…
Here are the docs I promised on the OS fix we performed. All debugging changes were backed
out. I did leave a copy of your unmodified /etc/passwd as /etc/passwd.orig in case you want to
back this out later.
"pkgadd: ERROR: checkinstall script did not complete successfully"
This is a known and documented problem related to the fact that the patchadd, the patchrm, and
the pkgadd commands sometimes use the CHECKINSTALL script to complete the operation and
this scripts runs as NOBODY on the target system.
The following suggestion can be found in the Solaris Operating Environment Frequently Asked
Questions section at the (http://www.sun.com/bigadmin/content/misc/solaris2faq.html) Web site:
You can workaround this in two ways, one is to make sure that the user "nobody" can read all
patch files and execute a "pwd" in the patch directory or add an account "install" to /etc/passwd:
install:x:0:1:installpatch braindamage:/:/bin/true
Installpatch and patchadd use "nobody" as a fallback if it cannot find the "install" user.
-Michael McGarrah
Systems Programmer - SCSA RHCE MCP NNCDS
NC Community College System
phone: (919)807-7198
GGG+
+,
!*'*
# & $& + GGG
Specifics on the patch issue:
Did you review the log files for the individual patches? I had mentioned wanting to get a copy of
the file "/var/sadm/patch/112396-02/log" yesterday. It will show us why you are getting pkgadd
errors for the first patch that failed.
With the Solaris_8_Recommened_log file, we only see the top level errors message that pkgadd
failed but not the details of why.
As I had mentioned yesterday, the 25 errors may be due to packages being removed manually
such as using the 'rm' command instead of 'pkgrm' to remove a package or other reasons like the
EasySpooler install overwriting package managed files.
>>> Tara Williams 9/15/2005 6:29:48 PM >>>
Hi Michael,
The cluster install still gave us too many 5 and 25 codes. I think we'll postpone the upgrade and
use the scheduled downtime tomorrow to figure out all the issues with our patches. Either Matt or
I will be in touch with an update tomorrow.
Thanks for all your help.
How to patch a Solaris 8 CIS system.doc
Page 12 of 12