1753846 Members
7872 Online
108807 Solutions
New Discussion юеВ

PHCO_34342 swnistall

 
SOLVED
Go to solution

PHCO_34342 swnistall

Hi Folks,

I have tried to install this patch and it gets stuck.
# root@imisap7:/root# uname -a
HP-UX myhost B.11.11 U 9000/800 1607309313 unlimited-user license

# swinstall -x patch_match_target=true -s /tmp/PHCO_34342
...lots of lines then...
* Beginning Analysis and Execution
* Session selections have been saved in the file
"/root/.sw/sessions/swinstall.last".

Sits here and does nothing. Checking in the log file I see...

* Started source agent on "/tmp/PHCO_34342.depot" for
root@myhost.mydomain, pid=5980, 02/26/07 14:06:15 EST
NOTE: The target "/tmp/PHCO_34342.depot" currently open for reading
is a tape. pid=5980 02/26/07 14:06:15 EST
* Agent pid=5980 completed. 02/26/07 14:06:16 EST

This patch does not require a re-boot but the installation instructions say I should use the "-x autoreboot=true".

Is this why it is stuck? If I do use this option will this re-boot the server or not?

Many thanks,
James.
7 REPLIES 7

Re: PHCO_34342 swnistall

OK I found another thred that answered the question about autoboot=true. I do not need to use that.

So the only question I have is why is the patch getting stuck?

Many thanks,
James.

Re: PHCO_34342 swnistall

I tried swinstall -s

I used the menu to install but it gets stuck here...

Status : Analyzing target(s)

Totally stuck for over 30 minutes. No option to cancel available.

Many thanks,
James.
James George_1
Trusted Contributor

Re: PHCO_34342 swnistall

Hi

You might have another session of swinstall open . if so, close it ..

# swinstall -x mount_all_filesystems=true -s /tmp/PHCO_34342.depot \*

rgds/ James
forum is for techies .....heaven is for those who are born again !!
James George_1
Trusted Contributor

Re: PHCO_34342 swnistall

Hi

You might have another session of swinstall open . if so, close it .. and run swinstall as below ..


# swinstall -x mount_all_filesystems=true -s /tmp/PHCO_34342.depot \*

rgds/ James
forum is for techies .....heaven is for those who are born again !!

Re: PHCO_34342 swnistall

There does not seem to be another swinstall running before I start when I check with ps -ef.

When I try...

swinstall -x mount_all_filesystems=true -s /tmp/PHCO_34342.depot

It says...

Select Target Path (imisap7)

Target Host: myhost

[ Root Path... ] /

[[ OK ]] [ Cancel ] [ Help ]

I get a choice of two Shared Root Paths as follows...

/
/export/shared_roots/OS_700

I go with the default of '/' I get...

"myhost:/": This target or source is already in use either within this same session or by another session. A read or write lock was denied.
Robert-Jan Goossens
Honored Contributor
Solution

Re: PHCO_34342 swnistall

James,

Close your swinstall session

# ps -ef | grep swinstall

check if there is no other swinstall session running.

# ll /var/adm/sw/products/swlock

is there a swlock file ?

# rm /var/adm/sw/products/swlock

to remove the lock file

# swinstall -x patch_match_target=true -s /tmp/PHCO_34342

Try to install the patch again.

Re: PHCO_34342 swnistall

Hi,

There was a process 'swagent' which I found and killed. Then I tried again with the following options and it says it has installed. I can see it with swlist -l patch.

/tmp# swinstall -x autoreboot=true -x patch_match_target=true -x mount_all_filesystems=false -s /tmp/PHCO_34342.depot

* The execution phase succeeded for "myhost:/".
* Analysis and Execution succeeded.

Then I read your reply... I can see that there is a lock file. For some reason though it did not fail this time?

/tmp# ll /var/adm/sw/products/swlock
-r--r--r-- 1 root sys 0 Jun 13 2006 /var/adm/sw/products/swlock

I deleted the lock file anyway. I have a great many other servers to do so I will look out for this problem in future.

Many thanks,
James.