Re: Trouble connecting to DB using TCP
Posted in 1997
Mike , ask the Unix sysadmin to add the service name in the main
NIS service name database AND redistribute this database to your
server. That should solve your problem. Please note that the
Unix getservbyname() function call automatically attempts to connect
to your NIS name server to resolve the service name to service number.
Hope this helps.
Saeed
In article <5ri5tq$csl@cssun.mathcs.emory.edu>,
mgallagh@motown.lmco.com ("Michael L. Gallagher") wrote:
>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."
>--------------------------------------------------------