Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Informix 9.21 need networking install to work

Status
Not open for further replies.

kelqc

Programmer
Feb 16, 2003
31
AU
Hi

I have a play computer at home with Scounix 5.05 as the operating system. I am having trouble getting it to initialise.

The one thing that is really different from the computer at work is that the work computer is in a Network Environment.

My play computer setup is:

the /usr/informix/etc/sqlhosts file looks like this:

live_root ontlitcp newchem sqlturbo

the entry in the /etc/sevices file looks like this :

sqlturbo 1525/tcp

and the entry in /etc/hosts file looks like this :

192.168.1.22 newchem newchem.eml.com.au

When I ping newchem, I get no packets returned, as you would expect, I guess as there is no network!

I think the problem may be that when I try and initialise, the program is looking for network stuff on the play computer, so my question is does Informix need the network stuff installed?

Kelvin
 
Hi,

Since, you have a single computer available at your service, in real sense, you do not need network stuffs. Informix can use shared memory for connection and process purposes. However, should you need to connect the informix instance via generic front-end tools, you need to setup and configure tranport layer interface / sockets tcp machanisms. (TCP/IP communication protocol)

In your case make following changes:

1. Set environment variables:
export INFORMIXDIR=/usr/informix
export INFORMIXSERVER=live_root
export ONCONFIG=onconfig.$INFORMIXSERVER

2. cd $INFORMIXDIR/etc
cp onconfig.std $ONCONFIG

3. $INFORMIXDIR/etc/sqlhosts file:
live_root onipcshm 127.0.0.1 dummy

After these changes, you may proceed with onmonitor -> parameters -> initialize option and follow the instructions.

or make required changes in the $INFORMIXDIR/etc/$ONCONFIG file, and initiate an complete and fresh initialization by: oninit -i

Good luck !

Regards,
Shriyan
"Everyone is a fool in someone's opinion."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top