Operating System - HP-UX
1837640 Members
3170 Online
110117 Solutions
New Discussion

Re: Working with 'securitych_patch_check'

 
Jeffrey Davis_1
Frequent Advisor

Working with 'securitych_patch_check'

Hi all. We're taking a look at what the "security_patch_check" scripts can offer us and I'm looking for some clarification on some output that I'm getting from my report generated via cron. It looks as follows:
WARNING: PH??_?????. has a state of installed. The state should be "configured" or "available" (see swconfig or reinstall and configure PH??_?????.).
I've read through all the man pages and the 11.00 Patch White Paper again, and don't see anything wrong.
When I check the status of the installed file set or patch via 'swlist -l patch -a patch_state PH??_?????' it tells me that the patch or file set it 'applied'. This is in accordance to the white paper. It is not superseeded nor can I detect any other problem. This script will report pages of these messages for various patches or file sets. I sumize that the 'security_patch_check' script is just mistaken. But why would it be reporting this as a WARNING?
Your thoughts and comments.
2 REPLIES 2
Uday_S_Ankolekar
Honored Contributor

Re: Working with 'securitych_patch_check'

Hi.

That Error usually shows filesets are not configured corresponding to the patches you installed
You can find this by running

swlist -a state -l fileset

Try running swconfig to fix the problem
swconfig \*.

-Goodluck,
Good Luck..
Sridhar Bhaskarla
Honored Contributor

Re: Working with 'securitych_patch_check'

Hi Jeff,


You need to use the following command to see if the patch has been properly configured.

swlist -l fileset -a state

You should get configured in the state otherwise, there might have been problems during the swconfig session.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try