Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

FTP "Failed to get Host Information"

 
SOLVED
Go to solution
Bill Sherwood
Occasional Advisor

FTP "Failed to get Host Information"

Briefly.. we have three vax systems. Two are dual-hosted and clustered while the third is a separate system in another building. We have for a long time used FTP to transfer data between the clustered systems and a server running Windows with FTP configured. FTP client and server is also configured on the third VAX (the separate one). But when we try to connect to any FTP site from that system, we get the following:

$ ftp 10.1.1.21
%FTP-E-HSTINF, Failed to get host information for ourvax-systemname.ourdomain from database
-RMS-E-RNF, record not found
$ ftp 207.46.236.102
%FTP-E-HSTINF, Failed to get host information for ourvax-systemname.ourdomain from database
-RMS-E-RNF, record not found

The first attempt is our internal server. The second is a site on the internet. So the domain doesn't seem to matter. Can anyone help us figure this one out? We need to be able to FTP from this system to pull data from the Windows server.
19 REPLIES 19
Jim_McKinney
Honored Contributor

Re: FTP "Failed to get Host Information"

Some older version-combinations of VMS/TCPIP were reported to exhibit this sort of behavior. Are you current with version and patches for your VMS versions?
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

That would have to be a "no." This system controls a piece of shop-floor equipment and uses TCPIP for that purpose, and not much else. But due to a migration away from our main Vax systems, this one will now need to use FTP to pull from the server I mentioned, instead of having the data copied from the other vax systems.

One other item.. we *can* connect TO this system via FTP. It's connecting from this system out to other FTP sites that causes the problem.
Art Wiens
Respected Contributor

Re: FTP "Failed to get Host Information"

Actual version info might help give actual commands to check the configuration. Is this HP TCPIP/UCX or 3rd party (TCpware or Multinet or ?)?

How about anything outbound? Can you Telnet to anywhere? If NSLOOKUP is available on your version, what server does it try and reference? Does it still exist? HOSTS file?PING something by IP, by address?

Did this ever work?

Art
Jim_McKinney
Honored Contributor

Re: FTP "Failed to get Host Information"

The error message suggests that this host can not translate those IP addresses to host names - there is no reason that this should be required by FTP. So, that suggests that this is likely a bug.

Do you have DSN functional on this system - does it translate that second address to ftp.microsoft.com ? If your DSN isn't functional perhaps entering these in your local host tables will help (I suspect that this is where the RNF failure comes from)?
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

Version information is VMS 7.1 and UCX 4.1.

We can telnet outbound to other servers. Ping works. Running NSLOOKUP fails as follows:

$ r sys$system:ucx$nslookup
*** Can't initialize resolver.

BIND is not configured on any of our vax servers, including the ones that CAN initiate FTP sessions.

I thought the HOSTS file (UCX$HOST.DAT) was only used to help resolve names to IP addresses. If we are entering the IP address, referring to a HOSTS file entry shouldn't be necessary. Am I right? And there is not entry in the HOSTS file for the vax systems that can initiate FTP sessions, either. I'm just confused on what's up with this one.
Art Wiens
Respected Contributor

Re: FTP "Failed to get Host Information"

Some products like to do a reverse lookup to try and find a name for a given address. I know in TCPware there is a logical that can be defined to stop that behaviour.

Art
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

After I sent that last reply, I did add the entry to the UCX$HOST.DAT file, just in case. It doesn't seem to have made a difference.
Walter Miller_1
Valued Contributor

Re: FTP "Failed to get Host Information"

Once you add the entry to the HOSTS file try the ftp using the name instead of the ip address.

A google of "%FTP-E-HSTINF" returns some discussion of the same issue in 2006.
Jim_McKinney
Honored Contributor

Re: FTP "Failed to get Host Information"

Just a thought...

> ourvax-systemname.ourdomain

is this the system from which the FTP is attempted?

If so, is it registered either in its own UCX$HOST.DAT?
Jim_McKinney
Honored Contributor

Re: FTP "Failed to get Host Information"

Just a thought...

> ourvax-systemname.ourdomain

is this the system from which the FTP is attempted?

If so, is it registered in its own UCX$HOST.DAT?
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

I saw that thread in Google yesterday, but didn't pull that much from it. They were trying to do a copy/ftp, if I recall.

I did add the IP for the server we're trying to reach, but no difference. And yes.. the ourvax-systemname.ourdomain is the VAX system we are logged on to when we issue tht FTP command. We are trying to use ftp to connect from that system to a Windows server.
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

I found an April, 2005 thread where someone else had this same issue.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=846572

