Operating System - HP-UX
1826269 Members
3829 Online
109692 Solutions
New Discussion

run a patch assessment using swainv.sh

 
Jonathan Grymes
Frequent Advisor

run a patch assessment using swainv.sh

This script fails on an HP B2000 HPUX 11.0.
The error is: The swlist command has failed.

The same script ran fine on an HPUX 11i system.

The description says its for 11.X and up.
7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: run a patch assessment using swainv.sh

If there is an error log, you need to see why the swlist command failed.

If nothing else, have a look at the script and see what they are doing with the swlist command. Once you find it, try to run it yourself and see what happens.

swlist should work no matter what.
Bill Hassell
Honored Contributor

Re: run a patch assessment using swainv.sh

Run swlist yourself. Use:

swlist -l product

If there is corruption in /var/adm/sw, then you'll get errors. Hopefully, you have not removed files in this directory to make additional space available as this directory is critical to patch and application installation.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: run a patch assessment using swainv.sh

Shalom Jonathan,

Not familiar with that script name, maybe its new.

Lets check for sd/ux corruption.

swverify \*

That will list problematic installations.


SEP
Don't worry, where I live isn't being shelled!
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: run a patch assessment using swainv.sh

swainv.sh is the current patch assesment tool from the ITRC. You download a copy, run it and the result is sent back to the patch assesment web page for the results.


Bill Hassell, sysadmin
Kawika Takayama
New Member

Re: run a patch assessment using swainv.sh

I am getting this same error when I run this script on a 11.23i system with a FOUNDATION OE installation. I am not sure if I am missing anything? I am scp'ing the file to my server and then chmoding the file to 700 and then ./swainv

But I keep getting the same error as the previous user dealing with error in swlist??? Does anyone know if there are dependancies?? HP needs to have a better patching fascillity!
Bill Hassell
Honored Contributor

Re: run a patch assessment using swainv.sh

You'll need to run swlist and see if there are any errors. The assesment script depends on a clean installation list.


Bill Hassell, sysadmin
ericchoice
New Member

Re: run a patch assessment using swainv.sh

i met same problem when running swainv.sh. Have you finished your assessment task? Can you give me some help about it?
thanks a lot!