Page 2 of 2

Re: Daily Stats not showing anything.

Posted: Mon Nov 02, 2015 2:39 pm
by magicspam
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 --

Re: Daily Stats not showing anything.

Posted: Tue Nov 03, 2015 6:05 pm
by BertMagic
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 :)

Re: Daily Stats not showing anything.

Posted: Wed Nov 04, 2015 1:03 pm
by magicspam
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 --

Re: Daily Stats not showing anything.

Posted: Wed Nov 04, 2015 4:26 pm
by BertMagic
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.

Re: Daily Stats not showing anything.

Posted: Thu Nov 05, 2015 9:54 am
by magicspam
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 --

Re: Daily Stats not showing anything.

Posted: Thu Nov 05, 2015 12:48 pm
by BertMagic
Ok I added the new script. Ill let you know how it goes. Would you prefer I respond here or via email?

Thx

Re: Daily Stats not showing anything.

Posted: Thu Nov 05, 2015 12:54 pm
by magicspam
Hello BertMagic,

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

Thanks!

-- MagicSpam Support Team --

Re: Daily Stats not showing anything.

Posted: Tue Jul 18, 2017 4:44 pm
by magicspam
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.