Today's Count is not updating

Generic questions on MailCleaner usage. Please check if your question cannot find a more specific topic below before posting here !<br>
This section is now READ ONLY, please choose the section below that fit your question !

Moderators: FlorianB, Pascal, bourgeois, mentor

irrashai
Posts: 22
Joined: Thu Dec 07, 2006 1:48 am

Today's Count is not updating

Postby irrashai » Wed Jan 10, 2007 3:46 am

Hi again!

My installation is working fine for at least 3 weeks now. Last night suddenly the top page statistics are not updating although the system is still working (filtering, delivering etc).

I searched the forum but I can't find anything related.

I tried to md5sum /usr/mailcleaner/bin/collect_rrd_stats.pl and it gave me the same hash as what i found here: 90928655d913b1ef489721605264f8d9

When I try to run it with:

Code: Select all

/usr/mailcleaner/bin/collect_rrd_stats.pl

I get the following error:

Code: Select all

Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
Use of uninitialized value in join or string at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 341.
rrdtool update /var/mailcleaner/spool/rrdtools/127.0.0.1/messages.rrd --template cleans:spams:bytes:contents:pcontents:pspams:msgs:pviruses:viruses:pcleans N:::Illegal division by zero at /usr/mailcleaner/bin/get_today_stats.pl line 146.::::::: failed: conversion of 'Illegal division by zero at /usr/mailcleaner/bin/get_today_stats.pl line 146.' to float not complete: tail 'Illegal division by zero at /usr/mailcleaner/bin/get_today_stats.pl line 146.' at /usr/local/share/perl/5.8.4/RRDTool/OO.pm line 306


It's successful if i try to run it with:

Code: Select all

/usr/mailcleaner/bin/collect_rrd_stats.pl daily


Could someone help me? I want my daily stats back. :(
irrashai
Posts: 22
Joined: Thu Dec 07, 2006 1:48 am

Postby irrashai » Wed Jan 10, 2007 5:53 am

It seems that something opened and locked my

Code: Select all

/var/mailcleaner/spool/mailcleaner/counts/_global/20070110_counts
file that's why the statistics won't update. I removed the file and the system created a new one and now it's counting again.

Return to “General help”

Who is online

Users browsing this forum: No registered users and 1 guest