Solaris 10 Patching Issues


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 Patching Issues
# 1  
Old 02-22-2010
Solaris 10 Patching Issues

Hello folks! I appear to be having troubles installing the recommended cluster patch for the Solaris 10 OS!

I am absolutely clueless on where to start with this. I know it's an error with pkgadd and patchadd.

Code:
# ./installcluster --s10cluster

Setup .


Solaris 10 SPARC Recommended Patch Cluster (2010.02.05)

Application of patches started : 2010.02.22 06:57:23

Applying 120900-04 (1 of 8) ... skipped
Applying 121133-02 (2 of 8) ... skipped
Applying 119254-72 (3 of 8) ... failed

Application of patches finished : 2010.02.22 06:57:26


Following patches were skipped :
 Patches already applied
 120900-04     121133-02

Following patch failed to apply :
 119254-72

Aborting due to failure while applying patch 119254-72.

Application of this patch should have succeeded - this failure is unexpected.
Please assess cause of failure and verify system integrity before proceeding.

Install log files written :
  /var/sadm/install_data/s10s_rec_cluster_short_2010.02.22_06.57.23.log
  /var/sadm/install_data/s10s_rec_cluster_verbose_2010.02.22_06.57.23.log
  /var/sadm/install_data/s10s_rec_cluster_failed_2010.02.22_06.57.23.log
  /var/sadm/install_data/_patchadd_2010.02.22_06.57.23.log
  /var/sadm/install_data/_patchadd_subproc_2010.02.22_06.57.23.log
#



/var/sadm/install_data/s10s_rec_cluster_verbose_2010.02.22_06.57.23.log
Code:
----
# /usr/sbin/patchadd 119254-72
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:

119254-72


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

Patch 119254-72 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/119254-72/log for details

Patchadd is terminating.
----
patchadd exit code : 5
application of 119254-72 failed : unhandled subprocess exit status '5' (exit n branch)
finish time : 2010.02.22 06:57:26
FINISHED : application of 119254-72



Code:
# more /var/sadm/patch/119254-72/log

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

/opt/patch/10_Recommended/patches/119254-72/SUNWinstall-patch-utils-root/install/checkinstall: /opt/patch/10_Recommended/patches/119254-72/SUNWinstall-patch-
utils-root/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
#

/opt/patch/10_Recommended/patches/119254-72/SUNWinstall-patch-utils-root/install/checkinstall has permissions of 777

and I tested it
Code:
# ./checkinstall
PaTcH_MsG 8 Version  of  is not installed on this system.
# pwd
/opt/patch/10_Recommended/patches/119254-72/SUNWinstall-patch-utils-root/install
#


Any and all help will be greatly appreciated. Thank you very much!
# 2  
Old 02-22-2010
ls -l in the patch directory. I think some permission issues perhaps in the patch files..
# 3  
Old 02-22-2010
That was I was suspecting at first. That's why I did a chmod -R 777 on the entire patching directory

They are the current username and group with full read-write to all.
Code:
#pwd
/opt/patch/10_Recommended/patches
# ls -ln
total 388
drwxrwxrwx   8 2001     1337         512 Jan 18 17:25 118666-25
drwxrwxrwx   5 2001     1337         512 Jan 18 17:40 118667-25
drwxrwxrwx   7 2001     1337         512 Mar 19  2009 118712-23
drwxrwxrwx   3 2001     1337         512 Sep 10  2007 118731-01
drwxrwxrwx   7 2001     1337         512 Jan  5 15:12 118777-15
drwxrwxrwx 123 2001     1337        3072 Jan 29  2007 118833-36
drwxrwxrwx  16 2001     1337         512 Feb  5  2007 118918-24
drwxrwxrwx  14 2001     1337         512 Jan  4 15:29 119059-50
drwxrwxrwx   3 2001     1337         512 May 12  2005 119063-01
drwxrwxrwx   6 2001     1337         512 Nov 29  2006 119081-25
drwxrwxrwx  10 2001     1337         512 Aug  5  2009 119115-35


Thank you.
# 4  
Old 02-22-2010
can you chown to root:root and re-try?
# 5  
Old 02-22-2010
directory permissions

chmod 777 is NOT a good idea!

And you can not undo this. So unzip your patchcluster (always) on the solaris maschine, then all files have proper user (usually root) and proper permissions everywhere.

But the most important thing:
The user nobody needs to have the right to acces the place you have located the patches.

I had the same error and a simple move solved everything.
Code:
mv somewhere_in_dir/10_Recommended /10_Recommended
cd /10_Recommended
./installcluster --s10cluster

# 6  
Old 02-24-2010
Thank you!

That was indeed the problem. The only issue was for me is that there was not enough room on the root partition. So I mounted swap to /10_Recommend and then copied the files over from there. Smilie Thank you all!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

2. Emergency UNIX and Linux Support

Solaris 10 patching failed

I was installing Solaris-10 Recommended patch Cluster and it came out without installling all patches. I gave a rebooted and tried installing it again, but it seems some lock or something is prevenventing to install further patches. I am not able to figure out and I am struck in between... (4 Replies)
Discussion started by: solaris_1977
4 Replies

3. Solaris

patching solaris 8

OK, finally managed to get root access to the machines. Now running # uname -a SunOS unknown 5.8 Generic_108528-22 sun4u sparc SUNW,UltraAX-e2 # showrev -p Patch: 112668-01 Obsoletes: Requires: Incompatibles: Packages: SUNWgzip Patch: 109889-01 Obsoletes: 109353-04 Requires: ... (2 Replies)
Discussion started by: Norman Khine
2 Replies

4. Solaris

Solaris Patching vs OS Upgrade

Hello, I have a doubt regarding patching and OS upgrade. What is the difference when i install a Recomended Patch Cluster using installcluster script on a solaris10 update 6 server vs Upgrading Solaris 10 update 6 to update 10 ? I have applied update10 Recomended Patch Cluster on a... (1 Reply)
Discussion started by: fugitive
1 Replies

5. Solaris

Solaris Patching.

Hi All, I have a question ? Which all patches need to be applied in single user mode and which all not .Is there any rule all patches need to be applied in /var/tmp.Thanks in advance for answers.:) (1 Reply)
Discussion started by: rama krishna
1 Replies

6. Solaris

Regarding Solaris patching..

Hi Gurus, I am new to solaris patching.. while doing the patching do we need to have the root previligies and also need help while doing patching work if the server has veritas on it........ Thanks in advance.......... (10 Replies)
Discussion started by: samanth009
10 Replies

7. Solaris

Patching Solaris 10

Hello to all, I have a quick question. I am learning Solaris, with Solaris 10 x86, and one of the chapters in the manual is about patching. So can I download free patches from the Sun page, I mean with out paying a license. Because It would be a great exercise to patch my installation of Solaris.... (1 Reply)
Discussion started by: piukeman
1 Replies

8. UNIX for Dummies Questions & Answers

Patching Solaris

Hi quick and question for the unix expert here i downloaded the lastest patch from sun. i'm ready to patch my production server. should i just patch it as is or go in to init 1 or init S to do the patching. someone told me that you can just patch the server in init 3 and some other... (2 Replies)
Discussion started by: xNYx
2 Replies
Login or Register to Ask a Question