|
From: Joel <jdl...@ei...> - 2010-03-25 17:07:56
|
Voytek Eymont wrote: > anyone using amavis-stats ? > > I'm trying to setup amavis-stats 1.22 on centos/apache > data seems to be collecting, but, no graphs being created > > I guess it fails trying to make a graph, but not sure how to figure this out > > > > sbt.net.au/amavis-stats/ > > I get the main page with buttons, but, no graphs, just: > > amavis-stats::error: rrd_graph()2: 1 > amavis-stats::error: rrd_graph(): 1 > amavis-stats::error: rrd_graph(): 1 > > the data seems created ok in /usr/local/var/lib/amavis-stats: > > ..... > -rw-r----- 1 apache apache 21696 Mar 23 08:30 99.rrd > -rw-r----- 1 apache apache 21696 Mar 23 08:30 9.rrd > -rw-r----- 1 apache apache 1314 Mar 23 08:30 amavis-stats.count > -rw-r----- 1 apache apache 6531 Mar 23 08:30 amavis-stats.names > -rw-r----- 1 apache apache 6 Nov 2 2008 amavis-stats.pid > -rw-r----- 1 apache apache 5560 Mar 23 08:30 amavis-stats.seen > -rw-r----- 1 apache apache 58 Mar 23 08:30 amavis-stats.state > > > no files/graphs exists in /usr/local/share/amavis-stats/img > > # ls -al > total 16 > drwxrwxr-x 2 apache apache 4096 Mar 23 08:31 . > drwxrwxr-x 3 apache apache 4096 Nov 2 2008 .. > > the only error in apache error log I see is: > > [client 143.238.114.81] PHP Notice: Undefined variable: legend_msg in > /usr/loc > al/share/amavis-stats/amavis-stats.php on line 1111 > > > > > You're getting farther than I am, I'm just getting a blank page. My var/lib/amavis-stats/ dir is getting populated with data. Did you configure amavis-stats with --with-rrdtool? Whenever I try to set this I get all sorts of compile errors (undefined references in rrdtool.c). I don't know what this setting does, but without it I'm getting the blank web page. Maybe my problem is something else. I'm using opensuse 11.2. Joel |