Your message dated Mon, 26 Nov 2007 18:32:03 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#255838: xinetd: PHP Warning: InterBase: Unable to complete 
network request to host.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xinetd
Version: 2.3.4-1.2
Severity: normal


This is the entry in /etc/inetd.conf:

gds_db  stream  tcp     nowait  firebird        /usr/sbin/tcpd 
/usr/lib/firebird/bin/gds_inet_server


This is the entry in /etc/xinetd.conf:

service gds_db
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = firebird
        server          = /usr/lib/firebird/bin/gds_inet_server
}


I access the firebird database from php4 using php4-interbase.
Accessing firebird using inetd it works fine.
Accessing firebird using xinetd causes these failures in 
/var/log/apache/error.log:

[Wed Jun 23 12:42:56 2004] [error] PHP Warning:  InterBase: Unable to complete 
network request to host "<hostname>". Failed to establish a connection. 
Connection refused  in <path/to/php-file> on line <line-number>
[Wed Jun 23 12:42:56 2004] [error] PHP Warning:  ibase_query(): no InterBase 
link resource supplied in <path/to/php-file> on line <line-number>

Note, I have set error_reporting = E_ALL in /etc/php4/apache/php.ini



-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C

Dependencies:
Depends: libc6 (>= 2.2.4-4), libwrap0, netbase (>= 3.16-4), dpkg (>= 1.4.1.17)
Recommends: sysklogd | system-log-daemon, logrotate

Installed packages:
ii  libc6          2.3.2.ds1-13   GNU C Library
ii  libwrap0       7.6-9          Wietse Venema's TCP wrappers library
ii  netbase        4.07           Basic TCP/IP networking system
ii  dpkg           1.9.21         Package maintenance system for Debian
ii  sysklogd       1.4.1-10       System Logging Daemon
ii  logrotate      3.5.9-8        Log rotation utility

Firebird:
ii  firebird-c64-s 1.0.2-2.1      FireBird Classic w/ 64bit I/O - RDBMS based
ii  firebird-serve 1.0.2-2.1      Common server files of FireBird-RDBMS based
ii  libfirebird-c6 1.0.2-2.1      Library files for FireBird Classic w/ 64bit


--- End Message ---
--- Begin Message ---
On Wed, Jun 23, 2004 at 11:28:16AM +0000, Christoph Egger wrote:
> Package: xinetd
> Version: 2.3.4-1.2
> Severity: normal
> 
> This is the entry in /etc/inetd.conf:
> 
> gds_db  stream  tcp     nowait  firebird        /usr/sbin/tcpd 
> /usr/lib/firebird/bin/gds_inet_server
> 
> 
> This is the entry in /etc/xinetd.conf:
> 
> service gds_db
> {
>         socket_type     = stream
>         protocol        = tcp
>         wait            = no
>         user            = firebird
>         server          = /usr/lib/firebird/bin/gds_inet_server
> }

  you don't list a port, that's the why.

  add a port = 3050 and it will work.

  note that xinetd shows that in the syslog.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpUFtFAj4e2E.pgp
Description: PGP signature


--- End Message ---

Reply via email to