I looked in the error log but didn't see anything. I get some errors when running 'php amavis-stats.php' but I also got some html output. I sent that to a static html file and now am able to see something very much like the OP describes. My blank page issue must have something to do with my php/apache setup (though a phpinfo() script works fine).
So, looks like I have the same issue as the OP. Do you know which version of rrdtool amavis-stats is looking for (I'm running 1.3.7, from my distro)? If amavis-stats demands an older version of rrdtool then I'll probably just have to give up on it. Thanks, Joel Peter Huetmannsberger wrote: > > Have you looked in your logfiles for httpd access.log and error.log, > when you access the page. It might give you a clue what's missing. > > Good luck, > > .peter > > > > > > On Thu, 25 Mar 2010, Joel wrote: > >> 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 >> >> ------------------------------------------------------------------------------ >> >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> AMaViS-user mailing list >> AMaViS-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/amavis-user >> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 >> AMaViS-HowTos:http://www.amavis.org/howto/ >> > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/