1830898 Members
3276 Online
110017 Solutions
New Discussion

Swinstall Hang

 
Lino Martinez_1
Occasional Contributor

Swinstall Hang

I tried to install a patch and the session of swinstall was hung for much time,
then I canceled the session and I try to install the same patch again, this
time
neither it finished the installation because the phase of analysis indicated
that the patch was installed already, I attempt again install the patch marking
the option "Reinstall filesets even if same revision exists" and I didn't can
installing it Satisfactorily.
As could I Install the patch satisfactorily?
The patch is the PHKL_11741.
S.O. HPUX 10.20

Thanks a lot.
4 REPLIES 4
Melvyn Burnard_1
Regular Advisor

Re: Swinstall Hang

Swinstall is known to hang if the MeasureWare family of products happen to be
running on your system at the time of using swinstall, particularly the
midaemon.
If these are running, stop them, kill off the midaemon,
and retry the swinstall.
You also need to ensure that the latest patch for the Software Distributor has
been loaded, as this also has fixes for hangs, etc.
user not active
Frequent Advisor

Re: Swinstall Hang

Sounds as if the patch has only partilally installed ?

Have you tried checking this with swlist -l fileset -a state ? grep
or checked the swinstall logs in /var/adm/sw/....... ?

My advise would be to :

a) try swremoving the patch, if this fails :

b) move file under /var/adm/sw/patch acting as a lock to removing the patch
PHKL_11741
ii)reinstall PHKL_11741 ensuring BOTH the flags for same revisions AND same
file are disabled under swinstall.
Dave Wherry_1
Frequent Advisor

Re: Swinstall Hang

If you do not want to shutdown MeasureWare during
swinstalls you can also invoke swinstall this way:
swinstall -x rpc_binding_info=ncadg_ip_udp:[2121]
It gets around the MeasureWare problem.
Alan Riggs_1
Regular Advisor

Re: Swinstall Hang

If shutting down measurewear does not resolve your problem, you may also want
to increase the timeout value and polling interval in /var/adm/sw/defaults. I
have had sucess with:

swinstall.rpc_binding_info = ncacn_ip_tcp:[2121] ncadg_ip_udp:[2121]
swinstall.rpc_timeout = 5
swinstall.retry_rpc = 9
swinstall.agent_timeout_minutes = 5
swinstall.polling_interval = 60

This can make your installation drag a minute or so longer, but the extra
seconds are worth it, IMO, in order to avoid the frustration of hangs and
reinstalls.