10-21-2010 10:36 PM
My server went shutdown last night. I checked log and contact to HP support. They said the reason is system error on kernel level and I have to install cumulative patch PHKL_40942 because my SAS’s driver is old.
I never installed patch on HP-UX. Is this procedure same as Windows OS? Could I delete patch if something will wrong with my OS? I read this article http://www11.itrc.hp.com/service/patch/addToCart.d
Should I install patch like this? installation instructions for 11.31.1009: https://h20392.www2.hp.com/portal/swdepot/displayI
I checked my OS patch list
# swlist –l fileset –a patch_state *,c=patch
and determined that there is no patch PHKL_40942
Solved! Go to Solution.
10-21-2010 10:48 PM
please use below link
you must have login to this site register for it and go ahead.
#swinstall will install the patch , but before this fire swinstall in previewmode (-p) sothat you can do the patch analysis.
10-21-2010 10:53 PM
download ii. when you untar and unzip it on the system. you will find a script to create a deppot. run it it will create a patch depot on the system.
to run swinstall in preview mode :
check everything went fine in preview mode.
As this is kernal patch ..system will be rebooted.
10-21-2010 11:03 PM
If there are dependencies, you need them.
Once you have the depot downloaded (note there are different delivery formats - read the instructions!), install them by using the
# swinstall -s /path/to/depot
Hope this helps!
There are only 10 types of people in the world -
those who understand binary, and those who don't.
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
10-21-2010 11:05 PM
- Log in to http://www.itrc.hp.com
- Go to "Patch Database" (under "Downloads")
- Enter "PHKL_40942" in the search files of "find a specific patch"
- The search results will show you PHKL_40942, which has a critical warning, so DO NOT INSTALL THAT PATH ! There is a good more recent one : PHKL_41355.
- Select patch PHKL_41355 and clock on "add to selected patch list".
- Now you get a list with your selected patch, and all dependencies that you MUST install. Do NOT unselect any patch ! I presume you don't need any other patches, so click on "download selected" on the bottom of the page.
- For the download format, I always select a gzip package. Download it, and set the file on your system.
Next steps are for you, and depend more on what you like then what you have to do.
What do I do : Create a directory under /var/tmp and move the downloaded file to this location.
- gzip this file
- untar this file
- edit the "create_depot..." script and give a shortname "without spaces) for these patches with variable BUNDLE, and a long name in double-quotes with variable TITLE. This step is fully optional.
- run script create_depot...
Now you have an installable depot on your system.
- run swinstall, select /var/tmp/
Probably, your system will have to reboot after installing the patches, but the GUI will tell you everything. It's just that you better stop all end-user aplications before beginning swinstall.
10-22-2010 12:17 AM
when you go to the patch directory of HP, there is good recommendation for patch install ; go to Installation instructions, you have to download patch:
# sh PATCH
it makes depot
# swinstall -x autoreboot=true -x patch_match_target=true \
10-22-2010 03:28 AM
I suggestion looks very easy and suitable for me.
>> The search results will show you >>PHKL_40942, which has a critical warning, >>so DO NOT INSTALL THAT PATH ! There is a >>good more recent one : PHKL_41355.
>>I download like this. I brought part of >>screen from downloaded page
2.I downloaded all depots (including dependencies) hpux__11.31_10220803.gzip and I opened this tar file. There are 39 files.
3.I put it in /tmp/depots/40942
4.The hpux__11.31_10220803.gzip has file create_depot_hpux.11.31. Should I rename this file? for example to create_depot_first?
5.Imagine, I have untarâ ed or unzzipâ ed and have script file create_depot_first. Should I just run
# ./create_depot_ first ?
6.After step number 4 I must run this command?
# swinstall /tmp/depots/40942/ create_depot_ first or itâ s worng?
7.Could I delete all those depots if after installing my OS will have problem?
10-22-2010 04:58 AM
There is no need to rename the script. Just run it as it is. However, I advise you to set your own values vor BUNDLE and TITLE in this script, because it are these values that you will later see when you run swlist on your server. But the script will just run fine without customizing these values.
After the software is installed with swinstall, you can remove the download and the depot. You will never need it again, unless you have other servers where these patches may be usefull.
10-22-2010 05:01 AM
I always just run "swinstall". It will open a pop-up window where you can enter the path to your depot. (Your depot will not be in de depot drop-down list, because you never used it before)
10-22-2010 05:12 AM
>>However, I advise you to set your own >>values vor BUNDLE and TITLE in this >>script, because it are these values that >>you will later see when you run swlist on >>your server.
What does it mean? What should I do? Where should I set values for BUNDLE?
10-22-2010 05:51 AM
There are a lot values for BUNDLE and TITLE. At line 37 and 38 are these values:
31 typeset -i INTERACTIVE=0
32 typeset -i SKIP_DEPOT=0
37 TITLE="Patch Bundle"
40 Temporary values
Should i change these values to>:
10-22-2010 10:04 AM
Of course not. ;-)
Yes, you can use swremove.
>What does it mean? What should I do? Where should I set values for BUNDLE?
>Wim: Edit file create_depot_hpux.11.31
Look at lines 37 and 38 (or somewhere near)
Before you start editing the script, you should look at the command options. There are several that you can change.
>Wim: I always just run "swinstall". It will open a pop-up window where you can enter the path to your depot.
You can also provide that depot on the command line.
10-29-2010 12:41 AM
1. Download *.zip file
2. Moved to server and unziped. There were a lot patch sets and one script for creating bundle (create_depot_hpux.11.31)
3. opened unziped folder and runs command:
# su create_depot_hpux.11.31
which created many depots for each patch.
4. sam-> software management-> Install Software-> choose catalog where are my depots and then ok.
5. after installation server rebooted and all services and softwares are running correctly, yet.
Thanks and regards,