Subject Re: Unable to Connect to local server with firebird CS 1.5.2 on windows XP
Author kk_spoonman
--- In firebird-support@yahoogroups.com, "Ivan Prenosil"
<Ivan.Prenosil@s...> wrote:
> >I try to launch gbak on the same machine where FB CS
> > 1.5.2 is running, with the following command line:
> >
> > c:\database_dir\> gbak -b -v -t -user SYSDBA -password
> > masterkey "c:\database_dir\DATABASE.GDB"
> > DATABASE.GDB.back
> >
> > but I receive the following error message:
> >
> > gbak: ERROR : unavailable database
> > gbak: Exiting before completion due to errors
> >
> > If I include the IP address of the (local) machine, as
> > in :
> >
> > c:\database_dir\> gbak -b -v -t -user SYSDBA -password
> > masterkey "127.0.0.1:c:\database_dir\DATABASE.GDB"
> > DATABASE.GDB.back
> >
> > it magically works!
> >
> > Is there a way to execute the command WITHOUT
> > specifying the IP address?
>
> No. FB CS does not support local protocol, you have to specify
> network connection, preferably
>
> gbak -b -v -t -user SYSDBA -password masterkey
"localhost:c:\database_dir\DATABASE.GDB" DATABASE.GDB.back
>
> > I need this because I am
> > migrating from FB1.0 to FB1.5 and I have many scripts
> > currently in use in a production environment that
> > don't have the IP Address.
> > I've also found that with FB Super Server the above
> > command works without the IPAddress...
>
> Right. Install SuperServer, at least until you update your scripts.
> (Do you really need FB CS?)

We thought more than a bit about it...
our application is a client/server application, we need to support
multiple connections.
These connections are handled by a JBoss-hosted EJB.
Each client can perform very DB-intensive operations like generating
huge reports, or saving documents and updating lots of related tables.
We wanted to take advantage of the hyperThreading feature in WinXP
environment, so we opted for the Classic Server. Any suggestions will
be *VERY* appreciated!

Fabio.