1752650 Members
5309 Online
108788 Solutions
New Discussion юеВ

patches installation.

 
SOLVED
Go to solution
Prasad Joshi
Regular Advisor

patches installation.

Hi All,

Why this patches are not getting installed.

slpam13:/opt/vmpatches # ls -l
total 956720
drwxr-xr-x 4 root root 8192 Jun 13 16:13 PHCO_34255
drwxr-xr-x 4 root root 8192 Jun 13 16:13 PHCO_34348
drwxr-xr-x 4 root root 8192 Jun 13 16:13 PHKL_34254
-rw-r--r-- 1 root sys 489809920 Jun 13 16:08 vmpaches.tar

slpam13:/opt/vmpatches # ls
PHCO_34255 PHCO_34348 PHKL_34254 vmpaches.tar

slpam13:/opt/vmpatches # swlist -s $PWD PHCO_34255
# Initializing...
# Contacting target "slpam13"...
ERROR: The expected depot or root does not exist at "/opt/vmpatches".
ERROR: There is currently no depot software on host "slpam13" at
location "/opt/vmpatches". Make sure that an absolute pathname
is specified for location (beginning with "/").

Thanks and regards,
Prasad.
15 REPLIES 15
Ludovic Derlyn
Esteemed Contributor

Re: patches installation.

hi,

for install patch, execute

swinstall -s /opt/vmpatches/PHCO_34255
Borislav Perkov
Respected Contributor

Re: patches installation.

Hi,
Look for the patch installation notes.
or
sh PHCO_34255
sh PHCO_34348
sh PHKL_34254

and you make depot of the each patch. After that you can install them.

YOu must read the installation instruction for each patch!!!

Regards,
Borislav
Prasad Joshi
Regular Advisor

Re: patches installation.

This is the error I am getting.

slpam13:/opt/vmpatches # swinstall -s $PWD PHCO_34255

======= 06/13/06 16:33:44 IST BEGIN swinstall SESSION
(non-interactive) (jobid=slpam13-0102)

* Session started for user "root@slpam13".

* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 06/13/06
16:34:19 IST
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "slpam13:/". Make sure the
host is accessible from the network, and that its daemon,
swagentd, is running.
* Target connection failed for "slpam13:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is slpam13:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 06/13/06 16:34:19 IST END swinstall SESSION (non-interactive)
(jobid=slpam13-0102)
Borislav Perkov
Respected Contributor

Re: patches installation.

Ops
I haven't seen that they are patch directories.
Try to find PHCO_34255.depot file or respectively for other patches. if there are not than you should proceed with sh PHCO_34255 and so on.
Prasad Joshi
Regular Advisor

Re: patches installation.

I have started swagentd

slpam13:/opt/vmpatches # /sbin/init.d/swagentd start
slpam13:/opt/vmpatches # ps -ef | grep sw
root 0 0 0 15:07:38 ? 0:12 swapper
root 6568 6109 0 16:38:28 pts/ta 0:00 grep sw
root 6564 1 0 16:38:26 ? 0:00 /usr/sbin/swagentd -r
slpam13:/opt/vmpatches # swinstall -s /opt/vmpatches/PHCO_34255 '*'

======= 06/13/06 16:38:32 IST BEGIN swinstall SESSION
(non-interactive) (jobid=slpam13-0105)

* Session started for user "root@slpam13".

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



======= 06/13/06 16:38:33 IST END swinstall SESSION (non-interactive)
(jobid=slpam13-0105)
Prasad Joshi
Regular Advisor

Re: patches installation.

Hi All,

This is what I tried.

slpam13:/opt/vmpatches # sh PHCO_34255
sh: PHCO_34255: Execute permission denied.

Thanks and reagrds,
Prasad
rariasn
Honored Contributor
Solution

Re: patches installation.

Hi,

#cd PHCO_34255

# ll

rgs,
ran
Ludovic Derlyn
Esteemed Contributor

Re: patches installation.

permission denied --> check permissions and modify by chmod 755 if needed
TommyT
Valued Contributor

Re: patches installation.

Hi.
To install patch you have to do
sh PHCO_34255 and it will be unpacked to two file PHCO_34255.txt and PHCO_34255.depot after that you can do the swinstall -s /full path/PHCO_34255.depot

You have to have the path to the .depot file.

tompa