LINUX/SE problem, error #25591

LINUX/SE problem, error #25591

Post by Ma » Sun, 31 Dec 1899 09:00:00



Greetings,

I've gotten most of the way in successfully installing SE on RH5.1 Linux.  

However, when I've gotten to trying to use dbaccess, I get the opening
window, but when I try and select a database I get the the following
error:

25591: Transport protocol received an invalid connect or address.

I've changed the 'on_hostname' of my $INFORMIXDIR/etc/sqlhosts to
'localhost' seeing as how when I type 'hostname' I get
'localhost.localdomain'.

What else do I need to do in order to remedy the above error?

Thanks in advance.

Max Pyziur

 
 
 

LINUX/SE problem, error #25591

Post by Kurt Wa » Sun, 31 Dec 1899 09:00:00


Max spake to the assembled, saying:
%Greetings,
%
%I've gotten most of the way in successfully installing SE on RH5.1 Linux.  
%
%However, when I've gotten to trying to use dbaccess, I get the opening
%window, but when I try and select a database I get the the following
%error:
%
%25591: Transport protocol received an invalid connect or address.
%
%I've changed the 'on_hostname' of my $INFORMIXDIR/etc/sqlhosts to
%'localhost' seeing as how when I type 'hostname' I get
%'localhost.localdomain'.

Incorrect.  You need to use precisely the output of "uname -n".  

%What else do I need to do in order to remedy the above error?
%
%Thanks in advance.
%
%Max Pyziur

Kurt
--
GNU/Linux: The little OS that could, does and will.

 
 
 

LINUX/SE problem, error #25591

Post by Jonathan Leffle » Sun, 31 Dec 1899 09:00:00



> Where can I get SE for RH Linux?

Well, it depends on what you want.

I'm using RH 5.1 on a machine at home and a machine in the office,
and I'm using the SE and ESQL/C 7.24.UC5 released back in July.

I made two sets of changes to the esql script to get it to work the
way I want it to:
        *       Add -lcrypt after -lm
        *       Add code to recognize '-c' as an option, and
        *       Add code to zap all the library names when -c was
                used as an option because GCC complains if you say
                        gcc -c xyz.c -lm

With those two (or three; it depends on how you count them) changes,
I've been running my SQLCMD program quite happily.  That's a non-
trivial hunk of ESQL/C code.  On my machine at home, I had enough
disk space to install Everything; on the machine in the office, I
had 1/10th the space, so I didn;t install everything.  I don't think
that I'm using the libc5 compatability libraries on either machine,
but equally, I'm not running into problems.

I've had other reports that there are problems with RH.

The 25591 error sounds like a networking problem. Use seipcpip
connections instead unless you've got a very good reason no to do so.

Remember: I speak for myself, not for Informix -- especially this time.

--

Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN
#include <disclaimer.h>

 
 
 

LINUX/SE problem, error #25591

Post by Esquive » Sun, 31 Dec 1899 09:00:00


Where can I get SE for RH Linux?


 
 
 

LINUX/SE problem, error #25591

Post by Jonathan Leffle » Sun, 31 Dec 1899 09:00:00




> > Where can I get SE for RH Linux?

> Well, it depends on what you want.

> I'm using RH 5.1 on a machine at home and a machine in the office,
> and I'm using the SE and ESQL/C 7.24.UC5 released back in July.

> I made two sets of changes to the esql script to get it to work the
> way I want it to:
>   *   Add -lcrypt after -lm
>   *   Add code to recognize '-c' as an option, and
>   *   Add code to zap all the library names when -c was
>       used as an option because GCC complains if you say
>           gcc -c xyz.c -lm

> With those two (or three; it depends on how you count them) changes,
> I've been running my SQLCMD program quite happily.  That's a non-
> trivial hunk of ESQL/C code.  On my machine at home, I had enough
> disk space to install Everything; on the machine in the office, I
> had 1/10th the space, so I didn;t install everything.  I don't think
> that I'm using the libc5 compatability libraries on either machine,
> but equally, I'm not running into problems.

> I've had other reports that there are problems with RH.

> The 25591 error sounds like a networking problem. Use seipcpip
> connections instead unless you've got a very good reason no to do so.

> Remember: I speak for myself, not for Informix -- especially this time.

And here's a patch file (unified diff) of the changes I made.
As I said, this is working for me on RedHat 5.1, but YMMV.

Yours,

Guardian of DBD::Informix v0.60 -- http://www.perl.com/CPAN
Informix IDN for D4GL & Linux -- http://www.informix.com/idn

--- esql.original       Mon Jul 13 22:59:44 1998

     GLSLIB=-lixgls
     GLXLIB=-lixglx
     NETSTUB="${INFDIR}/lib/libnetstub.so "
 fi

-SYSLIB="-lm "
+SYSLIB="-lm -lcrypt"
 SYSNLIB=""
 TLILIB=""
 THLIB=$THREADLIB
 CHKAPI=${INFDIR}/lib/esql/checkapi.o
 LPATH=${INFDIR}/lib
+DOLINK=yes

 nettli="TRUE"
 # check for the existence of libraries specified in TLILIB
 if test "x$TLILIB" = "x"

             ;;

        "" )
            break;
            ;;
+       -c )
+           DOLINK=no
+           A="$A $1"
+           shift
+           ;;
        * )
            A="$A $1"
            shift
            ;;

 # compile .C (c++) files
 if test "$B"
 then
     $CPP $INCLUDE -I$INFDIR/incl/esql -c $B
+fi
+
+if test "$DOLINK" = no
+then
+       ALIB=
+       CHKAPI=
+       COMB=
+       GLIB=
+       GLSLIB=
+       GLXLIB=
+       OLIB=
+       SLIB=
+       SYSLIB=
+       SYSNLIB=
 fi

 # compile .c files, link with c++ .o's in $BO
 if test "$STATOPT"
 then

 
 
 

1. Error 25591 on INFORNIX SE 7.24 ( Linux )

Hello

Please help me asap.
I install informix-se 7.24 on Linux RedHat 6.0
demo_se         seipcpip        new     sqlexec

In /etc/setveces :
sqlexec         1527/tcp

INFORMIXDIR, INFORMIXSERVER, PATH are set.
 Dbaccessdemo7 returned:
25591: Transport control received an invalid connection address

Help me.
Thanks in advance.
Jack

2. non-interactive start and stop

3. Error 25591: Transport control received invalid connection ... seipcpip

4. DROP COLUMN not working after upgrade from 6.5 to 7.0

5. Error 25591: Transport control received an invalid connection address when accessing database via seipcpip method

6. how do i copy database from one sql server to another?

7. 25591:Transport control received an invalid connection address.

8. GPF in w3dblib.dll

9. Possible solutions for 25591

10. Connect from Win32 to Informix-SE on Linux problem (-951 error message)

11. Error 908 on Linux SE