yum failed 6 times. Cannot continue!

aiden_g_1234

Active Member
Feb 7, 2012
31
0
56
cPanel Access Level
Root Administrator
Hello whenever i try to install cPanel i keep getting this error


Code:
2012-03-15 03:47:52  260 (FATAL): yum failed 6 times.  Cannot continue!
Removing /root/installer.lock
I have tried

Code:
yum update

But it still didnt work :S
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Are you receiving any other error when you run "yum update" than you've provided? Also, is there any error in /usr/local/cpanel/logs/error_log (if the installation is going far enough to create that log file).

I do see a recent ticket around the time of your forum post (2410458) that shows these errors when running "yum update" and with the same failure message for cPanel installation:

http://mirror.centos.org/centos/5/addons/i386/repodata/primary.sqlite.bz2: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.centos.org/centos/5/addons/i386/repodata/primary.sqlite.bz2: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from addons: [Errno 256] No more mirrors to try.
You might need to check your firewall is shut off and that /etc/resolv.conf file contains public resolvers (such as 4.2.2.2 and 4.2.2.3 or 8.8.4.4 and 8.8.8.8) so that the CentOS mirrors are functioning to connect to them from your machine if the above is indeed your ticket and/or the issue you are having.
 

aiden_g_1234

Active Member
Feb 7, 2012
31
0
56
cPanel Access Level
Root Administrator
There is no log file in /usr/local/cpanel/logs/

When i run yum update this is what i get


Code:
Loaded plugins: fastestmirror, rhnplugin, security
Profilename: server.xxxxxx.net
Not licensed
This system is not registered with CLN.
CLN support will be disabled.
Loading mirror speeds from cached hostfile
Setting up Update Process
No Packages marked for Update





Here is the contents of /etc/resolv.conf


Code:
# Generated by NetworkManager
nameserver 83.142.86.120
nameserver 83.142.86.1
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 8.8.4.4
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please change to the following:

nameserver 8.8.8.8
nameserver 8.8.4.4

Comment out the other entries. Also, was the ticket I referenced your ticket or was it not your ticket?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please submit a ticket then for us to investigate. You can either use WHM > Support Center > Contact cPanel or you can use the link in my signature.

Thanks!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The support access ID should show up when you go to WHM > Support Center though? I see it there in my machine.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Ah, sorry, you aren't able to install cPanel so no WHM is available. Try to open the ticket without the support access ID by using the link. At the worst, it will end up in the wrong queue. You should still be able to create a ticket. Otherwise, send it to [email protected] and ask if they can forward it to the right department (and ensure to ensure the server's IP and password login credentials).