upcp error Updating system packages

ehallein

Registered
Jul 18, 2007
3
0
51
Hi,

I am getting the following error appearing during upcp, any ideas? running yum from command line works as normal. running centos 5.4

Updating system packages...Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 345, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, in
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
self._poll_mirrors()
File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
pollThread.start()
File "/usr/lib64/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

...Done


thanks
 

dezomat

Member
Jul 25, 2005
19
0
151
can't start new thread same problem here

I got the same problem. Running Centos also .. i guess it happend yesterday or so after the centos updates.


Updating system packages...Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 345, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, in
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
self._poll_mirrors()
File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
pollThread.start()
File "/usr/lib64/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

...Done
 

dezomat

Member
Jul 25, 2005
19
0
151
resolved

Found the problem -> yum problems with mirrors

Solution

Login

yum clean all


WHM -> upcp


done
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Please note that this is an issue with the OS package manager or components required for it to function properly; like up2date for RHEL, yum is the package manager for CentOS to manage installing, removing, updating, and upgrading the precompiled binary packages (RPMs) that comprise the applicable RPM-based Linux distribution.

Via root SSH access, the following commands should work for the most typical occurrences of the reported error assuming a more serious issue is not involved; clearing and then rebuilding the YUM cache is a common corrective measure for this type of temporary issue:
Code:
# yum clean all
# yum makecache
If the above completes successfully, I would also consider ensuring your OS is fully up-to-date after recovering from the temporary error:
Code:
# yum upgrade
If the above steps do not correct the issue please submit a ticket so we may inspect the specific circumstances involved; if possible, please PM me the ticket number so I may follow-up with this internally.
 

problemsolver

Member
Mar 1, 2007
5
0
151
errors

# yum makecache
Making cache files for all metadata files.
This may take a while depending on the speed of this computer
Setting up repositories
dag 100% |=========================| 1.1 kB 00:00
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
#

Any ideas why this would not work all of a sudden?
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Code:
# yum makecache
Making cache files for all metadata files.
This may take a while depending on the speed of this computer
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00     
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[url]http://httpupdate.cpanel.net/centos/4.8/updates/i386/repodata/repomd.xml:[/url] [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
#
Any ideas why this would not work all of a sudden?
To accurately troubleshoot the specific issue from the provided log detail and suggest a proper resolution we will need some additional information as detailed below.

Via root SSH access, please run the following commands and provide the resulting output:
Code:
# cat /etc/yum.conf
# ls -al /etc/yum.repos.d
# grep -HinR "^mirrorlist\|^baseurl" /etc/yum.repos.d
 

hifi_ninja

Member
Jul 8, 2006
11
0
151
To accurately troubleshoot the specific issue from the provided log detail and suggest a proper resolution we will need some additional information as detailed below.

Via root SSH access, please run the following commands and provide the resulting output:
Code:
# cat /etc/yum.conf
# ls -al /etc/yum.repos.d
# grep -HinR "^mirrorlist\|^baseurl" /etc/yum.repos.d
I'm with the same problem.
Below is my resulting output:

Code:
cat /etc/yum.conf
#/etc/yum.conf Jan/2/2005 [email protected]

[main]
exclude=apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Base
baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/os/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/os/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/os/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/os/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/os/$basearch

[updates]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Updates
baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/updates/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/updates/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/updates/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/updates/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/updates/$basearch

[addons]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Addons
Baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/addons/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/addons/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/addons/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/addons/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/addons/$basearch

[extras]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Extras
baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/extras/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/extras/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/extras/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/extras/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/extras/$basearch
----

Code:
ls -al /etc/yum.repos.d
total 40
drwxr-xr-x   2 root root  4096 Oct 10  2008 .
drwxr-xr-x  82 root root 12288 Aug 25 21:00 ..
-rw-r--r--   1 root root  2490 Jul 26  2008 CentOS-Base.repo
-rw-r--r--   1 root root   610 Jul 26  2008 CentOS-Media.repo
-rw-r--r--   1 root root  2203 Mar 30  2005 LayeredTech.repo
----

Code:
grep -HinR "^mirrorlist\|^baseurl" /etc/yum.repos.d
/etc/yum.repos.d/CentOS-Base.repo:16:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
/etc/yum.repos.d/CentOS-Base.repo:26:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
/etc/yum.repos.d/CentOS-Base.repo:36:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
/etc/yum.repos.d/CentOS-Base.repo:46:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
/etc/yum.repos.d/CentOS-Base.repo:56:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
/etc/yum.repos.d/CentOS-Base.repo:67:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
/etc/yum.repos.d/LayeredTech.repo:15:baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/os/$basearch
/etc/yum.repos.d/LayeredTech.repo:24:baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/updates/$basearch
/etc/yum.repos.d/LayeredTech.repo:33:Baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/addons/$basearch
/etc/yum.repos.d/LayeredTech.repo:42:baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/extras/$basearch
/etc/yum.repos.d/CentOS-Media.repo:16:baseurl=file:///media/cdrom/
 
