Operating System - HP-UX
1846594 Members
1146 Online
110256 Solutions
New Discussion

Re: Patch enquiry problem III

 
SOLVED
Go to solution
Mr Alvin Lau
Occasional Contributor

Patch enquiry problem III

After installing the patch to my system, I can view the file exist but not sure this action is completely and succesfully. Can anyone tell me how to verify ?? Thanks in advance !
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: Patch enquiry problem III

You can always use the swlist command to look at the state of the patches, and other software, on your system.

A command like:

# swlist -l product -a state

Will list all products on the system and what state they are in. The state for all products and patches should always be "configured". If it is anything else, "installed" possibly, then the patch is probably not completely installed.

See 'man swlist' for more information.
Michael Tully
Honored Contributor

Re: Patch enquiry problem III

During the installation the system generates logs that can be found in /var/adm/sw/swinstall.log and swconfig.log files.

You can also use the 'swverify -v' command.
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Patch enquiry problem III

There is also another command that can be used and that is 'check_patches -i' (if it is installed on your system. Check out:)

# whereis check_patches
check_patches: /usr/contrib/bin/check_patches /usr/contrib/man/man1m/check_patches.1m
# ll /usr/contrib/bin/check_patches
-r-xr-xr-x 1 bin bin 29741 Jul 17 2000 /usr/contrib/bin/check_patches
Anyone for a Mutiny ?
Tom Geudens
Honored Contributor

Re: Patch enquiry problem III

Hi,
Using check_patches is - in my humble opinion - a very good way to keep the system "clean". Note however that it may give warnings even though nothing is wrong. A slight change to a configuration file implemented with a patch will give "filesize" warnings (it is possible to use "swmodify" to correct these changes, but I prefer not to use "swmodify" :-).

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Denise Kent
Advisor

Re: Patch enquiry problem III

Using the check_patches is a good way to ensure all is well on the system, but make sure you have the latest check_patches patch installed, PHCO_24347, as an earlier patch gives checksum errors for PHKL_18543 which are false.

As mentioned above, swlist -l fileset -a state will also show all filesets are configured and if not use swconfig.

Kind regards
Denise