1830705 Members
2540 Online
110015 Solutions
New Discussion

swverify problem

 
SOLVED
Go to solution
John Henrikson
Regular Advisor

swverify problem

Hi I've got a 770 that had a disk problem and crashed. I reinstalled the os and restored from backups, and we're trying to get it ready to migrate to a new set of disks, but before we do we want to clean up the patches on it.. When I run swverify I get the following error listed in swagent.log:
ERROR: File "/var/adm/sw/products/PHKL_25475/STIO-ENG-A-MAN/INFO"
does not exist.
ERROR: The catalog files for product "PHKL_25475,l=/,r=1.0" failed to
load. Check the above output for details.

What would be the best way to get rid of this error? Should I try and reapply the patch?
thanks so much..
10 REPLIES 10
James R. Ferguson
Acclaimed Contributor

Re: swverify problem

Hi John:

Try reinstalling the patch. Enable the 'reinstall' ('-x reinstall=true') option of 'swinstall' when you do so.

Regards!

...JRF...
John Henrikson
Regular Advisor

Re: swverify problem

Reinstallation doesn't seem to be an option, when I included it in the custom patch manager depot I get the following notification: PHKL_25475 is superseded by another patch fileset that is already installed on the target....
Any idea how to get rid of the errors?

Another problem, in the above analysis I get the message:
PHKL_18543 is not in the correct sate and needs to be recopied, reinstalled or reconfigured before another patch can operate on it.. (not exact) but its saying it can't install PHKL_)24165 and a couple others because of this problem....
any suggestions??
thanks!!!!!!!!
John H.
Jeff Schussele
Honored Contributor
Solution

Re: swverify problem

Hi John,

You can cleanup old, unused or superseded patches with the cleanup script.

And be VERY careful messing with PHKL_18543 - this is the patch from hell. Do not reinstall it without searching the forum knowledgebase for all the caveats involved & proper procedures on how to do so properly.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
hpuxrox
Respected Contributor

Re: swverify problem

Not sure if this will work

mkdir -p /var/adm/sw/products/PHKL_25475/STIO-ENG-A-MAN

touch /var/adm/sw/products/PHKL_25475/STIO-ENG-A-MAN/INFO

Then retry your cleanup

Let us know if you get it to work,

Jeff Schussele
Honored Contributor

Re: swverify problem

Hi John,

I recommend you do a swverify PHKL_18543 before you do anything. It may be that the swconfigure did not complete properly when PHKL_18543 was initially installed.
Would be a good idea to thoroughly scan the /var/adm/sw/swX.log(s) where X=install,verify or configure to see if there were errors when PHKL_18543 was initially installed.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
hpuxrox
Respected Contributor

Re: swverify problem

Jeff is correct

You system could be in a very unstable state.
So be careful what you do.
John Henrikson
Regular Advisor

Re: swverify problem

swverify on PHKL_18543 reports 4 of 5 ok, but PHKL_18543.Kern2-Run, 1=/,r=1.0 fails verification......

any advice on what to do??
thanks alot!!!
hpuxrox
Respected Contributor

Re: swverify problem

Due to the risk involved, I usualy call HP Support rather than the forums.

BTW: The best way to thank us is by points.
Jeff Schussele
Honored Contributor

Re: swverify problem

Hi John,

First thing I'd do is create a make_tape_recovery tape (2 are better).
Then check to see if any filesets are in an unconfigured state - do

swlist -l fileset -a state|grep -v -i -e configured -e \#

If there are any unconfigured filesets returned - then

swconfig \*

to configure them all.
Then run the check_patches util to check that all is now well.

It may very well be that you will have to reinstall PHKL_18543 & I would definitely consult w/HP in this matter

Course it NEVER hurts to bounce any of this off the HP SW support folks before doing this.

MANY...MANY...other patches require PHKL_18543 & if it blows up, very bad things will happen.

Good Luck,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
David Bell_1
Honored Contributor

Re: swverify problem

John,

As to the PHKL_25475 being superseded but erroring, I've had htis error. The only resolution was to remove the superseding patch to "reactivate" PHKL_25475, then re-install the superseding patch. This cleaned up the swverify. However, the other advice from Randall and others is VERY sound. Anytime you are dealing with a baseline patch like PHKL_18543, I would definitely involve the Response Center.

HTH,

Dave