Last edited by a moderator:

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
I'm with the same problem.
Below is my resulting output:

Code:
cat /etc/yum.conf
#/etc/yum.conf Jan/2/2005 [email protected]

[main]
exclude=apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Base
baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/os/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/os/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/os/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/os/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/os/$basearch

[updates]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Updates
baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/updates/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/updates/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/updates/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/updates/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/updates/$basearch

[addons]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Addons
Baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/addons/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/addons/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/addons/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/addons/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/addons/$basearch

[extras]
failovermethod=priority
name=Centos-$releasever - $basearch/$arch - Extras
baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/extras/$basearch
        http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/$releasever/extras/$basearch
        http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/$releasever/extras/$basearch
        http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/$releasever/extras/$basearch
        http://acmserver.cs.ucr.edu/centos/centos-4/$releasever/extras/$basearch
----

Code:
ls -al /etc/yum.repos.d
total 40
drwxr-xr-x   2 root root  4096 Oct 10  2008 .
drwxr-xr-x  82 root root 12288 Aug 25 21:00 ..
-rw-r--r--   1 root root  2490 Jul 26  2008 CentOS-Base.repo
-rw-r--r--   1 root root   610 Jul 26  2008 CentOS-Media.repo
-rw-r--r--   1 root root  2203 Mar 30  2005 LayeredTech.repo
----

Code:
grep -HinR "^mirrorlist\|^baseurl" /etc/yum.repos.d
/etc/yum.repos.d/CentOS-Base.repo:16:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
/etc/yum.repos.d/CentOS-Base.repo:26:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
/etc/yum.repos.d/CentOS-Base.repo:36:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
/etc/yum.repos.d/CentOS-Base.repo:46:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
/etc/yum.repos.d/CentOS-Base.repo:56:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
/etc/yum.repos.d/CentOS-Base.repo:67:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
/etc/yum.repos.d/LayeredTech.repo:15:baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/os/$basearch
/etc/yum.repos.d/LayeredTech.repo:24:baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/updates/$basearch
/etc/yum.repos.d/LayeredTech.repo:33:Baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/addons/$basearch
/etc/yum.repos.d/LayeredTech.repo:42:baseurl=http://linux.mirrors.layeredtech.com/centos/$releasever/extras/$basearch
/etc/yum.repos.d/CentOS-Media.repo:16:baseurl=file:///media/cdrom/
Based on the provided output I would venture to guess that your system YUM configuration may have duplicate repositories installed.

While the command-line output from configurations is helpful, it is not immediately indicative of the specific symptoms or issues that are being experienced. Please provide the full error detail that you are seeing.

What corrective measures, if any, have you attempted? Please try the suggestions provided earlier in this thread.

Before modifying any configuration files, please save a fresh backup copy; here is an example of how to accomplish that:
Code:
# cp -av /etc/yum /etc/yum.backup.$(date -u +%Y%m%d%H%M%S%Z)
# cp -av /etc/yum.conf /etc/yum.conf.backup.$(date -u +%Y%m%d%H%M%S%Z)
# cp -av /etc/yum.repos.d /etc/yum.repos.d.backup.$(date -u +%Y%m%d%H%M%S%Z)
If you wanted to try disabling one or more repositories, simply change "enabled=1" to "enabled=0" within the applicable configuration file.
 

hifi_ninja

Member
Jul 8, 2006
11
0
151
Based on the provided output I would venture to guess that your system YUM configuration may have duplicate repositories installed.

While the command-line output from configurations is helpful, it is not immediately indicative of the specific symptoms or issues that are being experienced. Please provide the full error detail that you are seeing.

What corrective measures, if any, have you attempted? Please try the suggestions provided earlier in this thread.

Before modifying any configuration files, please save a fresh backup copy; here is an example of how to accomplish that:
Code:
# cp -av /etc/yum /etc/yum.backup.$(date -u +%Y%m%d%H%M%S%Z)
# cp -av /etc/yum.conf /etc/yum.conf.backup.$(date -u +%Y%m%d%H%M%S%Z)
# cp -av /etc/yum.repos.d /etc/yum.repos.d.backup.$(date -u +%Y%m%d%H%M%S%Z)
If you wanted to try disabling one or more repositories, simply change "enabled=1" to "enabled=0" within the applicable configuration file.
Before I posted the previous post here I tried this:
# yum clean all
# yum makecache

