Author Topic: Always getting same problem on Anacron JOB notification email  (Read 4231 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Always getting same problem on Anacron JOB notification email
« on: October 14, 2019, 06:15:14 PM »
Anacron job 'cron.daily' ... always like this on my server. How can I fix it ? Anyone know ?

Code: [Select]
====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
TERM environment variable not set.
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwp-phpfpm.service
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
PHP Warning:  Error while sending QUERY packet. PID=14734 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0) : eval()'d code on line 57
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_error() in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0) : eval()'d code:57
Stack trace:
#0 /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0): unknown()
#1 {main}
  thrown in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php(0) : eval()'d code on line 57

Date which backup script is using: 2019-10-14 03:42:02

cpulimit: no process found
/etc/cron.daily/cwp_acme.sh:

[Mon Oct 14 03:42:02 +03 2019] Installing from online archive.
[Mon Oct 14 03:42:02 +03 2019] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Mon Oct 14 03:42:04 +03 2019] Extracting master.tar.gz
[Mon Oct 14 03:42:04 +03 2019] It is recommended to install socat first.
[Mon Oct 14 03:42:04 +03 2019] We use socat for standalone server if you use standalone mode.
[Mon Oct 14 03:42:04 +03 2019] If you don't use standalone mode, just ignore this warning.
[Mon Oct 14 03:42:04 +03 2019] Installing to /root/.acme.sh
[Mon Oct 14 03:42:04 +03 2019] Installed to /root/.acme.sh/acme.sh
[Mon Oct 14 03:42:04 +03 2019] Good, bash is found, so change the shebang to use bash as preferred.
[Mon Oct 14 03:42:06 +03 2019] OK
[Mon Oct 14 03:42:06 +03 2019] Install success!
[Mon Oct 14 03:42:06 +03 2019] Upgrade success!
/etc/cron.daily/cwp_bandwidth:

PHP Warning:  Error while sending QUERY packet. PID=15419 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_stats.php on line 0
PHP Notice:  Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_stats.php on line 0
PHP Warning:  mysqli_fetch_all() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  mysqli_fetch_all() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  mysqli_fetch_all() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  mysqli_fetch_all() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0
PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_user.php on line 0