Control Web Panel

WebPanel => Updates => Topic started by: Dan11 on January 13, 2017, 12:30:59 PM

Title: Can't update CWP
Post by: Dan11 on January 13, 2017, 12:30:59 PM
Hi,

My CWP is stuck at version 0.9.8.128. I'm getting this error:

Quote
Update Server Packages
######################
PHP Warning:  [obfuscated](http://...@tablet5.com&version=0.9.8.128&u=2&d=0&s=0): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Your CWP version: 0.9.8.128
PHP Warning:  [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=rc4key&version=0.9.8.128): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=autoupdate2&version=0.9.8.128): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=autoupdate2&version=0.9.8.128): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  String offset cast occured in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
.
..
...
PHP Warning:  [obfuscated](http://...@tablet5.com&version=0.9.8.128&u=2&d=0&s=0): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](http://support.centos-webpanel.com/myapi/cwppro.php): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0

Date which backup script is using: 2017-01-13 02:41:05

I'm also receiving emails from svcMonitor : httpd: unrecognized service


I have another VPS which shows version 0.9.8.136.

Any ideas?
Thanks.
Title: Re: Can't update CWP
Post by: Sandeep on January 14, 2017, 06:56:12 AM
what is in /etc/resolv.conf  ??
Title: Re: Can't update CWP
Post by: Dan11 on January 14, 2017, 10:03:34 AM
Quote
cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
Title: Re: Can't update CWP
Post by: Dan11 on January 16, 2017, 02:42:34 PM
Any ideas?
Title: Re: Can't update CWP
Post by: Administrator on January 16, 2017, 06:33:22 PM
the best would be that you contact support to check this issue more detailed.
Title: Re: Can't update CWP
Post by: Dan11 on January 16, 2017, 07:36:05 PM
I deleted all blocked IP's from CSF and it's working now.  8)
Title: Re: Can't update CWP
Post by: Administrator on January 17, 2017, 02:26:20 PM
than that looks strange, you should check the reason for this blocked ip's in the logs
Title: Re: Can't update CWP
Post by: pixelpadre on May 13, 2019, 04:55:15 PM
I HAD THE SAME PROBLEM.  TURNED CSF OFF AND IT UPDATED PERFECTLY.
Title: Re: Can't update CWP
Post by: Igor S. on May 16, 2019, 07:51:13 AM
Hi, CSF has the control web panel IP allowed by default. Also, check if you do not use firewalld
Title: Re: Can't update CWP
Post by: Painkiller88 on March 13, 2021, 11:03:43 AM
Hi,

I also run into this Problem right now but i figured out what the problem was.

As i had many hacking attempts from France i blocked france in the county block list.

After that, no updates from CWP and also i couldn't load the mod_security module from inside the admin Panel.

As it was the last thing i changed, i removed FR from the list, and everything is working again.

So i checked the ip of centos-webpanel.com and recorgnized it is in france :D

So this explains a lot.


Maybe this could help if someone will have the same problem in the future.