LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-10-2009, 01:58 AM   #16
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31

Quote:
Originally Posted by chrism01 View Post
According to your 1st post

which means its only listening on localhost ie 127.0.0.1.
You probably need to change Informix cfg to listen on the relevant IP.
Uhmm, I think you are very right. I'll do that and i'll post later. tyvm
 
Old 08-10-2009, 02:02 AM   #17
centos82
Member
 
Registered: Sep 2008
Distribution: CentOS
Posts: 75

Rep: Reputation: 16
I need to go to bed, but what does "herculetest" resolve to?

Maybe that will lead you in the right direction.
 
Old 08-10-2009, 02:12 AM   #18
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by centos82 View Post
I need to go to bed, but what does "herculetest" resolve to?

Maybe that will lead you in the right direction.
Well, if I set in my windows localmachine in etc drivers host(s) the hostname and the ip and if I ping the centos linux machine server it resolves me the IP but if I don't have that line in etc drivers host it dosen't 'cause in our domain controller the dns name is not set.

The user: "chrism01" I think he has 100% right but i'm waiting for the programmators to change in the configuration of informix server the ip 127.0.0.1 with the real IP as I don't know how to do that.
 
Old 08-10-2009, 02:59 AM   #19
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
Dear chrism01,

I asked the programmators to look in the informix configuration to change to ip to the real ip but they said that in informix configuration (onconfig) there is no such thing. Still, I belive that what you said is right, and it does really needs to be the original IP as if I log in as root and do telnet localhost 1526 it connects but I can't connect from a remote windows machine. SO I belive it's all ok since I can connect from localhost but not from a remote machine since the IP isn't 172.16.100.11 and it's 127.0.0.1

I'm not really sure that they know what they do so that's why I'm asking you a help, a favor. Can you please documentation on this problem and advice me on what should I do next ?
 
Old 08-10-2009, 04:46 AM   #20
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
What do I need to have in /etc/hosts ?

atm I have:

127.0.0.1 localhost localhost.localdomain localhost
172.16.100.11 myserver myserver.mydomain.net

If I ping localhost it resolves me 127.0.0.1 if I ping myserver it resolves me the ip so everything's ok, I gues.
Do I need to have the ip of the remove machines in hosts.allow ?
 
Old 08-11-2009, 12:58 AM   #21
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
This page says port 9090 http://www-01.ibm.com/support/docvie...n&rss=ct632db2, but I've never worked with Informix.
As mentioned in another thread, you should probably ring your informix supplier and get some advice there I think.
 
Old 08-11-2009, 01:12 AM   #22
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
chrism01, you really deserve a thanks. The programmers needed to add the following line into informix/etc/sqlhosts

yourserver onsoctcp yourserverip 1526


You also need to check your /etc/hosts in your linux box to have the proper hostname set correctly (associated with it's server IP) - which was good in my server.


Problem solved, thankx again chris.

Thread closed.
 
Old 08-13-2009, 02:00 AM   #23
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Glad to help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change hostname of LINUX CentOS 5 while running informix server ytd Linux - General 5 08-11-2009 01:04 AM
Informix server on CentOS 5 error while loading shared libraries: libstdc++-libc6.2-2 ytd Linux - General 1 08-09-2009 02:14 AM
How to open a port on a Centos 5 server swamprat Linux - Newbie 7 04-16-2009 05:54 PM
i need help with centos and csdk informix superbully Linux - Software 0 07-31-2007 03:52 AM
TCP port allocation of Informix in AIX tsarlz AIX 0 10-26-2006 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration