Operating System - HP-UX
1833832 Members
1985 Online
110063 Solutions
New Discussion

"Could not access remote file" with swinstall

 
Diego Balgera
Frequent Advisor

"Could not access remote file" with swinstall

Hi,
I'm trying to install a libpcap depot using swinstall but the installation fails because of the following reason. Could you help me in understanding why and solve the issue?
Thank you in advance!
Diego.


Command given:
swinstall -s /tmp/libpcap-0.8.1-sd-11.00.depot

Result:
======= 05/21/04 17:34:59 EETDST BEGIN install AGENT SESSION
(pid=2975) (jobid=DNS1-0032)

* Agent session started for user "root@dns1.mnc010.mcc202.gprs".
(pid=2975)

* Beginning Analysis Phase.
* Source:
dns1.mnc010.mcc202.gprs:/tmp/libpcap-0.8.1-sd-11.00.depot
* Target: DNS1:/
* Target logfile: DNS1:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 568 Kbytes.
This will leave 1009664 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 16 Kbytes.
This will leave 868232 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 13
* Kbytes: 490
* Installing fileset "libpcap.libpcap-RUN,r=0.8.1" (1 of 1).
ERROR: Could not access remote file "/usr/local/doc/libpcap/CHANGES"
in software item
"libpcap.libpcap-RUN,r=0.8.1,a=HP-UX_B.11.00_700/800,v=:/usr/local"
due to an internal error on the remote system.
ERROR: Failed installing fileset "libpcap.libpcap-RUN,r=0.8.1".
Check the above output for details.
* Retry number 1 of 1 for loading files for fileset
"libpcap.libpcap-RUN,r=0.8.1".
* Installing fileset "libpcap.libpcap-RUN,r=0.8.1" (1 of 1).
ERROR: Could not access remote file "/usr/local/doc/libpcap/CHANGES"
in software item
"libpcap.libpcap-RUN,r=0.8.1,a=HP-UX_B.11.00_700/800,v=:/usr/local"
due to an internal error on the remote system.
ERROR: Failed installing fileset "libpcap.libpcap-RUN,r=0.8.1".
Check the above output for details.
NOTE: The Install Phase has suspended. Check the above output for
reasons.


* Aborting the Install Phase.



Thank you again!
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: "Could not access remote file" with swinstall

I would use this command:

swinstall -s /tmp/libpcap-0.8.1-sd-11.00.depot \*

Does it make a difference?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
RAC_1
Honored Contributor

Re: "Could not access remote file" with swinstall

swinstall -s hostname:/tmp/libpcap-0.8.1-sd-11.00.depot \*

Anil
There is no substitute to HARDWORK
Diego Balgera
Frequent Advisor

Re: "Could not access remote file" with swinstall

Hi,

thank you for your quick answers.
Unfortunately it doesn't make any difference both:
- appending the "\*" (to use the non-interactive method)
and
- specifying the hostname before the depot file name (the depot is installed in localhost).

Thank you again!
Diego.
Mel Burslan
Honored Contributor

Re: "Could not access remote file" with swinstall

I know this will sound a little draconian but since you are trying to install a depot from the local system and getting an error message related to a REMOTE system, did not sound kosher to me. There may be some problem with swagentd. Did you try killing the swagentd process and restarting it yet ?
________________________________
UNIX because I majored in cryptology...
Diego Balgera
Frequent Advisor

Re: "Could not access remote file" with swinstall

Hi Mel,

if effect you are right.
But since swinstall works using the network, probably it produces the same output if the depot is installed both in the local and in remote hosts.
Every time the swinstall tool is executed it outputs "trying to contact ...". In my case I think it establishes a net connection to localhost (but interpreted as "remote" anyway) and proceeds.
But mine is an assumption only. Do you agree?
Diego.
Bharat Katkar
Honored Contributor

Re: "Could not access remote file" with swinstall

Hi Diego,
Could check your hostname.
#hostname
See the hostname you get thr' command is exactly same as in /etc/hosts file.

Also in /etc/nsswitch.conf check hosts entry:
It should be "files dns".
Try doing
# telnet hostname
# telnet localhosts

You should get login prompt and try logging in and out.
See if you encounter any problem in this cases.

Regards,

You need to know a lot to actually know how little you know
Sanjay_6
Honored Contributor

Re: "Could not access remote file" with swinstall

Hi,

Check and see if your /etc/hosts has a mistake.

127.0.0.1 loopback host1
a.b.c.d host1

where host1 is the name of the system. If it is so, remove the host1 entry in the loopback ip address line.

Restart swagentd if necessary after that.

Hope this helps.

Regds