Can't locate Log/Agent.pm in @INC - SpamAssassin

This is a discussion on Can't locate Log/Agent.pm in @INC - SpamAssassin ; I sent a post with the above subject about a week and a half ago and Justin Mason stated that its apparently a Razor problem. I sent the same post to the Razor list and received 'no' replies. I don't ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Can't locate Log/Agent.pm in @INC

  1. Can't locate Log/Agent.pm in @INC

    I sent a post with the above subject about a week and a half ago and Justin
    Mason stated that its apparently a Razor problem. I sent the same post to the
    Razor list and received 'no' replies. I don't doubt Justin at all, however,
    with no replies from the Razor list I'm turning back to the SA list in the
    hopes that someone could give me a clue on what to check. Neither SA or Razor
    appear to be affected in any way at all, I guess it's just annoying to see
    this everytime I stop and start SA. The below is from when I ran SA-Update
    after upgrading to 3.2.5 awhile ago.

    Jun 13 19:36:25 localhost spamassassin: spamd startup succeeded
    Jun 13 19:36:28 localhost spamd[3256]: Can't locate Log/Agent.pm in @INC (@INC
    contains:
    lib /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5
    /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4
    /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl) at (eval 1365) line 2.
    Jun 13 19:36:28 localhost spamd[3256]: Can't locate Log/Agent.pm in @INC (@INC
    contains:
    lib /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5
    /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4
    /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl) at (eval 1365) line 2.
    Jun 13 19:36:28 localhost spamd[3256]: BEGIN failed--compilation aborted at
    (eval 1365) line 2.

    I will try posting the above again to the Razor list and see if I get any
    replies.

    Chris

    --
    Chris
    KeyID 0xE372A7DA98E6705C

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkhTGr8ACgkQ43Kn2pjmcFwvgwCfaOpyzo4Xws Qfz7Q9WBrJofRQ
    DKkAn04cCQPZQriD0MtZnqJ+sK2W0/gF
    =iRjd
    -----END PGP SIGNATURE-----


  2. Re: Can't locate Log/Agent.pm in @INC

    Chris wrote:

    > Jun 13 19:36:28 localhost spamd[3256]: Can't locate Log/Agent.pm in @INC (@INC


    You could try to find out wich module tries to use Log::Simple.
    For example doing this:
    jonas@chip:/usr/local/lib/perl5$ grep -r 'Log::Agent' *
    I find that on this system, Log::Agent is optional in Storable
    and LockFile::Simple. Nothing in the perl lib hierarchy needs it
    here. This might well be different in your system.

    /Jonas
    --
    Jonas Eckerman, FSDB & Fruktträdet
    http://whatever.frukt.org/
    http://www.fsdb.org/
    http://www.frukt.org/


  3. Re: Can't locate Log/Agent.pm in @INC

    At 18:11 13-06-2008, Chris wrote:
    >I sent a post with the above subject about a week and a half ago and Justin
    >Mason stated that its apparently a Razor problem. I sent the same post to the
    >Razor list and received 'no' replies. I don't doubt Justin at all, however,
    >with no replies from the Razor list I'm turning back to the SA list in the
    >hopes that someone could give me a clue on what to check. Neither SA or Razor
    >appear to be affected in any way at all, I guess it's just annoying to see
    >this everytime I stop and start SA. The below is from when I ran SA-Update
    >after upgrading to 3.2.5 awhile ago.
    >
    >Jun 13 19:36:25 localhost spamassassin: spamd startup succeeded
    >Jun 13 19:36:28 localhost spamd[3256]: Can't locate Log/Agent.pm in
    >@INC (@INC
    >contains:
    >lib /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
    >/usr/lib/perl5/site_perl/5.8.5
    >/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
    >/usr/lib/perl5/site_perl
    >/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
    >/usr/lib/perl5/vendor_perl/5.8.5
    >/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
    >/usr/lib/perl5/vendor_perl/5.8.4
    >/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
    >/usr/lib/perl5/vendor_perl/5.8.3
    >/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
    >/usr/lib/perl5/vendor_perl/5.8.1
    >/usr/lib/perl5/vendor_perl) at (eval 1365) line 2.


    The error message mentions that Log/Agent.pm module cannot be located
    in any of the directories where Perl searches for it. Have you
    verified whether you have that module is installed? if so, is it in
    another of the @INC directories?

    Regards,
    -sm


  4. Re: Can't locate Log/Agent.pm in @INC

    Chris wrote:
    > Hopefully I did this correctly, I came up with this:
    > [chris@cpollock perl5]$ grep -r 'Log::Agent' *

    [results snipped]

    Seems probable that the only thing in that directory (and its
    subdirectories) using Log::Agent is Storable. And that sue is
    optional.

    You could search for use in other places on your file system as
    well to try to find out what piece of code is trying (and
    failing) to use it. Or you could simply install Log::Agent wich
    ought to get rid of the problem as well.

    Regards
    /Jonas
    --
    Jonas Eckerman, FSDB & Fruktträdet
    http://whatever.frukt.org/
    http://www.fsdb.org/
    http://www.frukt.org/


+ Reply to Thread