Amavis-stats Not working

2007-07-19 Thread terry
Hi,

This is my first time postinf to this list so bare with me if I am doing
it wrong or let me know how I can improve my questions in the future. I
currently have postifx+mysql+amavis running on a FreeBSD 6.2-RELEASE
machine.

uname output:
FreeBSD got.sucked-in.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I installed the amavis-stats port (security/amavis-stats) so I can produce
webpages on what exactly postfix is doing pertaining to rejecting messages
on what basis - spam/virus etc. I have done some reading and though
amavis-stats was for me. I installed it with 'make install clean' and
added the appropriate lines to my apache config to get the webpage to
show.

The webpage shows but it shows the following errors under Daily, Weekly,
Monthly, Yearly Graphs:

amavis-stats::error: rrd_graph(): 127
amavis-stats::error: rrd_graph(): 127

I have tried googling but cannot come up with much, has anyone had this
problem and knows how to remedy it? I have also tried the mailgraph port
with similar rrd_graph errors so I am wondering if it is a problem with
that specific tool on FreeBSD.

Any help would be much appreciated.

Thanks,

Terry

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bug with amavis-stats

2005-08-14 Thread fire67
Hello , i'm on freebsd 5.4 and i tried to configure port amavis-stats-0.1.12  
but i have problem with it when i run it.I have that :

%/usr/local/sbin/amavis-stats /var/log/maillog
syntax error at /usr/local/sbin/amavis-stats line 215, near err
syntax error at /usr/local/sbin/amavis-stats line 223, near }
Execution of /usr/local/sbin/amavis-stats aborted due to compilation errors.


Anyone knows the problem and knows a solution ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-10 Thread Bart Silverstrim
On Mar 10, 2004, at 2:29 AM, Julien Gabel wrote:

:-/  I really am a little bit too far into the configuration of the
4.9 server to update to a 5.x server...isn't 4.9 the recommended
production release from Freebsd.org?
Yes, it is.

To me, it looks like Perl isn't finding an end-of-line (;) somewhere
or isn't seeing the script file properly formatted.  Or he had
another version of Perl installed, or a module from CPAN that I
don't have?... :-(
For the moment, I can just say that on a FreeBSD-5.2.1 the warings.pm
module is located under /usr/local/lib/perl5/5.6.1/. I got nothing
under a FreeBSD-4.8 (i.e. /usr/local/lib/perl5/5.00503/).
My first impression is that the perl version installed whith 4.X isn't
sufficiently recent to be used with this script, but:
 1/ I don't know perl (read: I can't debug the output);
 2/ The proposed tutorial was written using 4.9, so...
Waiting for the answer of the writer...
I've been in touch with the author of the amavis-stats tutorial for 
4.9.  He had a ports 5.8 perl installed, and I am in the process of 
getting it configured on my system here to get it working (to get 
other ports that rely on perl to keep working after changing 
versions...)

Thanks to everyone who tried helping me out...I'm much closer now to 
getting amavis-stats to work.  I just have a little more testing to do 
then I'll email him back with how/whether it works (he wants to edit 
his instructions for others trying to get it working...)

thanks again!
-Bart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-09 Thread Bart Silverstrim
On Mar 8, 2004, at 6:53 PM, Julien Gabel wrote:

Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server?
When I try running the Perl script, I get an error about not being
able to find warnings.pm...
There exists a little FreeBSD guide for amavisd-new at:
  http://www.erodia.net/doc/amavis-stats_freebsd.txt
I had gone through that guide as I was initially working on it; the 
part I'm stuck at is actually executing the script because it seems to 
be giving me a Perl error.

When I change into the directory with the Perl script and run it, I get:
Can't locate warnings.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach 
/usr/libdata/perl/5.00503) at ./amavis-stats line 30.
BEGIN failed--compilation aborted at ./amavis-stats line 30.

My Perl -v gives:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current 
#0: $Date$'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -lperl -lm '
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=, so=so, useshrplib=true, libperl=libperl.so.3
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' 
-Wl,-R/usr/lib'
cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '

Characteristics of this binary (from libperl):
  Built under freebsd
  Compiled at Oct 27 2003 14:43:39
  @INC:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
.
/usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
Anyone run into something like this before?

