Subject: | connecting to RPC server broken? |
Date: | Tue, 14 Oct 2008 16:06:52 -0700 |
To: | bug-BerkeleyDB [...] rt.cpan.org |
From: | Josh England <josh [...] tgsmc.com> |
Hi,
I'm trying to write a perl interface that connects to a database server
via RPC. I compiled db-4.7.25 with rpc support and verified that I can
connect to it remotely using the 'ex_dbclient' tool supplied with db.
However, I can't connect via the perl module.
I'm running on x86_64 RedHat Enterprise 5.1.
The server is started from /usr/local/BerkeleyDB-4.7/bin via:
mkdir database
./berkeley_db_svc -h database
Here's the perl code:
use BerkeleyDB;
my $env = new BerkeleyDB::Env -Server => 'myserver'
or die "$BerkeleyDB::Error\n";
It dies with: "Fatal error, no RPC server".
Am I doing something wrong or is this module buggy?
-JE