Subject Starting ibserver with inetd on Linux
Author Yves Glodt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have trouble to start ibserver over inetd... I added this to
inetd.conf:
gds_db stream tcp nowait.30000 firebird/opt/interbase/bin/ibserver

When I try to connect to a fb database, I get
Unable to complete network request to host "localhost".
- -Failed to establish a connection etc

But strangely inetd *is* starting an ibserver process as us can see:
firebird 1568 0.0 0.1 3844 828 ? S 12:12 0:00 [ibserver]

But this process somehow is not accepting connections. Also it seems
that this process is being created over and over again for every
connection I make.

When I do su - firebird; /opt/interbase/bin/ibserver& I have it up and
running and I can connect to it.

Can anybody give a hint?

Googleing showed that with Interbase people seem to call a script(?)
called "gds_inet_server" via inetd instead of calling ibserver
directly... If that's the solution for FB, where can I get this script?

best regards,
Yves


p.s. This is on 1.03, but I will migrate to 1.5 soon, still using inetd


- --
Linux 2.4.25 #1 Wed Feb 18 18:48:18 CET 2004 i686
12:11:18 up 6 min, 1 user, load average: 0.17, 0.19, 0.09
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAQcvGfmxiTOp0sQYRAiARAJ49B43kwIy2nZ6siXOtLczd90CLJACdGVoE
RUEQpCnw6GXeEhx7kR2OykI=
=U+3B
-----END PGP SIGNATURE-----