Can't locate Log/Agent.pm - SpamAssassin

This is a discussion on Can't locate Log/Agent.pm - SpamAssassin ; The whole error in syslog is below. I first noticed this on May 29th when I stopped and restarted spamassassin by issuing "service spamassassin stop; service spamassassin start" Running spamassassin 3.2.4 w/perl 5.8.5. The complete error shown is below: Jun ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Can't locate Log/Agent.pm

  1. Can't locate Log/Agent.pm

    The whole error in syslog is below. I first noticed this on May 29th when I
    stopped and restarted spamassassin by issuing "service spamassassin stop;
    service spamassassin start" Running spamassassin 3.2.4 w/perl 5.8.5. The
    complete error shown is below:

    Jun 1 08:33:17 localhost spamassassin: spamd startup succeeded
    Jun 1 08:33:23 localhost spamd[9337]: 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 1362) line 2.
    Jun 1 08:33:23 localhost spamd[9337]: 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 1362) line 2.
    Jun 1 08:33:23 localhost spamd[9337]: BEGIN failed--compilation aborted at
    (eval 1362) line 2.

    I noticed a similiar output with bug 4272 which I found by googling "Can't
    locate Log/Agent.pm in @INC (@INC contains:"

    *Description: * ******** Opened: 2005-04-21 03:33 PST

    Now seen in spamd since __WARN__ is trapped earlier than before.

    Apr 21 03:25:43 proton spamassassin[15646]: Can't locate Log/Agent.pm in @INC
    (@INC contains: ../lib /usr/share/perl5 /usr/local/lib/perl/5.6.1
    /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/lib/perl/5.6.1
    /usr/share/perl/5.6.1 /usr/local/lib/site_perl) at (eval 13) line 2._BEGIN
    failed--compilation aborted at (eval 13) line 2.

    ------- Comment #1 From Daniel Quinlan 2005-04-21 03:39:46 PST -------

    fixed now in HEAD

    it was actually the new __DIE__ handler

    Any ideas on what may be causing this?

    --
    Chris
    KeyID 0xE372A7DA98E6705C

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

    iEYEABECAAYFAkhCqJQACgkQ43Kn2pjmcFx/0gCfa6xOc5tItuQwgxKI880le1bn
    RqUAni/chEQbl22AFcKkcYtXnPXhT8UJ
    =3B8W
    -----END PGP SIGNATURE-----


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


    On Sun, June 1, 2008 15:48, Chris wrote:
    > The whole error in syslog is below. I first noticed this on May 29th when I
    > stopped and restarted spamassassin by issuing "service spamassassin stop;
    > service spamassassin start" Running spamassassin 3.2.4 w/perl 5.8.5.


    perl 5.8.5 here

    > Apr 21 03:25:43 proton spamassassin[15646]: Can't locate Log/Agent.pm in @INC
    > (@INC contains: ../lib /usr/share/perl5 /usr/local/lib/perl/5.6.1
    > /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/lib/perl/5.6.1
    > /usr/share/perl/5.6.1 /usr/local/lib/site_perl) at (eval 13) line 2._BEGIN
    > failed--compilation aborted at (eval 13) line 2.


    perl 5.6.1 here

    > Any ideas on what may be causing this?


    mixing perl versions will make alot of problems

    5.8.8 is stable and have better unicode support that is used in spamassassin

    so i would upgrade perl fully and run a perl cleanner, i remember how messy
    this was on freebsd


    Benny Pedersen
    Need more webspace ? http://www.servage.net/?coupon=cust37098


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

    On Sunday 01 June 2008 10:00 am, Benny Pedersen wrote:
    > On Sun, June 1, 2008 15:48, Chris wrote:
    > > The whole error in syslog is below. I first noticed this on May 29th when
    > > I stopped and restarted spamassassin by issuing "service spamassassin
    > > stop; service spamassassin start" Running spamassassin 3.2.4 w/perl
    > > 5.8.5.

    >
    > perl 5.8.5 here
    >
    > > Apr 21 03:25:43 proton spamassassin[15646]: Can't locate Log/Agent.pm in
    > > @INC (@INC contains: ../lib /usr/share/perl5 /usr/local/lib/perl/5.6.1
    > > /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/lib/perl/5.6.1
    > > /usr/share/perl/5.6.1 /usr/local/lib/site_perl) at (eval 13) line
    > > 2._BEGIN failed--compilation aborted at (eval 13) line 2.

    >
    > perl 5.6.1 here
    >
    > > Any ideas on what may be causing this?

    >
    > mixing perl versions will make alot of problems
    >
    > 5.8.8 is stable and have better unicode support that is used in
    > spamassassin
    >
    > so i would upgrade perl fully and run a perl cleanner, i remember how messy
    > this was on freebsd
    >


    I'm only running 5.8.5, what I was showing was the text from a bug report from
    2005, which is here:

    https://issues.apache.org/SpamAssass...ug.cgi?id=4272

    --
    Chris
    KeyID 0xE372A7DA98E6705C

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

    iEYEABECAAYFAkhC0jgACgkQ43Kn2pjmcFxoTwCfew45+T2rvv rJfq62FjBNQkew
    M9wAn2X4vAzIbs31cc0Mwth0R5hPS3hb
    =4eQ8
    -----END PGP SIGNATURE-----


+ Reply to Thread