anybody have ever seen such DBD::Proxy errors?

Discussion in 'Perl Misc' started by Bing Du, Aug 28, 2003.

  1. Bing Du

    Bing Du Guest

    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
    Bing Du, Aug 28, 2003
    #1
    1. Advertising

  2. On Thu, 28 Aug 2003 14:35:55 -0500
    Bing Du <> wrote:
    > 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
    --
    Jim
    James Willmore, Aug 29, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nikita A. Visnevski
    Replies:
    0
    Views:
    343
    Nikita A. Visnevski
    Apr 22, 2004
  2. Andrew Crook

    DBD::CSV questions and is there a DBD::XML?

    Andrew Crook, Sep 2, 2003, in forum: Perl Misc
    Replies:
    2
    Views:
    168
    Andrew Crook
    Sep 11, 2003
  3. Mike Solomon

    DBD::mysqlPP v DBD::mysql

    Mike Solomon, Feb 16, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    214
    James Willmore
    Feb 16, 2004
  4. meneg
    Replies:
    2
    Views:
    118
    meneg
    Nov 17, 2004
  5. Jim Cochrane
    Replies:
    0
    Views:
    117
    Jim Cochrane
    Aug 25, 2007
Loading...

Share This Page