It went unresolved, but the suggestion was made to try a couple of commands: $Ucs Show Host and $Ucx Set Host. So.. I tried those on our system. Does the following result mean anything to anyone who knows this stuff?

$ ftp 10.1.1.21
%FTP-E-HSTINF, Failed to get host information for scooby.stjoelan from database
-RMS-E-RNF, record not found
$ ucx show host scooby /local
%UCX-E-HOSTERROR, Error processing HOST request
-UCX-W-NORECORD, Information not found
-RMS-F-RAC, invalid record access mode
$ ucx show comm

Communication Parameters

Local host: scooby Domain: *

Cluster timer: 5
Maximum Current Peak
Interfaces 20 2 2
Device_sockets 300 16 19
Routes 65535 3 3
Services 200 2 4
Proxies 20

Type: Ethernet Free Maximum Max Bytes Minimum Min Bytes
Large buffers 20 200 377600 10 18880
Small buffers 150 1000 256000 50 12800
IRPs 20 200
Non UCX buffers 10

Remote Terminal
Large buffers: 10
UCBs: 4
Virtual term: disabled
$ ucx set host vintrasrv /addr=10.1.1.21
%UCX-E-HOSTERROR, Error processing HOST request
-UCX-W-NORECORD, Information not found
-RMS-F-RAC, invalid record access mode
$

I appreciate everyone's help so far.. I just hope this can be resolved.

Bill
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

Sorry... that should have read

$UCX Show Host

...and...
$UCX Set Host

my typo..
Jim_McKinney
Honored Contributor

Re: FTP "Failed to get Host Information"

> -RMS-F-RAC, invalid record access mode


This looks like either there's a bug in the code or the file where the IO is being aimed is not of the expected structure. Perhaps the host file is now sequential and is supposed to be indexed. If UCX is like the newer TCPIP then you should be able to target the logical name that points to the file.

$ DIRE/FULL UCX$HOST

Are there multiple versions of it? Is the most recent sequential or indexed? I suspect that it's called UCX$HOST.DAT and lives in SYS$SYSTEM. Here's what a current version one looks like

$ dire/full sys$common:[sysexe]tcpip$host.dat

Directory SYS$COMMON:[SYSEXE]

TCPIP$HOST.DAT;1 File ID: (9874,1,0)
Size: 96/96 Owner: [1,1]
Created: 21-FEB-2008 15:49:57.16
Revised: 22-FEB-2008 07:22:24.06 (11)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Indexed, Prolog: 3, Using 2 keys
In 3 areas
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 96, Extend: 12, Maximum bucket size: 6, Global b
uffer count: 0
No version limit, Contiguous best try
Record format: Variable length, maximum 271 bytes, longest 0 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:RE
Access Cntrl List: None
Client attributes: None

Total of 1 file, 96/96 blocks.
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

Thanks for the tip on the indexed HOSTS file. I *had* stepped on that while adding the entry for the system we were trying to ftp to, and current version was sequential. That is fixed.. all entries are there and the file is indexed. I also found a spot in the startup .com file that was failing out. That has been taken care of. The original error no longer appears, but now I get the following:

$ ftp 10.1.1.21
530 Connection refused, unknown IP address.

From what I've found via searches, this is due to a restriction on the ftp site as to which systems can access the site. But I have removed all restrictions, and the above error still occurs. Any suggestions?
Jim_McKinney
Honored Contributor
Solution

Re: FTP "Failed to get Host Information"

> But I have removed all restrictions, and the above error still occurs. Any suggestions?

Have you bounced the listener/server on the remote end after making changes to the access list? It's possible that any access list is only read when the server process is started.
Bill Sherwood
Occasional Advisor

Re: FTP "Failed to get Host Information"

I tried that on Friday afternoon late, but to no avail. However, at your recommendation.. I stopped FTP Service and WWW Pub. Service on the PC-server we're connecting to, PLUS stopped each running FTP site on that server. Restarted all of those and everything seems to be working now.

$ ftp 10.1.1.21
220 vintrasrv Microsoft FTP Service (Version 4.0).
Connected to 10.1.1.21.
Name (10.1.1.21:system):


Thanks for all of your help. It appears that there were a few little pieces that needed fixed to cure this one. And the hard part was there was nothing showing up in web-searches that was of any use. This forum and the folks who replied/helped was about my only resource. Thanks a ton!
Art Wiens
Respected Contributor

Re: FTP "Failed to get Host Information"

You can "reward" those that helped, by assigning points to their responses.

Cheers,
Art
jocoolguy
Occasional Visitor

Re: FTP "Failed to get Host Information"

this is just an information which as follow..