Operating System - HP-UX
1830676 Members
2690 Online
110015 Solutions
New Discussion

how to install the kernel patches for 11i

 
shan_7
Advisor

how to install the kernel patches for 11i

HI,

i download same patches for 11i for kernel .
i attch that files . in that one file called create_depot_hp-ux_11. thru this file we have to create deopt file. how to create this depot file .. i fully gone through the readme file. but i not getting .

help me in this acse..

Shankar
7 REPLIES 7
Naveej.K.A
Honored Contributor

Re: how to install the kernel patches for 11i

hi shankar,

run sh ./create_depot_hp-ux-11 to create the depot file

then do swinstall -s depot name.

and you are there in the sdux utility to isntall the depot

All the best
Naveej
practice makes a man perfect!!!
Naveej.K.A
Honored Contributor

Re: how to install the kernel patches for 11i

recommended to take a full system backup before you proceed on with installing the kernel patch.

Take a backup of /stand/vmunux and /stand/system before starting the installation. Eventhough the kernel rebuilt will save the old kernel as vmunix.old and system.old.

With best wishes
Naveej
practice makes a man perfect!!!
Trond Haugen
Honored Contributor

Re: how to install the kernel patches for 11i

What you have attached is the patch PHKL_27091. as Naveej already have explained how to use create_depot_hp-ux-11, all I would like to add is that if you are just installing that one patch you could have done the following (say you downloaded it to /tmp:
# cd /tmp
# sh PHKL_27091
# swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_27091.depot

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
shan_7
Advisor

Re: how to install the kernel patches for 11i

Hi,

Naveej, I tried. but i got some error message ..
Interpreter "/bin/ksh" not found
file link resolves to "/usr/bin/ksh"
sh: ./create_depot_hp-ux_11: not found.

second i tried to install single patch that also exiting with errors.
Naveej.K.A
Honored Contributor

Re: how to install the kernel patches for 11i

Hi shankar,

What if you assign execute permission to the file and then execute.
i.e. chmod 744 ./create_depot_hp-ux_11

and then # ./create_depot_hp-ux_11

What exact error message you are getting when you are trying to install the patch alone.

regds
Naveej
practice makes a man perfect!!!
Steven E. Protter
Exalted Contributor

Re: how to install the kernel patches for 11i

I do it very slightly different.

download the patches as a group patches.zip

unzip patches.zip

create_depot_hp-ux_11 -d /tmp/kernel.depot

swinstall -x autoreboot=true -x reinstall=false -s /tmp/kernel.depot \*

The only real difference is the -d.

SEP
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
Sergej Kleva
Frequent Advisor

Re: how to install the kernel patches for 11i

TRY:

# cd /
# ln -s /usr/bin bin

It might work ... it worked for me!

Regards,
Sergej