<?xml version="1.0" encoding="windows-1252"?>
<node id="993694" title="Perl DBI connection timeout on SLES 10 sp4 X86_64" created="2012-09-14 06:31:40" updated="2012-09-14 06:31:40">
<type id="115">
perlquestion</type>
<author id="961632">
prashantktyagi</author>
<data>
<field name="doctext">
My application create a db connection to sql server using dbi::proxy.&lt;br/&gt;
On server runs a proxy service (written in perl with conjuction to dbiproxy.exe) which listen incoming connection and create a socket.

&lt;p&gt;&lt;br/&gt;
my application is working fine on Redhat Linux( kernel 2.4) but when I run my app on SUSE 10 sp4 x86_64, this is the issue..&lt;/p&gt;
here is my apllication dbi script( client) which fails to connect and timeout..
&lt;br/&gt;
&lt;code&gt;
my $sock = new IO::Socket::INET(
            PeerAddr =&gt; $server,
            PeerPort =&gt; 9000,
            Proto    =&gt; 'tcp',
        );

print " error : $!, $@ ";
&lt;/code&gt;&lt;br/&gt;
&lt;b&gt;
Gives output ...
&lt;/b&gt;&lt;br/&gt;
&lt;code&gt;
error: Illegal seek,
error: Connection refused, IO::Socket::INET: Timeout
error: Connection refused, IO::Socket::INET: Timeout
error: Connection refused, IO::Socket::INET: Timeout
error: Illegal seek, IO::Socket::INET: Timeout
Illegal seek,error: Illegal seek, IO::Socket::INET: Timeout
&lt;/code&gt;

I have doubt on IO::Socket::INET module bundled within my application. Is this a module bug or system issue?
&lt;br/&gt;
Please guide ..</field>
</data>
</node>
