BladeSystem Forums Have Moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Showing results for 
Search instead for 
Do you mean 

file.depot

SOLVED
Go to Solution
Regular Advisor

file.depot

I downloaded 'PHNE_27792.depot' then I read the document 'Installion Instructions' but one small problem that I can't understand. Here is:

*Copy the patch to the /tmp dir
*Go to /tmp
*sh PHNE_23277

but got error, here is:

sh: PHNE_27792: not found.

Did I miss something?
Thinking Snow!
22 REPLIES
Outstanding Contributor

Re: file.depot

Thomas,

Normally, the file you download would be called PHNE_27792 and the sh command would create PHNE_27792.depot and PHNE_27792.text files from it. How and where did you manage to download a .depot file?

Pete

Pete
Honored Contributor

Re: file.depot

what did you download?
depot file?

when you do

sh PHNE_27792

it should create two files .txt and .depot file.

hope this helps.
There is no substitute to HARDWORK

Re: file.depot

Hi,

with the "file" command you can check if you have the shell archive (sh) or already the unshared tar archive:

file PHNE_27792
PHNE_27792: shar file

file PHNE_27792.depot
PHNE_27792.depot: tar file

The last one can be installed by swinstall without further action.

Regards,
Birgit
Regular Advisor

Re: file.depot

Ohh I learn something...

Ok, then I tried to install by using swinstall but got error, is that because of no .text? Like this:

swinstall -x autoreboot=true -x match_target=true -s /tmp/PHNE_23277.depot

Am I doing right?
Thinking Snow!
Outstanding Contributor

Re: file.depot

Tom,

I re-read your previous post. It looks like you may have a special case where you did, in fact, download a .depot file. If that's the case, you don't need to unshar it with the "sh PHNE_23277" command.

Pete

Pete
Honored Contributor

Re: file.depot

Hi,

what happened if you do:

# sh /tmp/PHNE_23277

or if you do an 'sh' to the file in the directory you downloaded it?

Please try again to download it, here a server you can find the patch:

ftp://europe-ffs.external.hp.com
---> hp-ux_patches
---> S700_800
---> 11.x

Regards ...
Armin
Outstanding Contributor

Re: file.depot

What was the swinstall error?

Pete

Pete
Honored Contributor

Re: file.depot

What is the error you are getting? Swinstall does not care if there isn't a .txt file there. It just needs the .depot file. If your depot file is not valid though, then swinstall will have trouble.

What happens if you do:

# mv PHNE_27792.depot PHNE_27792

# sh PHNE_27792

# swinstall .....
Regular Advisor

Re: file.depot

Try to install but got error, here is:

smithers:root:/tmp #swinstall -x autoreboot=true -x match_target=true -s /tmp>

======= 01/10/03 08:53:51 EST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@smithers".

* Beginning Selection
* Target connection succeeded for "smithers:/".
* "smithers:/tmp/PHNE_27792.depot": This source is a tape
device.
* "smithers:/tmp/PHNE_27792.depot": Cannot open the logfile on
this target or source. Possibly the media is read-only or
there is a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
* Source: /tmp/PHNE_27792.depot
* Targets: smithers:/
* Software selections:
PHNE_27792.PHNE_27792,r=B.10.00.00.AA,a=HP-UX_B.10.01_700/800,v=HP
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
ERROR: "smithers:/": One or more filesystems that appear in the
filesystem table are not mounted and cannot be mounted.
* The analysis phase failed for "smithers:/".
* Analysis had errors.


NOTE: More information may be found in the agent logfile (location
is smithers:/var/adm/sw/swagent.log).

======= 01/10/03 08:55:13 EST END swinstall SESSION (non-interactive)
Thinking Snow!

Re: file.depot

BTW which patch are you trying to install? PHNE_27792 or PHNE_23277?
Outstanding Contributor

Re: file.depot

Tom,

Try again, adding "mount_all_filesystems=false" to your swinstall command.

Pete

Pete
Respected Contributor

Re: file.depot

Yes, not all filesystems in /etc/fstab are currently mounted. Use the following option also:

-x mount_all_filesystems=false
Well, yeah ... I suppose there's no point in getting greedy, is there?
Regular Advisor

Re: file.depot

Oops! I mean it is PHNE_27792. I need some more coffee :-)
Thinking Snow!
Regular Advisor

Re: file.depot

-x mount_all_filesystems=false

GREAT! It works! Many thanks so much and I just want to know, is my server required to reboot? Or not need?

Tom
Thinking Snow!
Outstanding Contributor

Re: file.depot

Not needed. If it was the patch would have said so and the auto_reboot=true would have caused it to happen.

Pete

Pete
Respected Contributor

Re: file.depot

If a reboot would have been required you would have to provide the autoreboot=true option and then it would have rebooted automatically, so no, no reboot required.
Well, yeah ... I suppose there's no point in getting greedy, is there?
Honored Contributor

Re: file.depot

Hi,

please have a look in the PHNE_27792.text file, there you would find if the patchinstallation will produce a AUTOREBOOT or not.

Regards,
Armin
Regular Advisor

Re: file.depot

Believe it or not... I don't have PHNE_27792.text file. I downloaded the file like this 'PHNE_23277.depot.gz' from HP!
Thinking Snow!
Honored Contributor

Re: file.depot

PHNE_23277 s700_800 10.01-[12]0 BIND 4.9.7 components
CDate 2001/02/15
PDate 2001/02/23
HW-OS s700: 10.01 10.10 10.20
s800: 10.01 10.10 10.20
Fixed Unknown
Fset InternetSrvcs.INETSVCS-RUN InternetSrvcs.INET-ENG-A-MAN
Prod N/A
Reboot No <---------------------------- !!! NO AUTOREBOOT
CView Yes
Status General Release
Rating s700: 10.01: 2: 01/03/16:
s700: 10.10: 2: 01/03/16:
s700: 10.20: 3: 01/06/04:
s800: 10.01: 2: 01/03/16:
s800: 10.10: 2: 01/03/16:
s800: 10.20: 3: 01/06/04:
...

So no AUTOREBOOT ;-))

Regards,
Armin
Regular Advisor

Re: file.depot

Great... I learn something that if I updated the BIND and not work then I can restore from /var/adm/sw/patch/PHNE_27792/* by manual or should I use swinstall or sw(restore)?

Tom
Thinking Snow!
Outstanding Contributor

Re: file.depot

Thomas,

To back off a patch, you use swremove.

Pete

Pete
Honored Contributor

Re: file.depot

You can restore by swremoving the patch.

# swremove

then select the fileset (patch) you want to remove and the orig files will be placed back.

Regards ...
Armin