You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jason Kratzer <Ja...@C-P.com> on 2005/11/21 21:18:46 UTC

Error when attempting to run sa-stats

Do I need to install the module or can I run it from the install
directory. I was unable to find the documentation for it.

 

 

[root@mail tools]# ./sa-stats.pl

Can't locate Parse/Syslog.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
./sa-stats.pl line 50.

BEGIN failed--compilation aborted at ./sa-stats.pl line 50.

 

Thank you,
Jason Kratzer
Network Administrator
Cuhaci & Peterson Architects L.L.C.
1220 Alden Road 
Orlando, FL 32803
(407) 228-4220 Ext. 1444 (Office)
(407) 228-4219 (Fax)
jasonk@c-p.com <BL...@c-p.com>  (email)
www.c-p.com <BLOCKED::http://www.c-p.com/>  (Web)

 


Re: Error when attempting to run sa-stats

Posted by Steven Stern <su...@sterndata.com>.
jdow wrote:
> From: "Steven Stern" <su...@sterndata.com>
> 
>> Jason Kratzer wrote:
>>
>>> Do I need to install the module or can I run it from the install 
>>> directory. I was unable to find the documentation for it.
>>>
>>>  
>>>
>>>  
>>>
>>> [root@mail tools]# ./sa-stats.pl
>>>
>>> Can't locate Parse/Syslog.pm in @INC (@INC contains:
>>
>>
>>
>> perl -MCPAN -e shell
>> install Parse::Syslog
>>
>>
>> That should do it.
>>
>> However, I get a lot of zeros from sa-stats. It's looking a 
>> /var/log/maillog, but not seeing the spam reports there.  What's the 
>> trick?
> 
> 
> Set the start and end times. "sa-stats.pl --help"
> 
> {^_^}
> 

How odd... If I don't set start/end, it shows the same dates in the left 
column but puts zeros in the right. With the dates, it shows the correct 
info.

-- 

   Steve

Re: Error when attempting to run sa-stats

Posted by jdow <jd...@earthlink.net>.
From: "Steven Stern" <su...@sterndata.com>

> Jason Kratzer wrote:
>> Do I need to install the module or can I run it from the install 
>> directory. I was unable to find the documentation for it.
>> 
>>  
>> 
>>  
>> 
>> [root@mail tools]# ./sa-stats.pl
>> 
>> Can't locate Parse/Syslog.pm in @INC (@INC contains: 
>>
> 
> 
> perl -MCPAN -e shell
> install Parse::Syslog
> 
> 
> That should do it.
> 
> However, I get a lot of zeros from sa-stats. It's looking a 
> /var/log/maillog, but not seeing the spam reports there.  What's the trick?

Set the start and end times. "sa-stats.pl --help"

{^_^}


Re: Error when attempting to run sa-stats

Posted by Steven Stern <su...@sterndata.com>.
Jason Kratzer wrote:
> Do I need to install the module or can I run it from the install 
> directory. I was unable to find the documentation for it.
> 
>  
> 
>  
> 
> [root@mail tools]# ./sa-stats.pl
> 
> Can't locate Parse/Syslog.pm in @INC (@INC contains: 
>


perl -MCPAN -e shell
install Parse::Syslog


That should do it.

However, I get a lot of zeros from sa-stats. It's looking a 
/var/log/maillog, but not seeing the spam reports there.  What's the trick?

-- 

   Steve

Re: Error when attempting to run sa-stats

Posted by qqqq <qq...@usermail.com>.
Have you done a find for Syslog.pm ?

find /usr -name Syslog.pm

QQQQ


  ----- Original Message ----- 
  From: Jason Kratzer 
  To: users@spamassassin.apache.org 
  Sent: Monday, November 21, 2005 1:18 PM
  Subject: Error when attempting to run sa-stats


  Do I need to install the module or can I run it from the install directory. I was unable to find the documentation for it.

   

   

  [root@mail tools]# ./sa-stats.pl

  Can't locate Parse/Syslog.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at ./sa-stats.pl line 50.

  BEGIN failed--compilation aborted at ./sa-stats.pl line 50.

   

  Thank you,
  Jason Kratzer
  Network Administrator
  Cuhaci & Peterson Architects L.L.C.
  1220 Alden Road 
  Orlando, FL 32803
  (407) 228-4220 Ext. 1444 (Office)
  (407) 228-4219 (Fax)
  jasonk@c-p.com (email)
  www.c-p.com (Web)