1833016 Members
2129 Online
110048 Solutions
New Discussion

problems with swinstall

 
maafa
Advisor

problems with swinstall

hi all,

I am trying to install a patch on my 9000/782/J2240 box (hpux 11.0) with the following command :

swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHSS_xxxxx.depot

ans the output is :

======= 08/01/01 12:57:33 METDST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@hostname".

* Beginning Selection
* Target connection succeeded for "hostname:/".
* "hostname:/tmp/depot/PHSS_24128.depot": This source is a tape
device.
* "hostname:/tmp/depot/PHSS_24128.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.
NOTE: Cannot continue the "swinstall" task.

======= 08/01/01 12:57:41 METDST END swinstall SESSION
(non-interactive)


need help
thank you
8 REPLIES 8
Bill McNAMARA_1
Honored Contributor

Re: problems with swinstall

It seems to be trying to take the file from
/tmp/depot/PHSS_24128.depot
and not from /tmp/PHSS_24128.depot as you typed.
Try to create a directory depot in /tmp
and try again.

Later,
Bill
It works for me (tm)
James R. Ferguson
Acclaimed Contributor

Re: problems with swinstall

Hi Maafa:

Make sure that your hostname is correct in /etc/hosts and the you have a 'localhost' (127.0.0.1) specification too. Try restarting the 'swagentd' too:

# swagentd -r

...JRF...
maafa
Advisor

Re: problems with swinstall

for bill : no probleme with the path (i made a mistake in posting)
for james : the /etc/hosts is correct and i restartd the swagentd but the probleme steel hapen.

What about the message : This source is a tape device.

I don't understand it.
Bill McNAMARA_1
Honored Contributor

Re: problems with swinstall

did you have a look in
var/tmp/swagent.log

I believe that error message is a default..

Try bringing up swinstall interactively.

ie just
#swinstall
and select the source yourself

This will confirm if the depot is good and if swagent is in a good state or if it is simply some command line problem

Later,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: problems with swinstall

According to the installation instructions your commandline is perfect.

http://europe-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=1a99865a194b05648c?PATCH_PATH=/hp-ux_patches/s700_800/11.X/PHSS_24128&HW=s800&OS=11.00#installinst

The problem must exist elsewhere.

Later,
Bill
It works for me (tm)
Insu Kim
Honored Contributor

Re: problems with swinstall

Just do "swinstall -s /tmp/PH*depot" without "-x" options and give a try again on swinstall screen.

Regards,
Never say "no" first.
James R. Ferguson
Acclaimed Contributor

Re: problems with swinstall

Hi Maafa:

This patch has quite a few special instructions/conditions for installation. Are you sure that it applies to your system?

http://us-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=75da3ccc0e26edbe2d?PATCH_PATH=/hp-ux_patches/s700_800/11.X/PHSS_24128&HW=800&OS=11.00

...JRF...
maafa
Advisor

Re: problems with swinstall

thank you all, the pb seem's to be on my swagentd, because on an other box (same os) it works fine. so am going to reinstalle this swagentd

thank's a lot.

maafa