This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / 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
2
PHP / Re: Opcache enabled but cached scripts are Zero
« on: October 05, 2019, 09:03:07 PM »After searching on Google, I found the issue appears in others Panels, and the culprit is: ionCube.
Looking at the changelog, the 10.3.8 is supposed to include a fix for a potential crash with OpCache. Looks like it's not enough.
To disable ionCuble, removing the extension from Select Options or disabling in Manual Options is completely ignored by CWP for some reasons. I had to move the file /opt/alt/php-fpm73/usr/php/php.d/iconuble.ini in a directory to not be parsed.
Once disabled, it works great again.
You are LIFE SAVERRR! You are absolutely right. I removed php-fpm73 ioncube.ini and opcache works now!!
You mentioned that php 7.2 faster than php 7.3 , so should I downgrade ?? Or it depends OPCache ?
3
PHP / Opcache enabled but cached scripts are Zero
« on: October 03, 2019, 05:10:37 PM »
It seems to me not working ? what can I do anything else to fix this ? (Im newbie about CWP)
My WebServer Settings:
In my website phpinfo(); shows:
My WebServer Settings:
In my website phpinfo(); shows:
4
Nginx / Re: Process - nginx Connection failed in monit
« on: September 27, 2019, 10:57:00 PM »
try this
open your conf file /etc/monit.d/cwp.nginx
Before:
check process nginx with pidfile /run/nginx.pid
After:
check process nginx with pidfile /var/run/nginx.pid
then reload ALL it fixed my problem.
AT FIRST it was OK
but now i have same issue.
Any updates ?
open your conf file /etc/monit.d/cwp.nginx
Before:
check process nginx with pidfile /run/nginx.pid
After:
check process nginx with pidfile /var/run/nginx.pid
then reload ALL it fixed my problem.
AT FIRST it was OK
but now i have same issue.
Any updates ?
Pages: [1]