- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: creating a patch depot errors!!!!!!!!! help!!!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:24 AM
11-13-2001 08:24 AM
"not available from depot or root"
or
"cannot mount /dev/dsk/cxtxdx" which is my cdrom, which i have no idea why since i am not using it.
does anyone have a fail proof way of taking multiple patches and creating one group so they can be executed all at one time and only require one reboot? Does anyone know what the causes for the errors i am getting are?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:33 AM
11-13-2001 08:33 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
If you do this, you will create a patch depot (here, called '/tmp/patch_depot') which will automatically be registered and thus is usable as the "depot" for installation. The 'swlist' will in fact show you the contents.
PDIR=/tmp/patch_depot
mkdir ${PDIR}
#
for X in PH*.depot
do
swcopy -s ${PWD}/${X} \* @ ${PDIR}
done
#
swlist -s ${PDIR}
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:36 AM
11-13-2001 08:36 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:41 AM
11-13-2001 08:41 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
If you have all patch download from Net then
How to bundle multiple patches.
Download all patches in to one directory for example /tmp/sachin/ and we are creating depot in /usr/local/sw
Uncompress all patches.
#for X in /tmp/sachin/PH*
#do
#sh $X
#rm $X
#rm ${X}.text
#done
Then copy all patches in to one directory
#for X in /tmp/sachin/PH*.depot
#do
#swcopy -s $X @ /usr/local/sw
#done
Then create bundle
#swpackage -s /usr/local/sw (this bundle will has no name)
#swlist -s /usr/local/sw (This will lists all patches in that bundle)
Install now
#swinstall -s /usr/local/sw (select all patch and install)
Update
.psf file should look like this. Use this on swpackage with -s option.
#swpackage -s file.psf @ /usr/local/sw
bundle
tag PERFORMANCE
title TIMSPATCHES
os_name HP-UX
revision B.11.00.01
architecture S700/S800_HP-UX_11
contents PHCO_21187,r=1.0,a=HP-UX_B.11.00_32/64,v=HP
.....
end
To get this "PHCO_21187,r=1.0,a=HP-UX_B.11.00_32/64,v=HP"
#swlist -l product -a software_spec -s /usr/local/sw |grep -v "^#" |awk '{print $2}'
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:52 AM
11-13-2001 08:52 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
If you have access to the custom patch manager, then I'd suggest using that, as it will direct you if there is a superseding patch.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:52 AM
11-13-2001 08:52 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
To copy patches from /patches directory to a depot at /PAT use following
for i in `ls /patches/*.depot`
{
swcopy -x enforce_dependencies=false -s ${i} \* @ /PAT
}
swreg -l depot /PAT
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:57 AM - last edited on 06-28-2021 09:37 PM by Ramya_Heera
11-13-2001 08:57 AM - last edited on 06-28-2021 09:37 PM by Ramya_Heera
Re: creating a patch depot errors!!!!!!!!! help!!!
Hi Chris,
My experience is somewhat of a conglomeration of the other replies so far. No, it doesn't have to be in /tmp or /var/adm/sw to answer that question.
Choose a filesystem that has sufficient room. For this arbitrary example, let's use "/alpha".
Presuming you pulled your patches from the ITRC, they will be in shell archive (shar)format. Gather all of the files you downloaded in /alpha/src. Remove the ".txt" if you used a Winblows browser to pull the patches. Make /alpha/src your current directory.
# for i in PH*
# do
# sh $x
# done
So now you've got a mess of shar, .text, and .depot files. I don't know that a bundle is essential to this process as all patches in a depot can be applied at once without one. To get all the separate .depot patches in one, do the following:
# for i in PH*.depot
# do
# swcopy -s /alpha/src/$i -x enforce_dependencies=false \* @/alpha/depot
# done
Now all you need to do is go to your client you want to patch and reference the depot you just created. Let's use "beta" as an example name for the machine where your new depot lives. On the machine you want to patch, run the following:
swinstall -s beta:/alpha/depot \*
If the machine you want to patch with your new bundle is, in fact, the same machine where you just created the bundle, simply omit the server name from the command above:
swinstall -s /alpha/depot \*
Voila! All the patches at once with one reboot at the end.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 09:02 AM
11-13-2001 09:02 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
# for i in PH*
# do
# sh $i
# done
Guess I'm on a jittery sugar high from all the Krispy Kreme's I've had this morning ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 09:07 AM
11-13-2001 09:07 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
here is the latest
There is currently no depot software on host "hostname" at location "/u01/patches/9i_patches/patch_dep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 09:31 AM
11-13-2001 09:31 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:03 AM
11-13-2001 10:03 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
No space left on device
ERROR: PHCO_24723.depot checksum is 16597 should be 12857
ERROR: wc results of PHCO_24723.depot are 10085 35043 883712 should be 124069 363010 18155520
any idea what this means. it's the output of the swcopy -s command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:10 AM
11-13-2001 10:10 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
This means that you have exhausted the space available in "lvol6" and the 'unshar' of the patch has aborted. As a consequence, the checksum does not match what the script expects. Consider expanding your filesystem and/or cleaning it up.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:13 AM
11-13-2001 10:13 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
Disk space problem. Clean some from lvol6.
And read this
Assigning Points to Replies -- Its a Good Thing!
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:15 AM
11-13-2001 10:15 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
Can this be the problem? i copied these patches from a server that was set up for me at HP. I had to do it from a Win2k machine using internet explorer. I then transfered these patch in bin using ftp. They look as if the shar just fine. the only problems i am having is the swcopy. It seems i am getting 3 different errors as mentioned above depending on if i try to do them separate or as a group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:22 AM
11-13-2001 10:22 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
The checksum errors you report ARE from the 'shar' operation. I think you will find that 'lvol6' is your /tmp filesystem, since this is the default location for patches.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:28 AM
11-13-2001 10:28 AM
SolutionIf space in /tmp is a problem and you don't want to or (can't) enlarge it, see Sachin Patel's offering here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2282abe92dabd5118ff10090279cd0f9,00.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 10:53 AM
11-13-2001 10:53 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
Have a look at this thread,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=d8994d1f0249905f0a/screen=ckiDisplayDocument?docId=200000045145898
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 11:56 AM
11-13-2001 11:56 AM
Re: creating a patch depot errors!!!!!!!!! help!!!
80 megs is VERY small when you are dealing with lots of patches. For instance, some patches are more 100 megs in size and will about that much more in order to install. So think in terms of 800 megs, not 80 megs.
You need the space to store the original patches, then additional space to un-shar the patches. Then you'll need lots of space in /var/adm/sw and perhaps /tmp. If you have full filesystems, you'll need to fix that first.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 12:05 PM
11-13-2001 12:05 PM
Re: creating a patch depot errors!!!!!!!!! help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 12:52 PM
11-13-2001 12:52 PM
Re: creating a patch depot errors!!!!!!!!! help!!!
when you did ftp from w2k to hp system did "sh depot_name" works? if not then you have to convert that to unix format.
#dos2ux depot_name > depot_name1
#mv dept_name1 depot_name
#sh depot_name
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 01:17 PM
11-13-2001 01:17 PM
Re: creating a patch depot errors!!!!!!!!! help!!!
The answer to your last question asking if you need space in '/tmp', is YES.
If you look at any patch before you unshar it, you will see that temporary work is done in files rooted in '/tmp'. In particular, the final 'depot' file is built as '/tmp/compress$$' and moved (renamed) by moving it to the current working directory:
# mv /tmp/compress$$ PHxx_nnnnn.depot
Does this help you?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 02:06 PM
11-14-2001 02:06 PM
Re: creating a patch depot errors!!!!!!!!! help!!!
I couldn't use the original depot i created in
u003/patches/patch_depot
I had to create another dir under /patch_depot and do the swcopy command. for some reason this worked. It just didn't let me do it in the original /patch_depot but in a dir under it called /patch_depot1.. strange but it worked.