Operating System - HP-UX
1752377 Members
5691 Online
108787 Solutions
New Discussion юеВ

Re: Swinstall : cannot open source file to copy it no such file or directory

 
BENABBOU
Advisor

Swinstall : cannot open source file to copy it no such file or directory

Hi all
i'm about to install some recommended patchs for Oracle.
the following patchs to be installed are :
PHNE_36576
PHSS_38154
PHCO_33282
PHKL_30541
PHSS_36087

with their pre requisites of course.
install analyze was succefull, but during the installation it was suspend with the error :

cannot open source file
"/var/spool/sw/PHKL_37309/C-INC/usr/include/sys/pstat/socket_pstats_body.h"
to copy it, no such file or directory (2)

Thanks for help.
9 REPLIES 9
Ganesan R
Honored Contributor

Re: Swinstall : cannot open source file to copy it no such file or directory

Hi,

Is PHKL_37309 dependency for above specified patches?

Do you have PHKL_37309 in /var/spool/sw directory?

Best wishes,

Ganesh.
Ivan Krastev
Honored Contributor

Re: Swinstall : cannot open source file to copy it no such file or directory

What is your command for installing patches?
Check also patch files for corruption.

regards,
ivan
BENABBOU
Advisor

Re: Swinstall : cannot open source file to copy it no such file or directory

the PHKL_37309 patch exist with those patches.
about directory if it exist or not : before launching swinstall here the following details :
/var/spool/sw/catalog/PHKL_37309/C-INC# ll
total 32
-r--r--r-- 1 root sys 488 Feb 16 17:00 INDEX
-r--r--r-- 1 root sys 410 Feb 16 17:00 INFO

for the commands executed :

root@MYSERVER:/tmp/patches/depot# for i in PH*.depot^J
>do
>swcopy -x mount_all_filesystems=false -s ${PWD}/$i \* @ /var/spool/sw
>done

root@MYSERVER:/tmp/patches/depot# swinstall -x mount_all_filesystems=false -s /var/spool/sw

mark patchs for install and launch install
T G Manikandan
Honored Contributor

Re: Swinstall : cannot open source file to copy it no such file or directory

PHNE_36576 is dependent on PHKL_37309

Also download that patch
BENABBOU
Advisor

Re: Swinstall : cannot open source file to copy it no such file or directory

yeah, this patch is inculuded to be installed
Ganesan R
Honored Contributor

Re: Swinstall : cannot open source file to copy it no such file or directory

Hi,

That patch might have corrupted. Download it again and try to install.
Best wishes,

Ganesh.
Bob E Campbell
Honored Contributor

Re: Swinstall : cannot open source file to copy it no such file or directory

For real fun hit https://www.hp.com/go/swa and download Software Assistant. Then run the command:

# swa report -r issue -a CHAIN=PHNE_36576,PHSS_38154,PHCO_33282,PHKL_30541,PHSS_36087

That will report the patches you are missing. Follow that with

# swa get -t /yourDepotHere

And automatically download the patches and requisites ready for install. The download will verify each patch via MD5 to avoid corruption issues.
BENABBOU
Advisor

Re: Swinstall : cannot open source file to copy it no such file or directory

effectively, the patch was corrupted.

thanks for all
BENABBOU
Advisor

Re: Swinstall : cannot open source file to copy it no such file or directory

Now It's OK.

Thanks for help.