Operating System - HP-UX
1822320 Members
5752 Online
109642 Solutions
New Discussion юеВ

Swlist show patch file set in status "Installed"

 
SOLVED
Go to solution
Worapoj P.
Regular Advisor

Swlist show patch file set in status "Installed"

Dear all experist,

Could you please to make me clear in this issue. #swlist -l fileset -a state shown many files set on status "Installed", my HP.Engineer suggested me to run command #swconfig \* after that no files set on status "Installed".
My point is what #swconfig do? and how about PHKL_xxxx, it need to generate new kernel? but during run swconfig process,it didn't perform generate kernel?
My concern is those PHKL_xxxx are properly or not?
If possible could you please review the step or concept of SD-UX when install some patch or product software on HP-UX system, how many process/step are doing when install product on HP-UX? and what is each process/step do?

Many thanks for your helps
Worapoj
For LOVE For Honor For Mankind
8 REPLIES 8
Michael Tully
Honored Contributor
Solution

Re: Swlist show patch file set in status "Installed"

Hi,

Before you run 'swconfig \*' what was the
circumstances of the patch installation?
Did something go wrong? Have a look in
the swagent.log and swinstall.log and
swconfig.log for errors first. You may
have installed filesets over the top of
other ones. Make sure that you have an
ignite tape on hand from prior to these
patches being installed, you may need it.
Having un-configured filesets that are
kernel patches can be a big problem, so
take caution before any further work is
done. What was the patches that show this?
Was any of them PHKL_18543 by any chance.

Before any attempt to load a patch that
may require a reboot, you should run
them in preview mode first:

# swinstall -p -x autoreboot=true -x patch_match_target=true -s

-Michael
Anyone for a Mutiny ?
Printaporn_1
Esteemed Contributor

Re: Swlist show patch file set in status "Installed"

Hi,
Basically 2 steps of HP-UX software installation is 1)software install and 2) software config , it will config software base on vendor supply configuration scripts.

swinstall will do both 1) and 2) , but in unusual case software config is failed for example file system full , software will get into status "INSTALLED" then we can run swconfig later just only run configuration script.
that simply mean
swconfig do only 2)
for more information see man swinstall and man swconfig.

thanks,
enjoy any little thing in my life
Sridhar Bhaskarla
Honored Contributor

Re: Swlist show patch file set in status "Installed"

swinstall basically install all the filesets and most of them are configured during the bootup through swconfig command. If by any chance the software was not installed properly or if there were some problems during the config session, swconfig might fail and the state of these software/patches would go into "install."

Check your swagent.log file to see why swconfig failed to configure these filesets initially.

Running swconfig \* manually will get rid of this. Or atleast you will know what the problems are and fix them if you can.

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

Re: Swlist show patch file set in status "Installed"

Hi,
swinstall is the combination of swinstall+swconfig, After installing the software if any error occured while configuring(which cn be seen in swagent.log/swinstall.log files)those filesets status will be installed, but you can't run those software, which can be corrected by swconfig
never give up
Worapoj P.
Regular Advisor

Re: Swlist show patch file set in status "Installed"

Dear all,

Another inquiry, how about PHKL_xxxx ,So it need to build new kernel during "Config" session right?. But what I saw on screen,
most PHKL_xxxx have not yet performed generate new kernel before swinstall session terminated(from some problem). It should perform build kernel process when issue #swconfig \*. But actually not.
Please explain me why??

For LOVE For Honor For Mankind
Worapoj P.
Regular Advisor

Re: Swlist show patch file set in status "Installed"

Or it need to build new kernel by manual?

Worapoj
For LOVE For Honor For Mankind
Ravi_8
Honored Contributor

Re: Swlist show patch file set in status "Installed"

Hi,
Once the kernel(PHKL_xxxx) patches has been installed, systems will build the kernel and prompt you to reboot. after you reboot the machine the new kernel will be in effect. If the system didn't prompt you to reboot then the patch has not been installed properly. might be checksum error while downloading the patches.
never give up
Worapoj P.
Regular Advisor

Re: Swlist show patch file set in status "Installed"

Hi Ravi

I mean , swinstall terminated during installed PHKL_xxxx . This patch has not yet prompt to build new. Then I executed swconfig \* command , Also it still not perform build new kernel , but output from swconfig done sucessfully. This made me confuse why PHKL_XXXX no need to generate new kernel files? This installation properly or not?

I'm not mean in case donwload patches!!
Thank advance for your help
Worapoj
For LOVE For Honor For Mankind