Hi All,
When upgrading NAGIOS via web GUI or terminal we are getting below error:
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
tar: /usr/local/nagios/share/perfdata/WINFILESRV12.inside.exide.ad: file changed as we read it
tar: /usr/local/nagios/share/perfdata/SPCARTUJA1.inside.exide.ad: file changed as we read it
tar: /usr/local/nagios/share/perfdata/DEBUPRO01.inside.exide.ad/Ping.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/DEBUPRO01.inside.exide.ad: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup..tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
No entry for terminal type "unknown";
using dumb terminal settings.
Nagios XI Upgrade Log
==========================
DATE: Mon Feb 3 10:23:34 EST 2020
DISTRO INFO:
CentOS
6.6
x86_64
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 414
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel-debuginfo. Please verify its path and try again
Could not get metalink https://mirrors.fedoraproject.org/metal ... rch=x86_64 error was
14: Peer cert cannot be verified or peer cert invalid
---------------------------------------------------------------------------------------------------------------------------------------
Latest Available Version: 5.6.10
Installed Version: 2014R2.5
Last Update Check: 2020-02-02 21:48:01
Thanks in advance for your help!
Exidesupport
Error: Cannot retrieve repository metadata (repomd.xml)
-
exidesupport
- Posts: 7
- Joined: Wed Nov 08, 2017 8:07 am
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error: Cannot retrieve repository metadata (repomd.xml)
Hi @exidesupport,
Thanks for posting the log. It not able to connect to the epel repo over SSL. Try changing the connection for the yum repository from https to http.
Edit the metalink= definition from https to http and let me know if you're able to upgrade. If not please, upload the log again with errors.
See:
https://my.esecuredata.com/index.php?/k ... itory-epel
Thanks for posting the log. It not able to connect to the epel repo over SSL. Try changing the connection for the yum repository from https to http.
Code: Select all
cd /etc/yum.repos.d/
#make a backup of the file before changing
cp epel.repo epel.repo.backup
vi epel.repo
See:
https://my.esecuredata.com/index.php?/k ... itory-epel
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error: Cannot retrieve repository metadata (repomd.xml)
Hello,
I noticed you have a ticket open for this issue. If you're still having trouble, please post this to the ticket. Thanks.
I noticed you have a ticket open for this issue. If you're still having trouble, please post this to the ticket. Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
exidesupport
- Posts: 7
- Joined: Wed Nov 08, 2017 8:07 am
Re: Error: Cannot retrieve repository metadata (repomd.xml)
Hi benjaminsmith,
I have removed the s from the https metalink and also added the contents epel.repo on the ticket.
Still getting error. I have added the error log on the ticket.
Thanks
exidesupport
I have removed the s from the https metalink and also added the contents epel.repo on the ticket.
Still getting error. I have added the error log on the ticket.
Thanks
exidesupport
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error: Cannot retrieve repository metadata (repomd.xml)
Hello exidesupport,
Thank you. I'll close this post and we'll follow up in the ticket shortly.
Thank you. I'll close this post and we'll follow up in the ticket shortly.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!