Just this weekend I finally moved from the "freemium" version of MagicSpam to Version:2.0.21-1
Running it under Plesk Obsidian 18.0.27 on Centos 6.10 (Final)
Previous version was running fine no issues for a couple years now, but I wanted to get the extra features.
I installed the latest version manually, and everything went fine and works (blocking a lot more spam now that I ticked off some of the newly accessible features, and added in a few RBL's).
However, tonight I got an error via email from my system showing an error trying to execute one of the cron jobs For MagicSpam:
Code: Select all
PHP Warning: require_once(lib.msnotifications.php): failed to open stream: No such file or directory in /usr/local/psa/admin/sbin/modules/magicspam/ms_purge_notifications on line 53
PHP Fatal error: require_once(): Failed opening required 'lib.msnotifications.php' (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/plib/modules/magicspamincludes:/usr/local/psa/admin/plib/modules/magicspamlib') in /usr/local/psa/admin/sbin/modules/magicspam/ms_purge_notifications on line 53
/usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker
Code: Select all
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 260
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 261
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 262
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/lib/lib.rcptcounter.php on line 433
PHP Warning: Invalid argument supplied for foreach() in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 222
PHP Warning: Invalid argument supplied for foreach() in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 222
PHP Warning: Invalid argument supplied for foreach() in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 222
PHP Warning: Invalid argument supplied for foreach() in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 222
PHP Warning: Invalid argument supplied for foreach() in /usr/local/psa/admin/sbin/modules/magicspam/magicspam-health-checker on line 222
PHP Warning: date(): We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/psa/admin/plib/modules/magicspam/templates/healthChecker on line 25
Here are the current MagicSpam related cron jobs (total 6) that I have:
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/magicspam/scripts/ms_clean_queue.php'
0,5,10,15,20,25,30,35,40,45,50,55 * * * * server (user:psaadm)
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/magicspam/scripts/magicspam-updater.php'
43 3,9,15,21 * * * server (user:psaadm)
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/magicspam/scripts/magicspam-health-checker.php' '--first' 0 4 5 6 2 server (user:psaadm)
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/magicspam/scripts/rotate_logs.php'
Daily (00:00) server (user:psaadm)
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/magicspam/scripts/ms_purge_notifications.php'
Daily (00:00) server (user:psaadm)
/usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/magicspam/scripts/magicspam-health-checker.php'
Weekly (Mon 01:00) server (user:psaadm)
I am wondering if some of these were leftover from the "freemium" version I had previously, and need to be cleaned out - or if they can simply be adjusted to the correct paths? The scripts for example, like "ms_purge_notifications.php" item above that runs daily and is giving me problems - that script does not existing at that path, only these 4 scripts do:
/usr/local/psa/admin/plib/modules/magicspam/scripts/
-rw-r--r-- 1 root root 5277 May 17 00:53 post-install.php
-rw-r--r-- 1 root root 26432 May 17 00:53 pre-install.php
-rw-r--r-- 1 root root 2870 May 17 00:53 pre-uninstall.php
-rw-r--r-- 1 root root 3390 May 17 00:53 supported_os_list.php
However a PHP script with that name (minus the .php extension) does exist at this path:
/usr/local/psa/admin/sbin/modules/magicspam
-rwxr-xr-x 1 root root 6171 May 17 00:53 ms_purge_notifications
I also have this file:
/usr/local/psa/admin/bin/modules/magicspam/ms_purge_notifications_real.sh
but its a link to mod_wrapper:
lrwxrwxrwx 1 root root 25 Jun 9 2018 /usr/local/psa/admin/bin/modules/magicspam/ms_purge_notifications_real.sh -> ../../../sbin/mod_wrapper
In any case, was hoping for some guidance here. Thanks!