[DB-SIG] Informix module and Dynamic Server

Mathieu Guillaume mat@cythere.com
Tue, 16 Feb 1999 15:42:52 +0000 (UTC)


I'm using IDS 7.3 on Linux, and installed the client SDK and informixdb
module on a Solaris machine.

I had some problems getting the module to work (needed to link it against
libgls), but now that it works, I get the following error when trying to
connect to my database:

>>> db=informixdb.informixdb("test@seer")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/informixdb.py", line 20, in __init__
    self.conn = _informixdb.informixdb(logon)
InformixdbError: Error 25507 performing LOGON: The specified service name
or protocol is unknown.

My sqlhosts file contains the following line:
seer    onsoctcp        seer    informix        k=1,r=0,s=0

Anybody knows what the problem is ?