Operating System - HP-UX
1843960 Members
2258 Online
110226 Solutions
New Discussion

Patch ERROR: Could not access remote file

 
ltlxl7572
New Member

Patch ERROR: Could not access remote file

Hi,
SOS. When I patch a file rte_12211os11.depot for java by swinstall in HP RP5479 (L3000 serial) server, after analysis ok, if I install ,there are ERR like this :


cg4:/var/adm/sw#tail -40 swagent.log
* Filesets: 3
* Files: 162
* Kbytes: 48037
* Installing fileset
"Java2RTE_base.JAVA2-JRE-BASE,r=1.2.2.11.00" (1 of 3).
ERROR: Could not access remote file
"/opt/java1.2/jre/bin/.java_wrapper" in software item
"Java2RTE_base.JAVA2-JRE-BASE,r=1.2.2.11.00,a=HP-UX_B.11.00_32/64,v=HP,
fr=1.2.2.11.00,fa=HP-UX_B.11.00_32/64:/opt/java1.2"
due to an internal error on the remote system.
ERROR: Failed installing fileset
"Java2RTE_base.JAVA2-JRE-BASE,r=1.2.2.11.00". Check the above
output for details.
* Retry number 1 of 1 for loading files for fileset
"Java2RTE_base.JAVA2-JRE-BASE,r=1.2.2.11.00".
* Installing fileset
"Java2RTE_base.JAVA2-JRE-BASE,r=1.2.2.11.00" (1 of 3).

Who can give me a hand ??
Tks advanced.

litian
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: Patch ERROR: Could not access remote file

Hi Litian,

Could you give me the output from
# grep hostname /etc/hosts

Robert-Jan
Kent Ostby
Honored Contributor

Re: Patch ERROR: Could not access remote file

This can have several possible causes.

Here are a few things to check:

1) On your target machine, what is the state of this fileset ? Is it already installed, if so, then you may need to swremove it and then redo the swinstall.

2) Another common cause of this problem is host name resolution. Make sure the remote host knows about the target host and vice-versa.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
ltlxl7572
New Member

Re: Patch ERROR: Could not access remote file

/etc/hosts:
.....
127.0.0.1 cg4
100.100.100.5 cg4 #ToBillingCenter
10.245.107.10 cg4 #Ga Vlan
10.245.107.28 cg4 #O&M LAN
127.0.0.1 localhost loopback
...
if I mark #127.0.0.1 ,:
#127.0.0.1 cg4
100.100.100.5 cg4 #ToBillingCenter
10.245.107.10 cg4 #Ga Vlan
10.245.107.28 cg4 #O&M LAN
127.0.0.1 localhost loopback

the other err:
cg4:/tmp/rte_12211os11.depot": You do not have the required permissions to perform this operation. Check permissions using the "swacl" command or see your system administrator for assistance. Or, to manage applications designed and packaged for nonprivileged mode, see the "run_as_superuser" option in the "sd" man page.
Robert-Jan Goossens
Honored Contributor

Re: Patch ERROR: Could not access remote file

Restart the swagent deamon.

RJ
ltlxl7572
New Member

Re: Patch ERROR: Could not access remote file

Hi,Robert-Jan :
But I had restart it (shutdown -ry 0),
and it's no help.

br,litian
Robert-Jan Goossens
Honored Contributor

Re: Patch ERROR: Could not access remote file

Litian,

Installation Errors:
"You do not have the required permissions to perform this SD operation"

check the ACL permissions: swacl -l root
look for the section: group:swadm:crwit --> the group swadm may not exist on your system; create it and add your root user as a member
install the package again

# swacl -l root
ltlxl7572
New Member

Re: Patch ERROR: Could not access remote file

Hi,Robert-Jan :

Tks.
I will try it tommorrow morning.
:-)

br,litian