Operating System - HP-UX
1847176 Members
5584 Online
110263 Solutions
New Discussion

Re: Patch installation problem PHSS_35835, PHKL_29243

 
mukkala_1
Occasional Advisor

Patch installation problem PHSS_35835, PHKL_29243

while installing Patch i got below error, Can any one help me on this.

# swinstall -x autoreboot=false patch_match_target=true -s /IBM/hpux__11.11_11200403/depot\*

======= 01/09/08 20:25:24 SST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@test1".

* Beginning Selection
* Target connection succeeded for "test1:/".
ERROR: There is currently no depot software on host "ltasms" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "ltasms:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is test1:/var/adm/sw/swagentd.log).
* Selection had errors.
4 REPLIES 4
Matti_Kurkela
Honored Contributor

Re: Patch installation problem PHSS_35835, PHKL_29243

You must repeat the "-x" with each option=value pair, i.e not "-x autoreboot=false patch_match_target=true", but "-x autoreboot=false -x patch_match_target=true".

If this does not help, try restarting swagentd:
sh /sbin/init.d/swagentd stop
sh /sbin/init.d/swagentd start

Then retry your swinstall command.

MK
MK
Eric SAUBIGNAC
Honored Contributor

Re: Patch installation problem PHSS_35835, PHKL_29243

Bonjour Mukkala,


That's because there is "IBM" in the path ... of course, this is just a joke !!!

Well, If spacing is correctly represented in your post, I think that your depot source string is bad. You have specified :

/IBM/hpux__11.11_11200403/depot\*

Your are missing a space between /IBM/hpux__11.11_11200403/depot and \*

Some other things are not good :

1) patch_match_target=true

Your are missing -x before. Each option of this kind must be have -x. If you have 2 options, then put 2 -x :

-x autoreboot=false -x patch_match_target=true

2) selection option : just one is enough. You specified patch_match_target=true and \* which are two different way of selecting wich product to install.

3)-x autoreboot=false. If the patch you want to install needs a reboot, it will not install.

4) The way you work will not give you the possibility to look at analysis's log before you apply patchs.

In conclusion, you should :

1) swinstall -p -x patch_match_target=true -s /IBM/hpux__11.11_11200403/depot

Then have a look at end of file /var/adm/sw/swagent.log to control the log.

2) Control wether or not patches need reboot. You can find this information in the .text file under /IBM/hpux__11.11_11200403
If so shutdown application, databases, etc ..

3) swinstall -x autoreboot=true -x patch_match_target=true -s /IBM/hpux__11.11_11200403/depot

4) After installation [and maybe reboot] control again /var/adm/sw/swagent.log


You can also invoke interactive swinstall with :

swinstall -i -x patch_match_target=true -s /IBM/hpux__11.11_11200403/depot


Regards

Eric
Steven E. Protter
Exalted Contributor

Re: Patch installation problem PHSS_35835, PHKL_29243

Shalom,

A somehwhat meaningful error message from unix.

All options require a flag so swinsall knows what to do with them.

There also appears to be a space missing near the end of the -s full path statement between depot and slash asterisc.

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
kggj
Advisor

Re: Patch installation problem PHSS_35835, PHKL_29243

Hi

Correct the command as follows :

# swinstall -x autoreboot=false -x patch_match_target=true -s /IBM/hpux__11.11_11200403/depot\*

BTW, your Kernel patch require reboot and why don't you make the autoreboot=true ??

Rgds/ Kggj