I have a linux machine that is running Redhat 7.0
I have installed onto it the Interbase 6.01 SS edition.
I have the client tools installed on a Win2k machine on the network.
I have put all localhost into hosts.equiv, the services file has the
correct entries.
If I try to register the server from Win2k I get a message saying
"Unable to connect to localhost. Connection reset by peer."
If I try to connect locally on the linux machine using ISQL then I get
the same message.
Does anyone have any ideas or suggestions? I have been through the
groups vi google and I have looked at the FAQ's but still no joy.
Thanks in advance, and thanks Shawn for trying.
Neil
>I have put all localhost into hosts.equiv, the services file has the
>correct entries.
I'm not sure exactly what you mean by this. Could you post your
hosts.equiv file?
All putting 'localhost' into the hosts.equiv (I assume on the RH box) does
is tell apps running on the RH box where to point to when you give them the
domain of 'localhost'. It does nothing for apps run on the Win2k box.
If, on the other hand, you're talking about the hosts.equiv file on the
Win2k box: Again, this only tells apps to look at the Win2k box when you
specify 'localhost'. It doesn't redirect them to the RH box.
If you want to connect to the RH box, you need to specify *that* server -
not 'localhost'.
>If I try to register the server from Win2k I get a message saying
>"Unable to connect to localhost. Connection reset by peer."
This message indicates that IBConsole is attempting to register a server on
the local (Win2k) machine - which you've already stated is not on Win2k,
but on the RH box.
This is my suggestion: Forget about 'localhost' and other domain names.
Instead, attempt to register the server - as a Remote Server - via TCP/IP
and use the IP address. This allows you to bypass domain name resolution
(the hosts.equiv file) entirely. If you still can't connect, troubleshoot
the problem from there. If you *can* connect, then the problem is in how
you've configured your domain names (which, based on what you've said so
far, is what I believe to be the case).
- Shawn
--
Renaissance Programmer
http://www.southern.eskimo.net/dodger/
[ VB/C/C++/ASP/PHP/Javascript/Perl ]
[This address belongs to a Washington State resident and
is therefore protected from unsolicited commercial e-mail by
RCW 19.190. Monetary penalties apply for each offense.]
To make things simpler lets forget about the Win2K box and concentrate on the
RH box.
/etc/hosts.equiv contains:
localhost.localdomain
That is all, I have tried putting in just "localhost" and also the machine name
which is "Preprod" all to no avail.
The hosts file on the RH box contains:
127.0.0.1 localhost.localdomain predprod
plus a couple of other machine details.
I have added a + to gds_hosts.equiv as mentioned on a couple of other messages.
Then, if I try isql and then do CONNECT preprod or CONNECT localhost on the RH
box I get the 902 message.
On another note, I have apache running on the RH box which I can access fine
from the Win2K machine by typing preprod into a browser , so that suggests the
domains are set up right, but I am open to suggestions. I am considering
junking the redhat box to see what happens but that would be bit of a pain.
Cheers,
Neil
The hosts file on the RH box contains:
127.0.0.1 localhost.localdomain localhost
192.168.241.1 preprod.timewave.co.uk preprod
plus a couple of other machine details.
Cheers,
Neil
The hosts file on the RH box contains:
127.0.0.1 localhost.localdomain localhost
192.168.241.1 preprod.timewave.co.uk preprod
plus a couple of other machine details.
Cheers,
Neil
>Then, if I try isql and then do CONNECT preprod or CONNECT localhost on
>the RH box I get the 902 message.
Unfortunately, I'm not as familiar with accessing an IB server from the
local Linux box. I do all my access from remote machines (mostly my Win2k
desktop at work).
I had another thought last night; Have you confirmed that the IB server is
running? I've made that mistake before ;-)
Better go check.
Cheers,
Neil
make sure your glibc is up to date.
run /opt/interbase/bin/ibguard &
I have it running in my redhat box. It took me a while to figure out
that symbolic link thing. It was not documented I guess.
Email me if you have further questions. i don't check newsgroup very
often.
p...@stredo.com
On Tue, 12 Jun 2001 19:46:54 +0100, Neil Weller <Ne...@timewave.co.uk>
wrote:
What tool are you using on Linux to connect to Interbase?
On Tue, 12 Jun 2001 19:46:54 +0100, Neil Weller <Ne...@timewave.co.uk>
wrote:
>I have posted this in another message but I guess I wasn't clear enough