anybody have ever seen such DBD::Proxy errors?

B

Bing Du

Anybody know that might have caused the following errors? I'm in the
dark.

============
DBD::proxy::db STORE failed: Server returned error: Failed to execute
method CallMethod: Can't set
DBI::proxyServer::db=HASH(0x104699e0)->{Username}: unrecognised
attribute at /usr/freeware/lib/perl5/site_perl/5.005/RPC/PlServer.pm
line 332
..
DBD::proxy::db STORE failed: Can't store CODE items at
blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al)
line 283, at /usr/local/lib/perl5/site_perl/5.6.1/RPC/PlServer/Comm.pm
line 60 at /usr/local/lib/perl5/site_perl/5.6.1/RPC/PlClient.pm line 114
============

The application is running fine without any errors on host1, but
generates the above errors in the httpd-error log on host2.

Host1 runs:

FreeBSD xyzzy-1.tamu.edu 4.3-20010721-STABLE FreeBSD 4.3-20010721-STABLE
Perl, version 5.005_03 built for i386-freebsd

Host2 runs:

FreeBSD xyzzy-5.tamu.edu 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE
Perl v5.6.1 built for i386-freebsd

Any help would be appreciated.

Bing
 
J

James Willmore

Anybody know that might have caused the following errors? I'm in
the dark.

The "flashlight" is the DBI 'trace' method.
For example:
DBI->trace(4,'trace.txt');

This will aid in establishing what's going on and help trouble shoot
the issue.
============
DBD::proxy::db STORE failed: Server returned error: Failed to
execute method CallMethod: Can't set
DBI::proxyServer::db=HASH(0x104699e0)->{Username}: unrecognised
attribute at /usr/freeware/lib/perl5/site_perl/5.005/RPC/PlServer.pm

line 332
.
DBD::proxy::db STORE failed: Can't store CODE items at
blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/_freeze.al) line 283, at
/usr/local/lib/perl5/site_perl/5.6.1/RPC/PlServer/Comm.pm line 60 at
/usr/local/lib/perl5/site_perl/5.6.1/RPC/PlClient.pm line
114============

Upon first glance, it looks like you may have forgot to set a username
-or- it's not a valid username at all. However, the tracefile you
will produce using the DBI 'trace' method will bear this out.

Plus, what data source are you trying to connect to? Yes, you're
using a proxy, but a proxy to what? MySQL, PostgreSQL, Sybase,
Oracle, CSV ...?
Host1 runs:

FreeBSD xyzzy-1.tamu.edu 4.3-20010721-STABLE FreeBSD
4.3-20010721-STABLE Perl, version 5.005_03 built for i386-freebsd

Host2 runs:

FreeBSD xyzzy-5.tamu.edu 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE
Perl v5.6.1 built for i386-freebsd

Just a suggestion - don't use a pre-release of FreeBSD. The latest
version (last I checked) was 4.8. Using a pre-release may have a
whole set of issues (related or unrelated) to what you're working on.
Again, just a suggestion.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top