Gopi Desaboyina Solaris Blogs

Just another weblog

Solaris 10 Patching issue: Patches fails with unhandled subprocess exit status ‘5’ (exit n branch)

Patch fails with below errors.

# /usr/sbin/patchadd 119254-78
Validating patches…

Loading patches installed on the system…


Loading patches requested to install.


Checking patches that you specified for installation.


Approved patches will be installed in this order:


Checking installed patches…
Executing prepatch script…

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

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

Patchadd is terminating.

Log shows below error.

patchadd exit code : 5
application of 119254-78 failed : unhandled subprocess exit status ‘5’ (exit n branch)
finish time : 2011.05.16 20:14:13
FINISHED : application of 119254-78


Whenever you get this kind of errors. Please make sure you’ve following things

1. patch dir & it’s sub-dir  is owned by root:root and read and execute permission is there for others

2. make sure there are nobody & noaccess users exist in your machine. if any one of them is missing you would get this error.

3. so it’s better always install patches from /tmp or /var/tmp. If it’s patch bundle or cluster patch set. better do it from /var/tmp. that way even on reboot you wouldn’t loose unzipped version of patch set.


May 19, 2011 - Posted by | Solaris |


  1. Hi ,

    can u please help me out on this issue,Can you please investigate and write down how to add a new disk in X4170 from the Operating System ( not from the BIOS ).

    When we add or replace a disk in one of these Sun Fire boxes we typically need to bounce the box and create a volume from the controller application in the boot process but there is a way to do it from the operating system using an utility (a package has to be installed of course).
    Please let me know as soon as please waiting for your reply please don’t forget.

    Comment by pradeep | May 23, 2011 | Reply

    • Hi Pradeep, I’m not sure I understood your problem correctly. Did you mean after adding disk physically. you need to reboot the box to get it detected ? format output doesn’t show the disk ? Did you try devfsadm -Cv & cfgadm -al after inserting disk physically ?

      Comment by Gopi | May 24, 2011 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: