Daily Stats not showing anything.

Welcome to MagicSpam Pro for cPanel WHM! A better spam protection in an easy to use cPanel WHM Module. Visit here for support, frequently asked questions, wishlists and discussion groups on this great module to make life with cPanel WHM that much simpler.

Moderators: wizard, magicspam

Post Reply
magicspam
Posts: 1077
Joined: Tue Oct 28, 2008 2:27 pm

Re: Daily Stats not showing anything.

Post by magicspam » Mon Nov 02, 2015 2:39 pm

Hello BertMagic,

Thank you for the update.

Sorry about that, for your platform the second command should have been:

Code: Select all

grep rotate_logs /var/log/cron
Please run that command and provide the output.

You can also run the following command for more clues:

Code: Select all

grep rotate_logs /var/log/messages
We have a few additional questions for you to help us rule out some issues:
Are you running with SELinux enabled?
Do you happen to have CageFS installed/enabled?
Are you running ConfigServer Firewall?

-- MagicSpam Support Team --

BertMagic
Posts: 13
Joined: Thu Oct 29, 2015 2:24 pm

Re: Daily Stats not showing anything.

Post by BertMagic » Tue Nov 03, 2015 6:05 pm

Hi,

####
Ok so for the new commands the first output is:

Nov 2 03:00:01 server CROND[31935]: (magicspam) CMD (/usr/share/magicspam/bin/rotate_logs /var/log/magicspam/mslog)
Nov 3 03:00:02 server CROND[22189]: (magicspam) CMD (/usr/share/magicspam/bin/rotate_logs /var/log/magicspam/mslog)

####
The second command doesn't do anything

root@server [~]# grep rotate_logs /var/log/messages <-- push enter here -->
root@server [~]# <-- output is nothing -->

####
For the additional questions:
Are you running with SELinux enabled? No
Do you happen to have CageFS installed/enabled? No
Are you running ConfigServer Firewall? Yes


Let me know. Thx again for the help :)

magicspam
Posts: 1077
Joined: Tue Oct 28, 2008 2:27 pm

Re: Daily Stats not showing anything.

Post by magicspam » Wed Nov 04, 2015 1:03 pm

Hello BertMagic,

Thank you for the additional information.

Our development team will be running some tests with ConfigServer as there may be a correlation with the log rotation issue.

We will let you know once we have the results.

In the meantime, please let us know if you notice another issue with your daily log stats.

Thanks again for your patience.

-- MagicSpam Support Team --

BertMagic
Posts: 13
Joined: Thu Oct 29, 2015 2:24 pm

Re: Daily Stats not showing anything.

Post by BertMagic » Wed Nov 04, 2015 4:26 pm

Oh I forgot to add that now "System at a Glance" on the dashboard has empty (0) results. I'm not to worried but just an FYI.

Thanks again.

magicspam
Posts: 1077
Joined: Tue Oct 28, 2008 2:27 pm

Re: Daily Stats not showing anything.

Post by magicspam » Thu Nov 05, 2015 9:54 am

Hello BertMagic,

We sent an alternative log rotation script directly to your email.
If you'd like to try that out and report your findings we'd really appreciate it.

Thanks!

-- MagicSpam Support Team --

BertMagic
Posts: 13
Joined: Thu Oct 29, 2015 2:24 pm

Re: Daily Stats not showing anything.

Post by BertMagic » Thu Nov 05, 2015 12:48 pm

Ok I added the new script. Ill let you know how it goes. Would you prefer I respond here or via email?

Thx

magicspam
Posts: 1077
Joined: Tue Oct 28, 2008 2:27 pm

Re: Daily Stats not showing anything.

Post by magicspam » Thu Nov 05, 2015 12:54 pm

Hello BertMagic,

Excellent, you can reply to the email and we will update the forum post accordingly.

Thanks!

-- MagicSpam Support Team --

magicspam
Posts: 1077
Joined: Tue Oct 28, 2008 2:27 pm

Re: Daily Stats not showing anything.

Post by magicspam » Tue Jul 18, 2017 4:44 pm

Hello Haroldpiege,

Thank you for your post.

Could you please let us know if the stats are still missing?

If they are, one of the possible causes for this issue could be corrupt log files.

To correct such issues related to file corruptions, please follow the instructions below:

1. Stop MagicSpam by clicking the "Disable Protection" button found under the "Settings" tab in the "System" section.

2. Issue these two commands to clear out the old log and counter data:

rm /var/log/magicspam/.counter*

rm /var/log/magicspam/mslog*

3. Start MagicSpam again by clicking the "Enable Protection" button found under the "Settings" tab in the "System" section.

Please let us know if the above steps resolve the issue, or if you have any further questions.
-- MagicSpam Support Team --

Post Reply

Return to “MagicSpam Pro for WHM/cPanel”

Who is online

Users browsing this forum: No registered users and 1 guest