Cannot log in to DBI ProxyServer (Need Help fast)

Cannot log in to DBI ProxyServer (Need Help fast)

am 12.01.2006 14:34:40 von said.laoui

Hi,

I spend a long time reading faq but i didn't find a solution.

I trying to connect from a server A to a remote server B (which contains Ingres
database).
1 - proxy is up and running on the remote server (B)
2 - Telnet on server B works :
#telnet "server B" 12400 (port : 12400 is on Listen, i've checked with
netstat -an | grep 12400)

Here is my conection script :
#!/usr/local/bin/perl

use DBI;
use Sys::Hostname;

my $host = hostname;

my $dsn = "dbi:Proxy:hostname=serverB;port=12400;dsn=dbi:Ingres:matiss e::maj";

my $dbh = DBI->connect( $dsn, "kmaj", '' )
|| die $DBI::errstr;

exit(0);

###########
The user login is kmaj with nopasswd.

Here the error message :
perl connect.pl
DBI->connect(hostname=serverB;port=12400;dsn=dbi:Ingres:mati sse::maj) failed:
Cannot log in to DBI::ProxyServer: Unexpected EOF from server at
/usr/local/lib/perl5/site_perl/5.6.1/RPC/PlClient.pm line 84.
at connect.pl line 16
Cannot log in to DBI::ProxyServer: Unexpected EOF from server at
/usr/local/lib/perl5/site_perl/5.6.1/RPC/PlClient.pm line 84.

Thanks a lot for any help