Control Web Panel
WebPanel => Updates => Topic started by: saha on April 30, 2018, 11:25:35 PM
-
Recently purchased CWP Pro, installed on a dedicated box with a /29 IP block assigned. Everything works, nameservers set, content migrated over and everything is ready to go.
Attempted to run cwp_update to force Pro to activate, which resulted in errors, and CWP failing to start/restart/function in general.
# sh /scripts/update_cwp
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/c ron.php on line 0
PHP Warning: file_get_contents(http://centos-webpanel.com/webpanel/versions/el7 .txt): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.p hp on line 0
PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/incl ude/cron.php on line 0
PHP Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/c ron.php on line 0
PHP Warning: file_get_contents(http://...@gmail.com&version=0.9.8.625&u=3&d=2&s =2): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name o r service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
After running this command, the server will no longer ping domains, load CWP, or perform much at all. I can still ping IP's however.
# ping google.com
ping: google.com: Name or service not known
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=15.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=15.9 ms
Very confused on how the included instructions for activating CWP Pro could end up breaking an entire installation.
-
I have same/ similar problem...
######################
Update Server Packages
######################
PHP Warning: file_get_contents(http://centos-webpanel.com/webpanel/versions/el7.txt): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Date which backup script is using: 2019-01-28 03:37:34
What is the issue?
Have tried reinstalling PHP - to no avail
Only get CWP Pro working if I disable firewall when running script /etc/cron.daily/cwp - not sustainable; daily cron error thereafter
Deleting CSF Blacklist does not work!
Can anyone help?
-
Also Facing Same Issue,,,,, Any Solution???
-
edit /etc/csf/csf.conf
Find TCP_OUT
set to 1:65535
find TCP6_OUT
set to 1:65535
csf -r to restart firewall