Bug #12003 Updated: failed to locate host machine
| From: | jan dot suchanek at agropol dot cz | Date: | Wed, 11 Jul 2001 06:06:05 +0000 |
| Subject: | Bug #12003 Updated: failed to locate host machine | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59652@lists.php.net to get a copy of this message | ||
ID: 12003
User updated by: jan.suchanek@agropol.cz
Reported By: jan.suchanek@agropol.cz
Status: Bogus
Bug Type: InterBase related
Operating System: Linux Red Hat 7.1 (2.4.2)
PHP Version: 4.0.6
New Comment:
Sure. This problem is only on the server, where interbase is running.
Previous Comments:
------------------------------------------------------------------------
[2001-07-10 06:02:35] derick@php.net
This does not like a PHP error, but PHP is rather relaying the error that InterBase gives.
Are you sure Interbase running and the name 'localhost' resolves into an IP address?
Derick
------------------------------------------------------------------------
[2001-07-10 05:58:33] jan.suchanek@agropol.cz
I have a problem with connecting to database server.
I have W2000+Apache1.3.20+PHP4.06 machine and when I connect with
$dbh =
ibase_pconnect('interbase.agropol:/opt/interbase/data/ptf.gdb','name','pass');
it works.
The server is Red Hat 7.1. But when I try to connect from itself with
$dbh =
ibase_connect('localhost:/opt/interbase/data/ptf.gdb','name','pass');
it returns to me
Warning: InterBase: Unable to complete network request to host "localhost". Failed to
locate host machine. Undefined service gds_db/tcp. in /usr/local/apache/htdocs/cl.php on line 11
------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=12003&edit=1