Subject | Re: Firebird 1.5.2 Remote Connection Problem |
---|---|
Author | Adam |
Post date | 2005-02-22T00:14:09Z |
That is fine, it is just making a successful TCP connection (not a
database connection). That tells you that the Firebird service is in
fact running, (unless some other service like an old interbase
install is already listening to port 3050). It also tells you that
you have no firewall issue connecting to it.
Can you setup an alias in aliases.conf
MyDB = /opt/firebird/examples/employee.fdb
Then confirm you can connect from the linux box with the connection
string
linux1:MyDB
If that works, then do the same from the client machine. And let us
know how you go.
Adam
--- In firebird-support@yahoogroups.com, "matt_demaray"
<matt_demaray@y...> wrote:
database connection). That tells you that the Firebird service is in
fact running, (unless some other service like an old interbase
install is already listening to port 3050). It also tells you that
you have no firewall issue connecting to it.
Can you setup an alias in aliases.conf
MyDB = /opt/firebird/examples/employee.fdb
Then confirm you can connect from the linux box with the connection
string
linux1:MyDB
If that works, then do the same from the client machine. And let us
know how you go.
Adam
--- In firebird-support@yahoogroups.com, "matt_demaray"
<matt_demaray@y...> wrote:
>either.
> It returns a blank screen, hitting a key gives you the prompt back.
> No errors are given, but no entry is added to the firebird.log
>wrote:
> Matt
>
> --- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...>
> >client?
> > Hi Matt,
> >
> > Does the following command work from a dos box in the windows
> >server
> > telnet linux1 3050
> >
> > work (ie: return a blank screen) or
> > not work (ie: say connection refused or similar error message)
> >
> > Adam
> >
> > --- In firebird-support@yahoogroups.com, "matt_demaray"
> > <matt_demaray@y...> wrote:
> > >
> > >
> > > I'm having a problem connecting to a firebird 1.5.2 classic
> > > running on linux. I'm trying to connect using isql fromwindows (I
> > > did a firebird 1.5.2 client-only install on the windows pc). Ican
> > > connect to it locally just fine using isql on the linux serverentered.
> > > ('connect localhost:/opt/firebird/examples/employee.fdb').
> > >
> > > When I try to connect from windows using isql it gives me this
> > message:
> > >
> > > SQL> connect linux1:/opt/firebird/examples/employee.fdb;
> > > Statement failed, SQLCODE = -902
> > >
> > > Unable to complete network request to host "linux1".
> > > -Failed to establish a connection.
> > > -The system could not find the environment option that was
> > >tells
> > > I can ping linux1 just fine, and netstat on the linux server
> > mefirebird
> > > that port 3050 is being listened on.
> > > I'm using xinetd for starting the server and the correct
> > > startup script is in the xinetd.d directory.database
> > > Also, I have checked the permissions of the employee.fdb
> > andfirebird.
> > > they are set correctly at 660 with owner and group being
> > > For testing purposes I set my hosts.equiv file to '+ +' to allowserver
> > > anyone from anywhere. There is no firewall installed on the
> > > and only a switch between the server and the windows pc. Thetry to
> > windows
> > > pc can connect fine to other servers running interbase 5.6
> > >
> > > Lastly, no entries are added to the firebird.log file when I
> > > connect to the linux server from the windows pc.
> > >
> > > I'm stumped. Any help would be greatly appreciated.
> > >
> > > Thanks,
> > >
> > > Matt