Daily Stats not showing anything.
Daily Stats not showing anything.
Not sure whats going on but like the title says, daily stats are not pulling up anything but a blank page (after the header, the header does show). Monthly seems to be working fine. How do I fix daily stats?
Thanks
Thanks
Re: Daily Stats not showing anything.
Hello BertMagic,
Thank you for your post.
Could you please try resetting the stats for this month with the following command:
This would move the statistics file for the month of October out of the way and allow new stats to collect.
Please let us know if that resolves your problem or if you have any further questions.
-- MagicSpam Support Team --
Thank you for your post.
Could you please try resetting the stats for this month with the following command:
Code: Select all
mv /var/log/magicspam/.counter.dat.10 /var/log/magicspam/counter-oct-backup
Please let us know if that resolves your problem or if you have any further questions.
-- MagicSpam Support Team --
Re: Daily Stats not showing anything.
I did what you asked although I had to change one part of it from
mv /var/log/magicspam/.counter.dat.10 /var/log/magicspam/counter-oct-backup
to
mv /var/log/magicspam/.counter2.dat.10 /var/log/magicspam/counter-oct-backup
The stats reset and I am already seeing the change reflect on Dashboard and Monthly stats but daily is still blank.
mv /var/log/magicspam/.counter.dat.10 /var/log/magicspam/counter-oct-backup
to
mv /var/log/magicspam/.counter2.dat.10 /var/log/magicspam/counter-oct-backup
The stats reset and I am already seeing the change reflect on Dashboard and Monthly stats but daily is still blank.
Re: Daily Stats not showing anything.
Does Reply work or it just take that long for moderation?
Re: Daily Stats not showing anything.
You know what is also missing is the 5 TOP breakdown. Where it shows the 5 TOP of 6 different stats. All I see on Monthly is the day graph and still nothing on Daily.
Re: Daily Stats not showing anything.
Hello BertMagic,
Thank you for your updates and your patience.
We'd like to see the number of MagicSpam log files in use and their sizes.
Could you please run the following command and provide us the output:
We'd also like to know what your Log retention period is currently set at.
You may also try setting it back to the default 7 days to see if that resolves the issue.
ps. We do indeed have a manual moderation process, perhaps one day there'll be a MagicSpam for forums
-- MagicSpam Support Team --
Thank you for your updates and your patience.
We'd like to see the number of MagicSpam log files in use and their sizes.
Could you please run the following command and provide us the output:
Code: Select all
ls -lah /var/log/magicspam
You may also try setting it back to the default 7 days to see if that resolves the issue.
ps. We do indeed have a manual moderation process, perhaps one day there'll be a MagicSpam for forums
-- MagicSpam Support Team --
Re: Daily Stats not showing anything.
Hi,
Here is the output you asked for...
total 18M
drwxr-xr-x 2 magicspam magicspam 4.0K Oct 29 15:55 ./
drwxr-xr-x. 13 root root 4.0K Oct 30 15:01 ../
-rw-r--r-- 1 magicspam root 749 Oct 30 15:02 .counter2.dat.10
-rw-r--r-- 1 magicspam root 749 Oct 29 15:55 counter-oct-backup
-rw-r--r-- 1 magicspam root 18M Oct 30 15:02 mslog
It is still on 7 days, I never changed it.
Ty
Here is the output you asked for...
total 18M
drwxr-xr-x 2 magicspam magicspam 4.0K Oct 29 15:55 ./
drwxr-xr-x. 13 root root 4.0K Oct 30 15:01 ../
-rw-r--r-- 1 magicspam root 749 Oct 30 15:02 .counter2.dat.10
-rw-r--r-- 1 magicspam root 749 Oct 29 15:55 counter-oct-backup
-rw-r--r-- 1 magicspam root 18M Oct 30 15:02 mslog
It is still on 7 days, I never changed it.
Ty
Re: Daily Stats not showing anything.
Hello BertMagic,
Thank you for that information.
It appears that your MagicSpam log file is not being rotated for some reason.
Could you please run the following two commands and provide us the output:
and
-- MagicSpam Support Team --
Thank you for that information.
It appears that your MagicSpam log file is not being rotated for some reason.
Could you please run the following two commands and provide us the output:
Code: Select all
cat /etc/cron.d/magicspam-update
Code: Select all
grep rotate_logs /var/log/syslog
Re: Daily Stats not showing anything.
Ok here is the output of the two commands.
#### First ####
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# rotate the logs
0 0 * * * magicspam /usr/share/magicspam/bin/rotate_logs /var/log/magicspam/mslog
0 0 * * * magicspam /usr/share/magicspam/bin/rotate-userlogs
# clean up old notification entries.
0 0 * * * root /usr/share/magicspam/bin/ms_purge_notifications
# clean up expired rate limiter entries
*/5 * * * * magicspam /usr/share/magicspam/bin/magicspam-rlmanager -c >/dev/null 2>&1
48 2,8,14,20 * * * magicspam /usr/share/magicspam/bin/magicspam-updater
#### Second ####
grep: /var/log/syslog: No such file or directory
Since this is empty here is the WHM/CPanel version
REDHAT Enterprise 7.1 x86_64 kvm – server WHM 11.52.0 (build 20)
#### First ####
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# rotate the logs
0 0 * * * magicspam /usr/share/magicspam/bin/rotate_logs /var/log/magicspam/mslog
0 0 * * * magicspam /usr/share/magicspam/bin/rotate-userlogs
# clean up old notification entries.
0 0 * * * root /usr/share/magicspam/bin/ms_purge_notifications
# clean up expired rate limiter entries
*/5 * * * * magicspam /usr/share/magicspam/bin/magicspam-rlmanager -c >/dev/null 2>&1
48 2,8,14,20 * * * magicspam /usr/share/magicspam/bin/magicspam-updater
#### Second ####
grep: /var/log/syslog: No such file or directory
Since this is empty here is the WHM/CPanel version
REDHAT Enterprise 7.1 x86_64 kvm – server WHM 11.52.0 (build 20)
Re: Daily Stats not showing anything.
So today I checked the daily stats after the weekend and they are showing again. I wonder if it started to work when the new month started on the 1st.
Hmm
Hmm
Who is online
Users browsing this forum: No registered users and 4 guests