1834146 Members
2231 Online
110064 Solutions
New Discussion

Installing patch bundle

 
Venkat_11
Regular Advisor

Installing patch bundle

I downloaded latest patch bundle as tar file. And when i untared that file it came up with

-rw-r--r-- 1 50 namsysad 1402880 Nov 17 00:21 BUNDLE11i_B.11.11.0306.1.depot
-rw-r--r-- 1 50 namsysad 504064000 Nov 17 00:00 GOLDQPK11i_B.11.11.0509.429.depot
-rw-r--r-- 1 50 namsysad 2775793 Mar 14 14:16 PHCO_33310
-rw-r--r-- 1 50 namsysad 1397809 Feb 14 22:27 PHKL_33066
-rw-r--r-- 1 50 namsysad 1637673 Dec 10 02:56 PHKL_33390
-rw-r--r-- 1 50 namsysad 1915267 Jul 13 2005 PHSS_29121
-rw-r--r-- 1 50 namsysad 17536939 Jul 13 2005 PHSS_30742
-rw-r--r-- 1 50 namsysad 2777395 Jan 5 15:13 PHSS_34102
-rw-r--r-- 1 50 namsysad 1831 Feb 23 21:10 README_hp-ux
-rwxr-xr-x 1 50 namsysad 5768 Mar 22 13:00 create_depot_hp-ux_11
-rwxr-xr-- 1 root sys 533524992 Mar 22 15:21 hpux_800_11.11_03221200.tar
-rw-r----- 1 50 namsysad 568 Mar 22 13:00 patch_manifest


Now i want to create a single depo file by using all these files. Can anybody tell the procedure.

Thanks
Eswar
13 REPLIES 13
John Dvorchak
Honored Contributor

Re: Installing patch bundle

The file GOLDQPK11i_B.11.11.0509.429.depot was already a Depot file. You didn't need to un-tar it. You should use swinstall -s with the full path to the depot file:

swinstall -s /tmp/depot/GOLDQPK11i_B.11.11.0509.429.depot

Plus the switches you would normally use like autoreboot=true mountmount_all_filesystems=false etc.

don't forget you can do a preview to see what whould happen:

swinstall -p -s /tmp/depot/GOLDQPK11i_B.11.11.0509.429.depot
If it has wheels or a skirt, you can't afford it.
Patrick Wallek
Honored Contributor

Re: Installing patch bundle

Run this file:

# ./create_depot_hp-ux_11

This will create a single depot with all patches included.

Also read the README_hp-ux file in that same directory. It should have the instructions.
dhamodharan_1
Occasional Advisor

Re: Installing patch bundle

hi venkat

You can try with swcopy

command :
# swcopy -s Depotname.tar \* @ /var/adm/sw/depots/jtmp
Venkat_11
Regular Advisor

Re: Installing patch bundle

I ran ./create_depot_hp-ux_11 file i am getting errors.Here i am attaching the errors file.

Please advice me.

Thanks
Venkat
Arunvijai_4
Honored Contributor

Re: Installing patch bundle

Hi Venkat,

Try to start swagentd daemon, i think it is not running in your system. To check it is running,
# ps -ef |grep -i agent

To Start

# /sbin/init.d/swagentd start

To Restart

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor

Re: Installing patch bundle

hi eswar,

try to copy the files to another file system where you have ample disk space to create a depot and run the instructions again as the root user.

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Venkat_11
Regular Advisor

Re: Installing patch bundle

Atually i ran the same ./create_depot_hp-ux_11 by restarting the swagentd service and this time i got some errors. Here i am attaching the file.

Please check and advice me

Thanks
Venkat
Arunvijai_4
Honored Contributor

Re: Installing patch bundle

Venkat,

This time you have different error,

ERROR: "usxsl084:/opt/patch/depot": This target or source is already
in use either within this same session or by another session.
A read or write lock was denied.

Are you trying to install the depot from anyother telnet session ? Check the log file for detailed information.,

ERROR: More information may be found in the daemon logfile on this
target (default location is
usxsl084:/var/adm/sw/swagentd.log).
* Selection had errors.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Installing patch bundle

Hope some session (telnet) is making install process as well. Stop that process (or kill). Try with ./create_depot_hp-ux_11 file now.

--
Muthu
Easy to suggest when don't know about the problem!
Venkat_11
Regular Advisor

Re: Installing patch bundle

I dont think another session is running to installing the depo file because nobody accessing the server.
And here i am attaching the swagentd.log file

Thanks
Eswar
Arunvijai_4
Honored Contributor

Re: Installing patch bundle

Hi Venkat,

ERROR: Failed to start source agent on "/opt" for
root@usxsl084.slb.atosorigin-asp.com. "/opt" is not a valid
depot. 03/22/06 11:47:05 CST

You have to give full path like, -s

Also, Just check anyother process like sam trying to install.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Venkat_11
Regular Advisor

Re: Installing patch bundle

I am able to create the depot file successfully on the primary server. And i mounted the directory which got all files to secondary(another server) server by using NFS.

And when i am trying to install the same depot on the secondary server it just hanging up and failing. Am i missing any files which requires for installtion of depot created on the primary server. And i observed while created depot it updated some files under /var/adm/sw and /.sw/sessions/ do i need to copy any other information to the secondary server from the primary server to make the depot installation succesfull on secondary server.
Venkat_11
Regular Advisor

Re: Installing patch bundle

I am able to create the depot file successfully on the primary server. And i mounted the directory which got all files to secondary(another server) server by using NFS.

And when i am trying to install the same depot on the secondary server it just hanging up and failing. Am i missing any files which requires for installtion of depot created on the primary server. And i observed while created depot it updated some files under /var/adm/sw and /.sw/sessions/ do i need to copy any other information to the secondary server from the primary server to make the depot installation succesfull on secondary server.

Thanks
Eswar