New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Error Update

Started by daniel muñoz, April 01, 2017, 04:46:10 PM

Previous topic - Next topic

daniel muñoz


yum update


Quote
[root@IPSERVER src]# yum update
Loaded plugins: fastestmirror, presto
Setting up Update Process
Determining fastest mirrors
* rpmforge: mirrors.ircam.fr
http://centos.mirrors.ovh.net/ftp.centos.org/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:41d0:1:c0c9::1: Network is unreachable"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

How can I fix this problem to update correctly?

Sandeep

run this command :

cat /etc/resolv.conf

and paste the output

daniel muñoz

Quote from: Sandeep on April 02, 2017, 11:02:31 AM
run this command :

cat /etc/resolv.conf

and paste the output

nameserver 127.0.0.1
nameserver 64.6.64.6


Another thing, when trying to update the cwp gives me the following errors.


[root@vps1174568 ~]# sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


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


######################
Update Server Packages
######################
PHP Warning:  [obfuscated](): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](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.php on line 0
PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](http://...@gmail.com&version=0.9.8.296&u=16&d=0&s=0): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  [obfuscated](): php_network_getaddresses: getaddrinfo failed: Name or service not known 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: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
You have new mail in /var/spool/mail/root
[root@vps1174568 ~]#


daniel muñoz

Error panel:


Warning: [obfuscated](): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=ads_all): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0