Re: Trouble connecting to DB using TCP
Posted in 1997
I'm not sure what an NIS+ environment is, but check your environment
variables? I think your problem could be in the INFORMIXSERVER variables.
Set it to the TCP server name in the SQLHOSTS file and the port name in the
services file.
"Michael L. Gallagher" <mgallagh@motown.lmco.com> wrote in article
<5ri5tq$csl@cssun.mathcs.emory.edu>...
> Hello all:
> I've finally gotten my database working...albiet using a shared memory
> connection. What I would like to do is have a TCP connection set up (in
> case the server ever moves onto a machine of it's own). I've checked
> all the configuration files (/etc/services /etc/system sqlhosts.ifmx
> config.ifmx), but oninit still complains that it can't find my service
> listing in /etc/services. My plaform is UNIX (Solaris 2.5.1) and we are
> running an NIS+ environment. Anyone have any experience with this? I'm
> getting a little tired of being asked the same questions over and over
> again by Informix tech support.
>
> --
> --------------------------------------------------------
> Michael L. Gallagher <mgallagh@motown.lmco.com>
> Associate Engineer
> Lockheed Martin Government Electronic Systems
> Moorestown, NJ (609) 722-3279
>
> "Duct tape is like the Force...It has a light side and a
> dark side and it binds the universe together."
> --------------------------------------------------------
>