Hi, Scott:

Thanks for your e-mail!

O.K., so this is what I tried:

Ran "lufslist inactive_BE" to get / filesystem for inactive BE
mount /dev/dsk/c0d0s0 /mnt
# ./pca.perl --root=/mnt -y -i -P /usr/local/patches missingrs

Is that mount command what you had in mind?

Unfortunately, though, I got the same "failure produced by pkgadd/Patchadd is 
terminating/Failed (exit code 5)" error messages when I ran pca.perl command 
shown above.

But then I started looking at that /mnt file system and realized that it was at 
100% utilization because of application core files landing in /var/core.  I 
removed some of those cores and now that pca.perl command is applying patches 
to the inactive boot environment!

Thanks, Scott!  Your reply caused me to look more closely and find the problem.

Lisa

From: [email protected] [mailto:[email protected]] On 
Behalf Of Nishimura, Scott L (ESS)
Sent: Tuesday, August 30, 2011 3:15 PM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] pca returns patchadd error - inactive BE

Lisa,

   What if you don't use "lumount" to mount the inactive BE but instead just 
use the regular mnt command?  This is what I do and it has worked fine for me.


Scott

From: [email protected] [mailto:[email protected]] On 
Behalf Of Becktold, Lisa M. (LARC-B7)[Chugach Federal Solutions, Inc.]
Sent: Tuesday, August 30, 2011 12:07 PM
To: [email protected]
Subject: EXT :[pca] pca returns patchadd error - inactive BE

Hi,

How do I use pca to patch inactive boot environment?

Whenever I try to us pca.perl to apply patches to an inactive boot environment, 
I see pkgadd and patchadd and "exit code 5" error messages for each patch:

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

See /.alt.Sol10_u6/var/sadm/patch/119254-81/log for details

Patchadd is terminating.

Failed (exit code 5)

I use "lumount inactive_BE" to mount the inactive boot environment before 
attempting to patch:

# lumount Sol10_u6

I've tried two different versions of the pca.perl command, with different 
options.  However, the result is the same - the pkgadd error appears.

# ./pca.perl --root=/.alt.Sol10_u6 -y -i -P /usr/local/patches missingrs

# ./pca.perl --root=/.alt.Sol10_u6 -install

How do I use pca to patch inactive boot environment?

Note:  The two pca.perl commands shown above work fine when I patch the active 
boot environment.  In other words, I leave out the "-root=/.alt.Sol10_u6"  
option.

Lisa

Lisa Becktold
System Administrator
Chugach Federal Solutions, Inc.
NASA Center for AeroSpace Information Contract
Phone:       443 995 5805

  • [pca] pca ret... Becktold, Lisa M. (LARC-B7)[Chugach Federal Solutions, Inc.]
    • Re: [pca... Nishimura, Scott L (ESS)
      • Re: ... Becktold, Lisa M. (LARC-B7)[Chugach Federal Solutions, Inc.]
    • Re: [pca... Glen Gunselman
      • Re: ... Becktold, Lisa M. (LARC-B7)[Chugach Federal Solutions, Inc.]
        • ... Rajiv Gunja

Reply via email to