Author Topic: Purchased CWP Pro - Attempting to activate it breaks CWP.  (Read 486 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Purchased CWP Pro - Attempting to activate it breaks CWP.
« 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.