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
#
----
# /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!
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
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. Thank you all!
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)
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)
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)
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)
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)
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)
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)