Operating System - HP-UX
1753404 Members
7208 Online
108793 Solutions
New Discussion юеВ

Re: patches installation.

 
SOLVED
Go to solution
rariasn
Honored Contributor

Re: patches installation.

permission denied ?

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

Umm!

tar tvf ./vmparches.tar

rgs,

ran
Prasad Joshi
Regular Advisor

Re: patches installation.

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

======= 06/13/06 16:52:57 IST BEGIN swinstall SESSION
(non-interactive) (jobid=slpam13-0106)

* 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". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "slpam13:/opt/vmpatches".
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:52:57 IST END swinstall SESSION (non-interactive)
(jobid=slpam13-0106)

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

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
-rwxrwxrwx 1 root sys 489809920 Jun 13 16:08 vmpaches.tar


V. Nyga
Honored Contributor

Re: patches installation.

Hi,

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

I believe it's denied because it's a directory!
You have to go inside the directory - what's there?

Give us the result of 'll :/opt/vmpatches/*'

Volkmar
*** Say 'Thanks' with Kudos ***
RAC_1
Honored Contributor

Re: patches installation.

Can you do swlist on them?

swlist -d @ /path/depot_file
There is no substitute to HARDWORK
Bill Hassell
Honored Contributor

Re: patches installation.

When you download a patch, it will be in shar format and will not be a directory. Are these patches on a CD? Did they come as part of a product? A patch file will be named PHXX_12345.depot and a .depot file is a tar file, never a directory. You can't install a patch until you find the .depot file.


Bill Hassell, sysadmin
Prasad Joshi
Regular Advisor

Re: patches installation.

It was totally my error. Those patch directories had some other documents Hence, I was not able to install.

Thanks and regards.