But the problem remais...
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Before I posted the previous post here I tried this:
# yum clean all
# yum makecache

But the problem remais...
Please provide the full error detail that you are seeing; this information will help greatly.
 

hifi_ninja

Member
Jul 8, 2006
11
0
151
Please provide the full error detail that you are seeing; this information will help greatly.
via browser I got this errors/msgs and get stuck on 20% of the process:

cPanel Update
Updating FTP Server

Main
cPanel/WHM Update

Running Futex Check/Fix......Done



Updating /scripts...
Sync Source: http://httpupdate.cpanel.net/RELEASE/Cpanel
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/Cpanel/.cpanelsync.lock (0)[email protected]
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/Cpanel/.cpanelsync.bz2 (1)[email protected]%......Done
Sync Source: http://httpupdate.cpanel.net/RELEASE/scripts
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.lock (0)[email protected]
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.bz2 (1)[email protected]%......Done
...Done



Checking for main ip changes......Done



Checking mySQL to ensure we can connect......Done



Sending usage data (if enabled)...Anonymous usage data accepted [41].
...Done



Validating cPanel system users...Homedir: /usr/local/cpanel
...Done



Updating email whitelists......Done



Checking and Repairing System Package Setup......Done



Running Platform Specific Optimizations......Done



Checking and Repairing Nameserver Config......Done



Setting up ip startup......Done



Configuring editors......Done



Creating symlinks for common binaries......Done



Setting Clock...rdate: timeout for rdate.cpanel.net
...Done



Running Env Auto Repair...quota test: check passed (the repquota signal was 0 [ok])
Requesting script ... Done
Auto Repair is running...Running Auto Repair routines
Finished running Auto Repair routines
...Auto Repair is done.
...Done



Running Cleanups...Found hostname to be servidor2.pag1.com.br, which resolves to 72.232.199.90
Hostname Virtual Host is already setup
...Done



Updating services & databases...PHP version file has been updated to 5.2.6
Building global cache for cpanel...Done
Ftp Quota Check v1.7
Updating iconeti: ...Done
Updating casadosi: ...Done
Updating planet: ...Done
Updating oswaldin: ...Done
Updating deltacon: ...Done
Updating pag1: ...Done
Updating rvadmin: ...Done
Updating sullack: ...Done
Updating dkohl: ...Done
Updating securervskin: ...Done
...Done


Doing a manual update... Cpanel updates are coming from layer2.cpanel.net

Setting Up Crontab......Done



Setting Up update_db_cache Crontab......Done



Setting Up optimizefs Crontab......Done



Setting Up dcpumon Crontab......Done



Repairing Mailman Permissions......Done



Running Sanity Checks & Notifications...Using smartcheck config 5.x for smartctl(5.33)
Checking /dev/sda....
Errors:
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
190 Unknown_Attribute 0x0022 065 045 045 Old_age Always In_the_past 35

...Done



Running Named Checks......Done



Updating Virus Patterns......Done



Updating FTP Server...Ftp Setup Script Version 6.1
Fetching version information from http://httpupdate.cpanel.net/ftpinstall/version (RELEASE)....Fetching http://httpupdate.cpanel.net/ftpinstall/version (0)[email protected]%......Done
Done
This is the pure-ftpd 1.0.27 installer release number 1.tls for platform centos 4.7
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
http://linux.mirrors.layeredtech.com/centos/4/extras/i386/repodata/repomd.xml: [Errno 12] Timeout:
Trying other mirror.
http://ibiblio.org/pub/linux/distributions/caoslinux/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://www.gtlib.cc.gatech.edu/pub/cAos/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.cs.wisc.edu/pub/mirrors/linux/caosity.org/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://acmserver.cs.ucr.edu/centos/centos-4/4/extras/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: extras
failure: repodata/repomd.xml from extras: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from extras: [Errno 256] No more mirrors to try.
Setting up Install Process
Setting up repositories
Resetting pure-ftpd to cPanel Defaults and Installing the Latest Version
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Bad mirrors

This indicates that the files in /etc/yum.repos.d contain mirrors that are not answering as expected. Specifically, the "404: Not Found" means that the mirror server does not contain the files that yum is trying to download.

If running the following:

Code:
# yum clean all
does not correct the problem, then you will need to review the files in /etc/yum.repos.d and make sure that they contain lists of mirrors that are valid. I recommend contacting your service provider to see if they have mirrors available for your use, or if they can recommend mirrors to use.