|
| Re: how to use gbak.exe from a client with the Server IP number |
 |
26 Aug 2006 13:47:23 -0700 |
Mehmet F. Erten wrote:
>
> When I run the following from the commmand line, it workes on my pc
> which has IB 7.5 installed as a server+client. It also works if I
> write localhost:c:\myfolder\myibfile.gdb
>
> C:\>c:\mbl\gbak.exe -b -user myusername -password mypassword
> 192.168.1.14:c:\myfolder\myibfile.gdb
> c:\BACKUP_IN_SERVER\EATONTOWN_NJ\SATURDAY\myibfile.gdk
>
> But when I try to run this on a PC which has no IB installed where I
> use my JB application with InterClient connection, it can not find
> the host.
Are you running the exact command shown above that references the host
by IP address?
What error message do you get?
>
> (I copied gbak.exe and gds32.dll to run gbak.exe.)
Where did you copy gds32.dll? In order for Windows to find a DLL it
must be in the current directory or in one of the directories that
Windows searches to find DLLs.
>
> Can I use Server's IP number to backup from the remote PC?
This question does not seem to make any sense because gbak command at
the top of your message, which you said does work, uses the server IP
address.
--
|
| Post Reply
|
| how to use gbak.exe from a client with the Server IP number |
 |
Sat, 26 Aug 2006 15:39:38 -040 |
When I run the following from the commmand line, it workes on my pc which
has IB 7.5 installed as a server+client.
It also works if I write localhost:c:\myfolder\myibfile.gdb
C:\>c:\mbl\gbak.exe -b -user myusername -password mypassword
192.168.1.14:c:\myfolder\myibfile.gdb
c:\BACKUP_IN_SERVER\EATONTOWN_NJ\SATURDAY\myibfile.gdk
But when I try to run this on a PC which has no IB installed where I use my
JB application with InterClient connection,
it can not find the host.
(I copied gbak.exe and gds32.dll to run gbak.exe.)
Can I use Server's IP number to backup from the remote PC?
|
| Post Reply
|
| Re: how to use gbak.exe from a client with the Server IP number |
 |
26 Aug 2006 18:27:49 -0700 |
Mehmet F. Erten wrote:
> >
> > What error message do you get?
> >
>
> == unable to complete request to host
> failed to locate host machine
> undefined service gds_db/tcp
Make sure that port 3050 is open through the server's firewall.
Did you create the gds_db entry in the services file on the client PC?
--
|
| Post Reply
|
| Re: how to use gbak.exe from a client with the Server IP number |
 |
Sat, 26 Aug 2006 18:34:38 -040 |
>
> What error message do you get?
>
== unable to complete request to host
failed to locate host machine
undefined service gds_db/tcp
>> (I copied gbak.exe and gds32.dll to run gbak.exe.)
>
when I copied and used gbak.exe it gave me the message missing gds32.dll;
I copied from the same folder program files\borland\interbase\bin
|
| Post Reply
|
| Re: how to use gbak.exe from a client with the Server IP number |
 |
26 Aug 2006 18:55:34 -0700 |
You must install the IB client on any PC that is going to connect to
an IB server by any means other than the class 4 JDBC driver. For
information on installing the IB client see the papers at
http://ibinstall.defined.net.
The location of the services file varies depending on the version of
Windows. Go to your server PC and search the Windows directory tree for
a file name Services (no extension). Open it with a text editor
(Notepad will do) and search for gds_db. That is the entry you must
make in the services file on the client PC.
--
|
| Post Reply
|
|
|
|
|
|
|
|
|
|