-Bart

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-09 Thread Julien Gabel
 Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server?
 When I try running the Perl script, I get an error about not being
 able to find warnings.pm...

 There exists a little FreeBSD guide for amavisd-new at:
   http://www.erodia.net/doc/amavis-stats_freebsd.txt

 I had gone through that guide as I was initially working on it; the
 part I'm stuck at is actually executing the script because it seems
 to be giving me a Perl error.

 When I change into the directory with the Perl script and run it, I
 get:
 Can't locate warnings.pm in @INC (@INC contains:
 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
 /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
 /usr/libdata/perl/5.00503) at ./amavis-stats line 30.
 BEGIN failed--compilation aborted at ./amavis-stats line 30.
 [...]
 Anyone run into something like this before?

For my part, it doesn't work... but later than you : I get an *access
denied on the stats files* when launching the index.php file from my
browser... certainly not too hard to fix, but I had no time fot that
this week.
But the difference is... I use a FreeBSD-5.X not a FreeBSD-4.X and the
perl version is 5.6.1 for this installation. I let you know if I will
have the time investigate this problem.

But according to the document 'amavis-stats_freebsd.txt', the version
used is the same than yours... Maybe can you try to contact its author
for more information?
-- 
-jpeg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-09 Thread Bart Silverstrim
On Mar 9, 2004, at 11:05 AM, Julien Gabel wrote:
snip
For my part, it doesn't work... but later than you : I get an *access
denied on the stats files* when launching the index.php file from my
browser... certainly not too hard to fix, but I had no time fot that
this week.
But the difference is... I use a FreeBSD-5.X not a FreeBSD-4.X and the
perl version is 5.6.1 for this installation. I let you know if I will
have the time investigate this problem.
:-/  I really am a little bit too far into the configuration of the 4.9 
server to update to a 5.x
server...isn't 4.9 the recommended production release from Freebsd.org?

But according to the document 'amavis-stats_freebsd.txt', the version
used is the same than yours... Maybe can you try to contact its author
for more information?
I just sent an email tonight asking if the author had run into this 
problem.  Odd...

To me, it looks like Perl isn't finding an end-of-line (;) somewhere or 
isn't seeing
the script file properly formatted.  Or he had another version of Perl 
installed, or a
module from CPAN that I don't have?... :-(

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-09 Thread Julien Gabel
 :-/  I really am a little bit too far into the configuration of the
 4.9 server to update to a 5.x server...isn't 4.9 the recommended
 production release from Freebsd.org?

Yes, it is.

 To me, it looks like Perl isn't finding an end-of-line (;) somewhere
 or isn't seeing the script file properly formatted.  Or he had
 another version of Perl installed, or a module from CPAN that I
 don't have?... :-(

For the moment, I can just say that on a FreeBSD-5.2.1 the warings.pm
module is located under /usr/local/lib/perl5/5.6.1/. I got nothing
under a FreeBSD-4.8 (i.e. /usr/local/lib/perl5/5.00503/).

My first impression is that the perl version installed whith 4.X isn't
sufficiently recent to be used with this script, but:
 1/ I don't know perl (read: I can't debug the output);
 2/ The proposed tutorial was written using 4.9, so...

Waiting for the answer of the writer...
-- 
-jpeg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Amavis-Stats

2004-03-08 Thread Bart Silverstrim
Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server?  
When I try running the Perl script, I get an error about not being able 
to find warnings.pm...

-Bart

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-08 Thread Julien Gabel
 Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server?
 When I try running the Perl script, I get an error about not being
 able to find warnings.pm...

There exists a little FreeBSD guide for amavisd-new at:
  http://www.erodia.net/doc/amavis-stats_freebsd.txt

I didn't test it, but it seems to suit your needs. I think it can
help youy to reduce your steps from a working installed version of
amavisd-stats. Good luck.

-- 
-jpeg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Amavis-Stats.

2004-03-08 Thread Julien Gabel
 Has anyone installed Amavis-Stats on a FreeBSD 4.9 Release server?
 When I try running the Perl script, I get an error about not being
 able to find warnings.pm...

 There exists a little FreeBSD guide for amavisd-new at:
  ^^^
...   stats, sorry.

   http://www.erodia.net/doc/amavis-stats_freebsd.txt

 I didn't test it, but it seems to suit your needs. I think it can
 help youy to reduce your steps from a working installed version of
 amavisd-stats. Good luck.

-- 
-jpeg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]