I have a problem in connecting to my database in Informix Dynamic Server
for Windows NT.
While connecting it gives the Following error:
- Illegal sqlhosts file option/parameter, parameter, for
dbservername, servername.
Error No. -27004
I have checked the "dbserver name" and "server name" in the
onconfig.dbserver file.
Also, the TCP "servicename" and "port no." from the
winnt/system32/drivers/etc/services are correctly entered using Informix
Setnet 32.
I am not able to figure out the mistake in the installation.
Another, problem that "sometimes" strikes is that the service stops as
soon as it is started. At that time we have to restart the machine.
Anybody having any idea about this problem please help.
Anand
One of the parameters in sqlhosts, which here is in the registry, is
incorrect. Check setnet32 versus release notes. If you list them someone
may be able to help.
Sometimes the "service" stops? Is this the IDS service? Anything in the
Informix messages file (online.log)?
MW
***What Informix engine?
We are using IDS 9.2
***What NT service pack level?
SP 6
***Sometimes the "service" stops? Is this the IDS service? Anything in
the
Informix messages file (online.log)?
the database service "Informix IDS ks2i" stops.
The Registry entries are as shown below:
Environment Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\OnLine\ks2i\Environment]
"INFORMIXSERVER"="ks2i"
"ONCONFIG"="ONCONFIG.ks2i"
"REGMACHINE"="\\\\HYD_GISSRVR01"
"DBLANG"="EN_US.CP1252"
"CONTINUOUS_LOG"="0"
"SERVER_LOCALE"="EN_US.CP1252"
"DB_LOCALE"="EN_US.8859-1"
"INFORMIXDIR"="e:\\informix"
"INFORMIXSQLHOSTS"="\\\\HYD_GISSRVR01"
"CLIENT_LOCALE"="EN_US.CP1252"
and SQLHOSTS registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\SQLHOSTS\ks2i]
"HOST"="\\\\hyd_gissrvr01"
"SERVICE"="turbo"
"PROTOCOL"="onsoctcp"
"OPTIONS"="1526"
Also, yesterday I saw the following message in "INFORMIXDIR/ks2i.log"
when I started the database server. As soon as the server is started the
server is stopped.
17:09:58 Informix Dynamic Server 2000 Started.
Mon May 21 17:09:58 2001
17:09:58 Booting Language <c> from module <>
17:09:59 Loading Module <CNULL>
17:09:59 Booting Language <builtin> from module <>
17:09:59 Loading Module <BUILTINNULL>
17:10:03 listener-thread: err = -27004: oserr = 0: errstr = : Illegal
sqlhosts file option/parameter.
17:10:04 Attempting to bring listener thread down.
17:10:04 Server stopped.
Hope that this information explains my problem well..
Amar, the service is shutting down as soon as it is started, so your
suggestion did not work. Any other solutions you know about? please let
me know.
Thanx
Anand
regards
amar
>From: "Murray Wood" <mur...@quanta.co.nz>
>To: <inform...@iiug.org>
>Subject: RE: Unable to connect to Informix Database Server on IDS
>Date: Tue, 22 May 2001 10:23:13 +1200
>MIME-Version: 1.0
>Received: from [216.205.90.2] by hotmail.com (3.2) with ESMTP id
>MHotMailBCD32A4700C6400438B1D8CD5A02062D0; Mon May 21 20:38:48 2001
>Received: (from majordomo@localhost)by dhp0320.1steditions.com
>(8.9.3/8.9.3) id QAA29876;Mon, 21 May 2001 16:32:30 -0500
>Received: from mta3-rme.xtra.co.nz (mta3-rme.xtra.co.nz [203.96.92.13])by
>dhp0320.1steditions.com (8.9.3/8.9.3) with ESMTP id QAA29858for
><inform...@iiug.org>; Mon, 21 May 2001 16:32:28 -0500
>Received: from qweb.quanta.co.nz ([210.54.213.247]) by mta3-rme.xtra.co.nz
> with ESMTP id
><20010521222422.MHEA64...@qweb.quanta.co.nz> for
><inform...@iiug.org>; Tue, 22 May 2001 10:24:22 +1200
>Received: from quanta.co.nz (quack16.quanta.co.nz [10.19.48.4])by
>qweb.quanta.co.nz (8.9.3/8.9.3) with ESMTP id LAA12508for
><inform...@iiug.org>; Tue, 22 May 2001 11:28:20 +1200
>Received: from murray (murray.quanta.co.nz [10.19.48.54])by quanta.co.nz
>(8.8.8+Sun/8.8.8) with SMTP id KAA03250for <inform...@iiug.org>; Tue,
>22 May 2001 10:21:10 +1200 (NZST)
>From owner-inf...@iiug.org Mon May 21 20:39:45 2001
>X-Authentication-Warning: dhp0320.1steditions.com: majordomo set sender to
>owner-inf...@iiug.org using -f
>Message-ID: <001801c0e244$a069b6b0$3630130a@murray>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
>Importance: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>In-Reply-To: <76642CC7C37CD411BE5...@ks2.ks2.stph.net>
>Sender: owner-inf...@iiug.org
>Precedence: bulk
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Please try change option from 1526 to blank.
I get same message when I set option 1526.
Regards.
At 10:18 01/05/22 +0530, Matam, Anand wrote:
>Thanx Mr. Wood and Mr.Amar for your Help.
>
>***What Informix engine?
>We are using IDS 9.2
>
>***What NT service pack level?
>SP 6
>
>***Sometimes the "service" stops? Is this the IDS service? Anything in
>the
>Informix messages file (online.log)?
>To: inform...@iiug.org
>Subject: RE: Unable to connect to Informix Database Server on IDS
>
>
--
Tsutomu Ogiwara
Technical Group
Informix Sales Promotion Dept
ITOCHU TECHNO-SCIENCE Corporation
KURITA-KUDAN BLDG., 1-11-15, FUJIMI,
CHIYODA-KU TOKYO,102-0074 JAPAN
Phone:+81-3-5226-1951 Fax:+81-3-5226-1959
E-mail:Tsutomu...@ctc-g.co.jp / tsu...@my-deja.com
Thanx a lot for your timely help. As you suggested Amar, I removed the
extra slashes and it is working fine.
Thanx Mr. Wood.
Mr. Ogiwara, thanx to you too.
Regards,
Anand
-----Original Message-----
From: Amar Sirohi [mailto:amars...@hotmail.com]
Sent: Tuesday, May 22, 2001 1:25 AM
To: mur...@quanta.co.nz; inform...@iiug.org
Subject: RE: Unable to connect to Informix Database Server on IDS
I also think that there might be something in the ODBC connection
settings
which has been configured wrongly..
Eg.: you might give a parameter in the options box, which informix does
not
recognise....
regards
amar
>From: "Murray Wood" <mur...@quanta.co.nz>
>To: <inform...@iiug.org>
>Subject: RE: Unable to connect to Informix Database Server on IDS
________________________________________________________________________
I understood option section.
Thank you for your kindness.
At 09:40 01/05/23 +0530, Matam, Anand wrote:
>Hi! Tsutomu,
>
>In the option section you have to specify the "port" for that particular
>"service" as mentioned in the winnt/system32/drivers/etc/services file.
>
>For eg:
>
>if the service is
>
>turbo 1526/tcp #Your IDS server
>
>then your option would be "1526"
>
>Though, this is optional. It would work even if you don't specify.
>
>Thanx for all your help. My server has been restored. some problems in
>registry like the extra slashes in the "host" option as suggested by
>Wood and Amar
>
>Regards,
>
>Anand
>
>
>
>-----Original Message-----
>From: Tsutomu Ogiwara [mailto:Tsutomu...@ctc-g.co.jp]
>Sent: Tuesday, May 22, 2001 4:10 AM
>To: Matam, Anand
>Cc: inform...@iiug.org
>Subject: RE: Unable to connect to Informix Database Server on IDS
>
>
>Hi Matam.
>
>Please try change option from 1526 to blank.
>
>I get same message when I set option 1526.
>
>Regards.
>
>At 10:18 01/05/22 +0530, Matam, Anand wrote:
>>Thanx Mr. Wood and Mr.Amar for your Help.
>>
>>***What Informix engine?
>>We are using IDS 9.2
>>
>>***What NT service pack level?
>>SP 6
>>
>>***Sometimes the "service" stops? Is this the IDS service? Anything
>in
>>the
>>Informix messages file (online.log)?
>>To: inform...@iiug.org
>>Subject: RE: Unable to connect to Informix Database Server on IDS
>>
>>
>--
>Tsutomu Ogiwara
>
>Technical Group
>Informix Sales Promotion Dept
>ITOCHU TECHNO-SCIENCE Corporation
>KURITA-KUDAN BLDG., 1-11-15, FUJIMI,
>CHIYODA-KU TOKYO,102-0074 JAPAN
>Phone:+81-3-5226-1951 Fax:+81-3-5226-1959
>E-mail:Tsutomu...@ctc-g.co.jp / tsu...@my-deja.com
--
伊藤忠テクノサイエンス株式会社
INFORMIX営業推進部/テクニカルグループ 荻原 勤
Tsutomu...@ctc-g.co.jp / ifmx...@ctc-g.co.jp
102-0074 東京都千代田区富士見1-11-5
TEL.03-5226-1901 FAX.03-5226-1959
Please check the registry-entries:
HKEY_LOCAL_MACHINE/Software/Informix/SQLHOSTS/<DB-Server-Name>/Options
Sometimes Informix will write some "shit" in these parameters after
crashing....try to delete the "Option"-entry (if exists)
Michael
"Matam, Anand" <mat...@ks2.stph.net> schrieb im Newsbeitrag
news:9eangu$muq$1...@news.xmission.com...
What's this ? The port number ??? Delete (!!) this entry (server-registry
and all client-registries !!!) and try again !!
Michael
"Matam, Anand" <mat...@ks2.stph.net> schrieb im Newsbeitrag
news:9ecs99$dda$1...@news.xmission.com...
I thought we had solved this one!!!
remember the extra slashes given in the registry for sqlhosts settings!!!!
>From: "Michael Essing" <Michael...@meconsult.de>
>Reply-To: "Michael Essing" <Michael...@meconsult.de>
>To: inform...@iiug.org
>Subject: Re: Unable to connect to Informix Database Server on IDS
>Date: Mon, 21 May 2001 19:38:23 +0100
>Received: from [216.205.90.2] by hotmail.com (3.2) with ESMTP id
>MHotMailBCD94FC3000A400438C8D8CD5A020D8F0; Sat May 26 12:32:20 2001
>Received: (from majordomo@localhost)by dhp0320.1steditions.com
>(8.9.3/8.9.3) id FAA08640;Sat, 26 May 2001 05:50:02 -0500
>From owner-inf...@iiug.org Sat May 26 12:33:48 2001
>X-Authentication-Warning: dhp0320.1steditions.com: majordomo set sender to
>owner-inf...@iiug.org using -f
>Message-Id:
><AA293BEF45B2D411BFD9...@drkblonc0008-bkup.gb.dresdnerkb.com>
>X-List-Gateway: comp.databases.informix
>Sender: owner-inf...@iiug.org
>Precedence: bulk
>
>Which version of IDS & Win NT ??
>Error-messages in the online.log / messages.log Files ??
>Need the onconfig-file ....
>
>Please check the registry-entries:
>
> HKEY_LOCAL_MACHINE/Software/Informix/SQLHOSTS/<DB-Server-Name>/Options
>
>Sometimes Informix will write some "shit" in these parameters after
>crashing....try to delete the "Option"-entry (if exists)
>
>Michael
>
>"Matam, Anand" <mat...@ks2.stph.net> schrieb im Newsbeitrag
>news:9eangu$muq$1...@news.xmission.com...
> >
> > Hi! All,
> >
> > I have a problem in connecting to my database in Informix Dynamic Server
> > for Windows NT.
> >
> > While connecting it gives the Following error:
> >
> > - Illegal sqlhosts file option/parameter, parameter, for
> > dbservername, servername.
> >
> > Error No. -27004
> >
> > I have checked the "dbserver name" and "server name" in the
> > onconfig.dbserver file.
> >
> >
> > Also, the TCP "servicename" and "port no." from the
> > winnt/system32/drivers/etc/services are correctly entered using Informix
> > Setnet 32.
> >
> > I am not able to figure out the mistake in the installation.
> >
> > Another, problem that "sometimes" strikes is that the service stops as
> > soon as it is started. At that time we have to restart the machine.
> >
> > Anybody having any idea about this problem please help.
> >
> > Anand
> >
>
>
_________________________________________________________________________
Jim