Upgrade Failing Primary DB Update
Upgrade Failing Primary DB Update
sorry for the multiple threads, but having another issue during the upgrade process:
./upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metal ... rch=x86_64 error was
14: problem making ssl connection
* base: mirror.cs.pitt.edu
* epel: mirror.cs.pitt.edu
* extras: repo1.ash.innoscale.net
* updates: mirror.cs.pitt.edu
updates | 3.4 kB 00:00
updates/primary_db | 743 kB 00:00
Error: database disk image is malformed
[root@nagiosna nagiosna]# yum clean dbcache
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
6 sqlite files removed
./upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metal ... rch=x86_64 error was
14: problem making ssl connection
* base: mirror.cs.pitt.edu
* epel: mirror.cs.pitt.edu
* extras: repo1.ash.innoscale.net
* updates: mirror.cs.pitt.edu
base/primary_db | 4.7 MB 00:00
http://mirror.cs.pitt.edu/epel/6/x86_64 ... sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
...
Error: failure: repodata/8eb7c99cc002cd29a3b17434790759dd400f1f3fc5984697b1baf0a86cf9704a-primary.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.
thank you!
./upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metal ... rch=x86_64 error was
14: problem making ssl connection
* base: mirror.cs.pitt.edu
* epel: mirror.cs.pitt.edu
* extras: repo1.ash.innoscale.net
* updates: mirror.cs.pitt.edu
updates | 3.4 kB 00:00
updates/primary_db | 743 kB 00:00
Error: database disk image is malformed
[root@nagiosna nagiosna]# yum clean dbcache
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
6 sqlite files removed
./upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metal ... rch=x86_64 error was
14: problem making ssl connection
* base: mirror.cs.pitt.edu
* epel: mirror.cs.pitt.edu
* extras: repo1.ash.innoscale.net
* updates: mirror.cs.pitt.edu
base/primary_db | 4.7 MB 00:00
http://mirror.cs.pitt.edu/epel/6/x86_64 ... sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
...
Error: failure: repodata/8eb7c99cc002cd29a3b17434790759dd400f1f3fc5984697b1baf0a86cf9704a-primary.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.
thank you!
Re: Upgrade Failing Primary DB Update
Try running a
to clear out everything and try it again.
Some times you have to clean everything.
Code: Select all
yum clean all
Some times you have to clean everything.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Failing Primary DB Update
If issue persists after tgriep's suggestion, can you let us know what version of CentOS you're running?
cat /etc/centos-release
And, is this by any chance an i386 system?
I ask as I came across this forum:
https://www.centos.org/forums/viewtopic.php?f=13&t=1587
- thanks -
cat /etc/centos-release
And, is this by any chance an i386 system?
I ask as I came across this forum:
https://www.centos.org/forums/viewtopic.php?f=13&t=1587
- thanks -
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Upgrade Failing Primary DB Update
# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@nagiosna nagiosna]# ./upgrade
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@nagiosna nagiosna]# cat /etc/centos-release
CentOS release 6.5 (Final)
server is i386
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@nagiosna nagiosna]# ./upgrade
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@nagiosna nagiosna]# cat /etc/centos-release
CentOS release 6.5 (Final)
server is i386
Re: Upgrade Failing Primary DB Update
Thanks - I think were getting close. Can you post the output of these two cmds?
Code: Select all
cat /etc/yum.repos.d/epel.repo
yum repolist
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Upgrade Failing Primary DB Update
np, always appreciate the help!
[root@nagiosna nagiosna]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/e ... arch/debug
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[root@nagiosna nagiosna]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@nagiosna nagiosna]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/e ... arch/debug
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[root@nagiosna nagiosna]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Re: Upgrade Failing Primary DB Update
If could be other issues like a proxy server or that the system is being blocked by a firewall, do you know if that is true?
Also, take a look at this link for more ideas you can try and resolve the issue.
http://stackoverflow.com/questions/2673 ... y-its-path
Also, take a look at this link for more ideas you can try and resolve the issue.
http://stackoverflow.com/questions/2673 ... y-its-path
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Failing Primary DB Update
this worked:
vi /etc/yum.repos.d/epel.repo
change urls from: mirrorlist=https://mirrors.fedora... to: mirrorlist=http://mirrors.fedora...
afterwards, i started the upgrade process and it seemed to complete, but the web interface is still the same version?
vi /etc/yum.repos.d/epel.repo
change urls from: mirrorlist=https://mirrors.fedora... to: mirrorlist=http://mirrors.fedora...
afterwards, i started the upgrade process and it seemed to complete, but the web interface is still the same version?
Re: Upgrade Failing Primary DB Update
Did you log out of the web interface and re-login to see if the version updated?
One thing to try is to restart the NagiosNA backend to see if it updates.
Login as root to the NA server and run the following to do that.
Let us know if this works.
One thing to try is to restart the NagiosNA backend to see if it updates.
Login as root to the NA server and run the following to do that.
Code: Select all
service nagiosna restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Failing Primary DB Update
web re-login hadnt worked and the service restart did not either