Author Topic: Error Update  (Read 10433 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error Update
« on: April 01, 2017, 04:46:10 PM »
Code: [Select]
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?

Offline
*****
Re: Error Update
« Reply #1 on: April 02, 2017, 11:02:31 AM »
run this command :

cat /etc/resolv.conf

and paste the output

Offline
*
Re: Error Update
« Reply #2 on: April 05, 2017, 01:33:01 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.

Code: [Select]
[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 ~]#

Offline
*
Re: Error Update
« Reply #3 on: April 05, 2017, 01:44:30 AM »
Error panel:

Code: [Select]
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