Re: Newbie question: Informix SE on Linux
Posted in 1998
Topics: Installation, Setup & Upgrades, Server Administration, Networking & sqlhosts Configuration, Platform-Specific Issues
Hi!
Stefan Weideneder wrote:
> Yun Ye wrote:
> >
> > I just installed Informix SE on Redhat Linux 5.1, and created the
> > $INFORMIXDIR/etc/sqlhosts file that contains one entry:
> >
> > demo_se seipcpip localhost sqlexec
> >
> > I set $INFORMIXSERVER to demo_se, and ran the dbaccessdemo7 program
> > according to the manual, but got the error message:
> >
> > Creating stores7 database ....
> > 25591: Transport control received an invalid connection address.
> > Error in line 1> > Near character position 1
> >
> > The error message manual says it means there are invalid hostname and
> > servicename entries in the sqlhosts file. But this is a local
> > connection, and the DBA manual says hostname and servicename don't
> > matter for local unnamed pipe connections. What could have gone wrong?
> >
> > -Yun
>
> Hi,
>
> exchange the "localhost" entry by your real machine name.
>
> Bye
>
> Stefan Weideneder
"localhost" is just fine in sqlhosts but Linux does not support unnamed pipes
so change
the sqlhosts file 2nd coloumn from "seipcipc" to "sesoctcp". Also make sure
that in the 4th coloumn you replace "sqlexec" to "demo_service" (or whatever
you want to name it) and add this entry to "/etc/services" with port 1536.
Then start sqlexecd with "$INFORMIXDIR/lib/sqlexecd demo_se".
--- CUT --- CUT --- CUT --- CUT --- CUT --- CUT --- CUT ---
[...]
demo_se sesoctcp judicator demo_service
--- CUT --- CUT --- CUT --- CUT --- CUT --- CUT --- CUT ---
[...]
irc 6667/tcp # Internet Relay Chat
dos 7000/tcp msdos
#
# Borland International InterBase Database Remote Protocol
#
gds_db 3050/tcp
demo_service 1536/tcp
# End of services.
--- CUT --- CUT --- CUT --- CUT --- CUT --- CUT --- CUT ---
Regards,
KakukZ
-----------------------------------------------------------------
Zoltan Kakuk kakukz@freemail.c3.hu
System Administrator Mosonyi str. 9.
Hungarian National Police HQ 1087, Budapest
Criminal Identification Service HUNGARY
-----------------------------------------------------------------