Upgrade the DBI version used on the server.
Tim.
On Mon, Jun 09, 2003 at 11:52:09PM -0400, D.N.Brown wrote:
>
> Hello,
>
> I am using the DBI bundle to contact a remote server via proxy.
> I get error messages on connect and disconnect, even though I know some
> information transfer has taken place successfully. The error messages and
> configuration information are below. I have only found a couple of
> postings of similar errors, none of which seem to help. I would
> appreciate any help people could offer. Thanks!
>
> Best Regards,
> David N. Brown
> ******************************************************************
>
> My computer is a RedHat Linux 7.3 machine. I installed the DBI bundle
> just recently and checked that it is still up-to-date as of today. My
> perl version is 5.6.1
>
> Many other people at other remote sites have been able to use the same
> system (modulo small details) successfully for some time (well over a
> year).
>
> Here is the error message on connection:
> DBD::Proxy::db STORE failed: Server returned error: Failed to execute
> method CallMethod: Can't set
> DBI::ProxyServer::db=HASH(0x835f99c)->{Username}: unrecognised attribute
> at /theservermachine/perl/lib/site_perl/5.6.1/RPC/PlServer.pm
> line 332.
>
> Here is the message on disconnect:
> DBD::Proxy::db disconnect failed: Server returned error: Failed to execute
> method CallMethod: Not permitted for method disconnect of class
> DBI::ProxyServer::db at
> /theservermachine/perl/lib/site_perl/5.6.1/RPC/PlServer.pm
> line 328.
>
> In spite of the error messages, there appears to have been some
> information transferred, because the script prints out information that is
> contained in the database on the server and is not stored
> locally.! However, I think that I will not be able to write to the remote
> database.
>
> Here is the configuration for the connect command:
>
> package BBProx::DbiProxy;
>
> sub connect {
>
> my $pkgname = shift;
> my ($user,$pass)[EMAIL PROTECTED];
>
> my $dsn = "dbi:Oracle:XXXX";
> my $proxy ="hostname=xxx.xxx.xxx.xxx;port=yyyy";
> my $dbh;
>
> $dbh = DBI->connect("dbi:Proxy:$proxy;dsn=$dsn", $user, $pass);
> return $dbh;
> }
>
>
> One person I talked to suggested a problem with the Storable installation,
> because of the word STORE in the first error message, but I think I have a
> good installation of Storable 2.07 on my computer.
>
> Again, any help would be greatly appreciated.
> Thanks.
> David Brown
>