Re: Informix Network Connection
Posted in 2004
Try to comment out the following:
#NETTYPE ipcshm,1,100,CPU # Configure poll thread(s) for
nettype
#NETTYPE soctcp,1,100,NET # Configure poll thread(s)
for nettype
Dorn.
----- Original Message -----
From: "Data Goob" <datagoob@netscape.net>
To: <informix-list@iiug.org>
Sent: Sunday, March 14, 2004 07:30 AM
Subject: Re: Informix Network Connection
> Thought of one other thing for NFS:
>
> Make sure rpc.statd is running.
>
> -DG-
>
> Data Goob wrote:
> >
> > Most Linux distributions will require editing some kind of network
> > interface. There is a general paranoia in the Linux/UNIX community
> > regarding r-commands, ( rlogin, rcp, rpc, etc ) telnet, and inetd
> > due to their limited security architecture.
> >
> > Most Linux systems do not even put telnet or the r-coomands on the
> > system, you will have to do this manually. Most likely you will
> > have an sshd set up,and again it will probably have to be turned
> > on manually. Many systems have sshd set up to be lit on boot, so
> > this may or may not be an issue. sshd will not work at all if you
> > do not edit the sshd_config file from its original default.
> >
> > Trying to telnet to your system will work only if you configure it
> > in your /etc/inetd.conf and it is even installed on your machine.
> > Again, inetd is another amongst the services that are not being
> > turned on by default, and as a result you may not be getting ANY
> > networking to work. It may not even be installed, so check this
> > out as well.
> >
> > I don't know what Red Hat does, so the following will work on SuSE,
> > Gentoo, other distros outside of RH.
> >
> > Inetd: ( Check to see if it's even installed )
> >
> > If you are using inetd, you will most likely have to turn
> > it on. Uncomment the desired services
> >
> > /etc/inetd.conf
> > /etc/init.d/inetd start|stop
> >
> > Xinetd: ( Check to see if it's even installed )
> >
> > Xinetd works with individual conf files for each service.
> > Services are typically enabled with the "disable = no"
> > directive. You will find them in an xinetd.d directory,
> > typically /etc/xinetd.d . The desired service will not
> > function if the config is "disabled = yes".
> >
> > /etc/xinetd.conf and /etc/xinetd.d/config-files
> > /etc/init.d/xinetd start|stop
> >
> > Also check to see if this directive is in any config:
> > only_from = localhost
> >
> > This will limit connections as well.
> >
> > SSH ( Check to see if it's even installed )
> >
> > /etc/ssh/sshd_config
> > /etc/init.d/sshd start|stop
> >
> > You may even have a firewall turned on that is blocking all ports
> > with IPtables. This is yet another reason why you might not connect.
> > Check to see if a firewall is running, turn it off and see if that
> > is causing the blockage.
> >
> > Also, you can have all three of the above installed and working at
> > the same time.
> >
> > Good luck!
> >
> > -DG-
> >
> >
> > Neil Truby wrote:
> >
> >> So do I.
> >>
> >> "Lello, Nick" <Nick.Lello@nielsenedi.com> wrote in message
> >> news:c2vte7$r5e$1@terabinaries.xmission.com...
> >>
> >>> Thomas,
> >>>
> >>> I believe the correct network connection type for linux is tlitcp not
> >>> soctcp.
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: owner-informix-list@iiug.org
[mailto:owner-informix-list@iiug.org]
> >>> On Behalf Of Thomas Ronayne
> >>> Sent: Saturday, March 13, 2004 7:03 AM
> >>> To: informix-list@iiug.org
> >>> Subject: Informix Network Connection
> >>>
> >>> I am unable to figure out how to make a network connection and would
> >>> appreciate someone pointing me in the right direction. On my Slackware
> >>> Linux 9.1 system, Informix Dynamic Server 7.30.U, I'm trying to get
the
> >>> network connection working (so I can use PHP with Informix). The
shared
> >>> memory connection works fine, but attempting to get the network
> >>> connection started is an abject failure (and, yes, I've been through
the
> >>>
> >>> Client/Server Communications section of the manual and I've tried
> >>> everything I can think of).
> >>>
> >>> With onconfig entries
> >>>
> >>> SERVERNUM 1 # Unique id corresponding to a
> >>> Dynamic Server instance
> >>> DBSERVERNAME fubar_a # Name of default database server
> >>> DBSERVERALIASES fubar_anet # Name of network database> >>> server
> >>> NETTYPE ipcshm,1,100,CPU # Configure poll thread(s)
> >>> for nettype
> >>> NETTYPE soctcp,1,100,NET # Configure poll
> >>> thread(s) for nettype
> >>> DEADLOCK_TIMEOUT 60 # Max time to wait of lock in
> >>> distributed env.
> >>> RESIDENT 0 # Forced residency flag (Yes = 1,No
> >>> = 0)
> >>>
> >>> and sqlhost entries
> >>>
> >>> fubar_a onipcshm fubar informixa
> >>> fubar_anet onsoctcp fubar informixanet> >>>
> >>> and /etc/services entries
> >>>
> >>> informixa 1625/tcp # IBM Informix 7.x engine shared
> >>> informixanet 1725/tcp # IBM Informix 7.x engine network
> >>>
> >>> When I execute oninit the online log shows
> >>>
> >>> Sat Mar 13 09:38:53 2004
> >>>
> >>> 09:38:53 Event alarms enabled. ALARMPROG =
> >>> '/opt/informix/etc/log_full.sh'
> >>> 09:38:59 DR: DRAUTO is 0 (Off)
> >>> 09:39:00 Informix Dynamic Server Version 7.30.U Software
Serial
> >>> Number AAC#A404657
> >>> 09:39:00 listener-thread: err = -27100: oserr = 2: errstr = :
> >>> Internal Communications Error: NSF subsystem error.
> >>> System error = 2.
> >>> 09:39:00 Attempting to bring listener thread down
> >>>
> >>> 09:39:00 PANIC: Attempting to bring system down
> >>>
> >>> If I comment out the DBSERVERALIASES and NETTYPE lines in onconfig,
> >>> oninit starts fine and everything works as expected.
> >>>
> >>> Any help would be most appreciated.
> >>>
> >>>
> >>>
> >>> sending to informix-list
> >>
> >>
> >>
> >>
> >
> >
>
>
sending to informix-list