Subject | Re: [ib-support] connection problem |
---|---|
Author | Jan Agermose |
Post date | 2001-09-25T13:26:01Z |
ibase_pconnect("database.domain.com:/db/drift/data.gdb", DB_USERNAME,
DB_PASSWORD, "UNICODE_FSS") or down(ibase_errmsg());
or
ibase_pconnect("a.domain.com:/db/drift/data.gdb", DB_USERNAME,
DB_PASSWORD, "UNICODE_FSS") or down(ibase_errmsg());
note that if the script is run from B the problem does not excist. Both
servers use the same dns server.
--
Jan
Paul Reeves wrote:
DB_PASSWORD, "UNICODE_FSS") or down(ibase_errmsg());
or
ibase_pconnect("a.domain.com:/db/drift/data.gdb", DB_USERNAME,
DB_PASSWORD, "UNICODE_FSS") or down(ibase_errmsg());
note that if the script is run from B the problem does not excist. Both
servers use the same dns server.
--
Jan
Paul Reeves wrote:
>Jan Agermose wrote:
>
>>Im running a IB6 CS on machine A. Machine A and B run apache/php4/ibase
>>all updated to the newest versions (except interbase CS). The servers
>>are both linux debian servers - also fairly updated.
>>
>>If a php script running on A connects to IB (on A) the script seems to
>>freeze for 10-30 sec. - but not always. If the same script is run on
>>machine B, no problems arise. Also if the database is moved to B and the
>>script is run on A the problems disappear? What should I look fore?
>>
>
>It looks as if server A is having trouble resolving a local connection. What
>is the connect string?
>
>Paul
>