You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ronan <r....@qub.ac.uk> on 2004/12/13 12:28:58 UTC

sa-stats error

I actually never knew about this until i was having a hoke around...
anyway cant get it to run..

./sa-stats.pl -l /var/log/syslog -H -T 5 -u
Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x4c9a68)"
bash-2.03$

i presume this is to do with the per user count but it even flags when i run

bash-2.03$ ./sa-stats.pl -l /var/log/syslog
Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x4c9a38)"

and even

bash-2.03$ ./sa-stats.pl
Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x4c9a20)"

any hints? thanks.

-- 
Regards

Ronan McGlue
==============
Analyst/Programmer
Information Services
Queens University Belfast
BT7 1NN

Re: sa-stats error

Posted by Chris <cp...@earthlink.net>.
On Wednesday 15 December 2004 02:53 am, Ronan wrote:
> Ronan wrote:
> > I actually never knew about this until i was having a hoke around...
> > anyway cant get it to run..
> >
> > ./sa-stats.pl -l /var/log/syslog -H -T 5 -u
> > Error in option spec: "top|T:25"
> > Error in option spec: "SCALAR(0x4c9a68)"
> > bash-2.03$
> >
> > i presume this is to do with the per user count but it even flags when
> > i run
> >
> > bash-2.03$ ./sa-stats.pl -l /var/log/syslog
> > Error in option spec: "top|T:25"
> > Error in option spec: "SCALAR(0x4c9a38)"
> >
> > and even
> >
> > bash-2.03$ ./sa-stats.pl
> > Error in option spec: "top|T:25"
> > Error in option spec: "SCALAR(0x4c9a20)"
> >
> > any hints? thanks.
>
> does anyone here use sa-stats.pl?
> Has the above rror been seen by anyone else?
>
> ronan

I run it here every night, not sure what version it is, set it up around the 
1st of April this year.  I run it as a cronjob and have never seen any 
errors.

-- 
Chris
Registered Linux User 283774 http://counter.li.org
8:41pm up 17 days, 5:59, 1 user, load average: 1.04, 1.31, 1.34
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don't hit a man when he's down -- kick him; it's easier.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Live - From Virgin Radio UK Lou Reed - Satellite of love


Re: sa-stats error

Posted by Ronan McGlue <r....@qub.ac.uk>.
another list user, david baines helped me out on this one...
its very simply that your version of getopt::long is not recent enough

get the latest from cpan and install and it works perfectly from then on

ronan

Stephan Paukner wrote:
> On Wed, December 15, 2004 9:53, Ronan said:
> 
>>>I actually never knew about this until i was having a hoke around...
>>>anyway cant get it to run..
>>>
>>>./sa-stats.pl -l /var/log/syslog -H -T 5 -u
>>>Error in option spec: "top|T:25"
>>>Error in option spec: "SCALAR(0x4c9a68)"
>>>bash-2.03$
>>>
>>>i presume this is to do with the per user count but it even flags when
>>>i run
>>>
>>>bash-2.03$ ./sa-stats.pl -l /var/log/syslog Error in option spec:
>>>"top|T:25"
>>>Error in option spec: "SCALAR(0x4c9a38)"
>>>
>>>
>>>and even
>>>
>>>bash-2.03$ ./sa-stats.pl Error in option spec: "top|T:25"
>>>Error in option spec: "SCALAR(0x4c9a20)"
>>>
>>>
>>>any hints? thanks.
>>>
>>
>>does anyone here use sa-stats.pl? Has the above rror been seen by anyone
>>else?
> 
> 
> Yes, me:
> 
> # /root/.cpan/build/Mail-SpamAssassin-3.0.1/tools/sa-stats.pl -l
> /var/log/mail.log
> Error in option spec: "top|T:25"
> Error in option spec: "SCALAR(0x85202d4)"
> 
> This also happens with no arguments given.
> 
> Regards
> 

-- 
Regards

Ronan McGlue
==============
Analyst/Programmer
Information Services
Queens University Belfast
BT7 1NN

Re: sa-stats error

Posted by Stephan Paukner <pa...@paukner.cc>.
On Wed, December 15, 2004 9:53, Ronan said:
>> I actually never knew about this until i was having a hoke around...
>> anyway cant get it to run..
>>
>> ./sa-stats.pl -l /var/log/syslog -H -T 5 -u
>> Error in option spec: "top|T:25"
>> Error in option spec: "SCALAR(0x4c9a68)"
>> bash-2.03$
>>
>> i presume this is to do with the per user count but it even flags when
>> i run
>>
>> bash-2.03$ ./sa-stats.pl -l /var/log/syslog Error in option spec:
>> "top|T:25"
>> Error in option spec: "SCALAR(0x4c9a38)"
>>
>>
>> and even
>>
>> bash-2.03$ ./sa-stats.pl Error in option spec: "top|T:25"
>> Error in option spec: "SCALAR(0x4c9a20)"
>>
>>
>> any hints? thanks.
>>
> does anyone here use sa-stats.pl? Has the above rror been seen by anyone
> else?

Yes, me:

# /root/.cpan/build/Mail-SpamAssassin-3.0.1/tools/sa-stats.pl -l
/var/log/mail.log
Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x85202d4)"

This also happens with no arguments given.

Regards

-- 
Stephan Paukner <pa...@paukner.cc>
GnuPG public key ID: 0xAC6B7700
Jabber ID: paux@cargal.org

Re: sa-stats error

Posted by Ronan <r....@qub.ac.uk>.

Ronan wrote:
> I actually never knew about this until i was having a hoke around...
> anyway cant get it to run..
> 
> ./sa-stats.pl -l /var/log/syslog -H -T 5 -u
> Error in option spec: "top|T:25"
> Error in option spec: "SCALAR(0x4c9a68)"
> bash-2.03$
> 
> i presume this is to do with the per user count but it even flags when i 
> run
> 
> bash-2.03$ ./sa-stats.pl -l /var/log/syslog
> Error in option spec: "top|T:25"
> Error in option spec: "SCALAR(0x4c9a38)"
> 
> and even
> 
> bash-2.03$ ./sa-stats.pl
> Error in option spec: "top|T:25"
> Error in option spec: "SCALAR(0x4c9a20)"
> 
> any hints? thanks.
> 
does anyone here use sa-stats.pl?
Has the above rror been seen by anyone else?

ronan

-- 
Regards

Ronan McGlue
==============
Analyst/Programmer
Information Services
Queens University Belfast
BT7 1NN