Page 1 of 1

Trying to Install 2024R1.1.2 on centos 9

Posted: Thu Sep 12, 2024 3:32 pm
by JohnFLi
I have a new centos 9 machine I created and yum update -y says there is nothing to do

next

Code: Select all

 yum install -y httpd php gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel xinetd unzip
Last metadata expiration check: 0:03:42 ago on Thu 12 Sep 2024 04:25:20 PM EDT.
Package glibc-2.34-122.el9.x86_64 is already installed.
Package glibc-common-2.34-122.el9.x86_64 is already installed.
Package gd-2.3.2-3.el9.x86_64 is already installed.
No match for argument: xinetd
Package unzip-6.0-57.el9.x86_64 is already installed.
Error: Unable to find a match: xinetd
after that i do ./fullinstall and get the following errors

Code: Select all

 ./fullinstall
Last metadata expiration check: 0:04:03 ago on Thu 12 Sep 2024 04:25:20 PM EDT.
Error:
 Problem 1: conflicting requests
  - nothing provides libgcrypt.so.11()(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libgcrypt.so.11(GCRYPT_1.2)(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libgnutls.so.28()(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libgnutls.so.28(GNUTLS_1_4)(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libgnutls.so.28(GNUTLS_2_10)(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libgnutls.so.28(GNUTLS_2_12)(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libgnutls.so.28(GNUTLS_3_0_0)(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libncurses.so.5()(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libreadline.so.6()(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
  - nothing provides libtinfo.so.5()(64bit) needed by freetds-0.95.81-1.el7.x86_64 from @commandline
 Problem 2: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by libc-client-2007f-16.el7.x86_64 from @commandline
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by libc-client-2007f-16.el7.x86_64 from @commandline
  - nothing provides libssl.so.10()(64bit) needed by libc-client-2007f-16.el7.x86_64 from @commandline
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by libc-client-2007f-16.el7.x86_64 from @commandline
 Problem 3: conflicting requests
  - nothing provides libunistring.so.0()(64bit) needed by libidn2-2.0.4-4.el7.x86_64 from @commandline
 Problem 4: conflicting requests
  - nothing provides ntp needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides policycoreutils-python needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides chromium needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides chromium-headless needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides mailx needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides perl-DateTime needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides perl-Class-Singleton needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides perl-Params-Validate needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides xinetd needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides php-mysql needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides ipa-gothic-fonts needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides ipa-mincho-fonts needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides ipa-pgothic-fonts needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides ipa-pmincho-fonts needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
  - nothing provides perl(Crypt::SSLeay) needed by nagiosxi-2024R1.1.2-1.el7.x86_64 from @commandline
 Problem 5: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Class-Accessor-0.34-12.el7.noarch from @commandline
 Problem 6: conflicting requests
  - nothing provides perl(IO::Scalar) >= 2.109 needed by perl-Config-IniFiles-2.79-1.el7.noarch from @commandline
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Config-IniFiles-2.79-1.el7.noarch from @commandline
 Problem 7: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Crypt-Rijndael-1.12-1.el7.x86_64 from @commandline
 Problem 8: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Mail-IMAPClient-3.37-1.el7.noarch from @commandline
  - nothing provides perl(Parse::RecDescent) needed by perl-Mail-IMAPClient-3.37-1.el7.noarch from @commandline
 Problem 9: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Mail-POP3Client-2.19-5.el7.noarch from @commandline
 Problem 10: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Math-Calc-Units-1.07-9.el7.noarch from @commandline
 Problem 11: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch from @commandline
  - nothing provides perl(Config::Tiny) needed by perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch from @commandline
  - nothing provides perl(Params::Validate) needed by perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch from @commandline
 Problem 12: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Net-SMTP-TLS-0.12-1.of.el7.noarch from @commandline
 Problem 13: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Net-SNMP-6.0.1-7.el7.noarch from @commandline
  - nothing provides perl(Crypt::DES) needed by perl-Net-SNMP-6.0.1-7.el7.noarch from @commandline
 Problem 14: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by perl-Number-Format-1.73-14.el7.noarch from @commandline
 Problem 15: conflicting requests
  - nothing provides php(zend-abi) = 20100525-64 needed by php-imap-5.4.16-7.el7.x86_64 from @commandline
  - nothing provides php(api) = 20100412-64 needed by php-imap-5.4.16-7.el7.x86_64 from @commandline
  - nothing provides libcrypto.so.10()(64bit) needed by php-imap-5.4.16-7.el7.x86_64 from @commandline
  - nothing provides libssl.so.10()(64bit) needed by php-imap-5.4.16-7.el7.x86_64 from @commandline
 Problem 16: conflicting requests
  - nothing provides php(zend-abi) = 20100525-64 needed by php-mcrypt-5.4.16-7.el7.x86_64 from @commandline
  - nothing provides php(api) = 20100412-64 needed by php-mcrypt-5.4.16-7.el7.x86_64 from @commandline
 Problem 17: conflicting requests
  - nothing provides php(zend-abi) = 20100525-64 needed by php-mssql-5.4.16-7.el7.x86_64 from @commandline
  - nothing provides php(api) = 20100412-64 needed by php-mssql-5.4.16-7.el7.x86_64 from @commandline
  - nothing provides php(pdo-abi) = 20080721-64 needed by php-mssql-5.4.16-7.el7.x86_64 from @commandline
 Problem 18: conflicting requests
  - nothing provides php(zend-abi) = 20100525-64 needed by php-pecl-ssh2-0.12-1.el7.x86_64 from @commandline
  - nothing provides php(api) = 20100412-64 needed by php-pecl-ssh2-0.12-1.el7.x86_64 from @commandline
  - nothing provides libssh2.so.1()(64bit) needed by php-pecl-ssh2-0.12-1.el7.x86_64 from @commandline
 Problem 19: conflicting requests
  - nothing provides python(abi) = 2.7 needed by python-bson-2.5.2-4.el7.x86_64 from @commandline
  - nothing provides libpython2.7.so.1.0()(64bit) needed by python-bson-2.5.2-4.el7.x86_64 from @commandline
 Problem 20: conflicting requests
  - nothing provides python(abi) = 2.7 needed by python-pymongo-2.5.2-4.el7.x86_64 from @commandline
  - nothing provides libpython2.7.so.1.0()(64bit) needed by python-pymongo-2.5.2-4.el7.x86_64 from @commandline
  - nothing provides python-backports-ssl_match_hostname needed by python-pymongo-2.5.2-4.el7.x86_64 from @commandline
 Problem 21: conflicting requests
  - nothing provides python(abi) = 2.7 needed by python-pymssql-2.1.1-1.el7.x86_64 from @commandline
  - nothing provides libpython2.7.so.1.0()(64bit) needed by python-pymssql-2.1.1-1.el7.x86_64 from @commandline
 Problem 22: conflicting requests
  - nothing provides python(abi) = 2.7 needed by python-simplejson-3.3.3-1.el7.x86_64 from @commandline
  - nothing provides libpython2.7.so.1.0()(64bit) needed by python-simplejson-3.3.3-1.el7.x86_64 from @commandline
 Problem 23: conflicting requests
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by rrdtool-perl-1.4.9-1.el7.x86_64 from @commandline
 Problem 24: conflicting requests
  - nothing provides python(abi) = 2.7 needed by rrdtool-python-1.4.9-1.el7.x86_64 from @commandline
  - nothing provides libpython2.7.so.1.0()(64bit) needed by rrdtool-python-1.4.9-1.el7.x86_64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
any ideas on how to fix this??

Re: Trying to Install 2024R1.1.2 on centos 9

Posted: Fri Sep 13, 2024 9:58 am
by bbahn
Hello @JohnFLi,

Have you tried re-running the install script? We have noticed that every so often, the mirrors get bungled and will usually be solved by trying to re-run the script once or twice. Let me know if that doesn't work.

Re: Trying to Install 2024R1.1.2 on centos 9

Posted: Fri Sep 13, 2024 1:59 pm
by JohnFLi
Thank you for your reply.
The document i went by is: https://assets.nagios.com/downloads/nag ... onment.pdf

I have tried running ./fullinstall several times. it just fails faster the second (and more) time

Re: Trying to Install 2024R1.1.2 on centos 9

Posted: Fri Sep 13, 2024 2:14 pm
by JohnFLi
The version i was trying to use was
nagiosxi-2024R1.1.2-1.el7.x86_64.tar.gz
since I got the errors, I deleted teh nagiosxi directroy and tried
nagiosxi-2024R1.1.2-1.el8.x86_64.tar.gz
same issue
deleted the nagiosxi directory
and tried
nagiosxi-2024R1.1.2-1.el9.x86_64.tar.gz
That one is doing it's thing and appears to be happy so far......

Ok, it completed....
so the next issue.
I created a backup from the original NagiosXI system
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

backed up just fine....copied backup file over to new
and do teh restore command in the above pdf file, and I get this
WARNING: you are trying to restore a el7 backup on a el9 system
ok, so I put
nagiosxi-2024R1.1.2-1.el9.x86_64.tar.gz
on the original nagios and tell it to ./upgrade

now it says

Code: Select all

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
epel/x86_64/metalink                                                                                                                                                                   | 5.1 kB  00:00:00
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
 * base: mirror.fcix.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.keystealth.org
 * remi-php72: cdn.centos.no
 * remi-php74: cdn.centos.no
 * remi-safe: cdn.centos.no
 * updates: mirrors.vcea.wsu.edu
http://veronanetworks.mm.fcix.net/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://mirror.web-ster.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.net.cen.ct.gov/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://nc-centos-mirror.iwebfusion.net/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.wdc2.us.leaseweb.net/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mnvoip.mm.fcix.net/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://la.mirrors.clouvider.net/CentOS/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.raystedman.org/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.fcix.net/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.team-cymru.com/CentOS/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ziply.mm.fcix.net/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Error: Package: nagiosxi-nagioscore-2024R1.1.2-1.el9.x86_64 (/nagiosxi-nagioscore-2024R1.1.2-1.el9.x86_64)
           Requires: mysql-server
Error: Package: nagiosxi-2024R1.1.2-1.el9.x86_64 (/nagiosxi-2024R1.1.2-1.el9.x86_64)
           Requires: mysql-server
Error: Package: nagiosxi-2024R1.1.2-1.el9.x86_64 (/nagiosxi-2024R1.1.2-1.el9.x86_64)
           Requires: python3-rrdtool
Error: nagiosxi-nxti conflicts with snmptt-1.4.2-1.el7.noarch
Error: Package: nagiosxi-2024R1.1.2-1.el9.x86_64 (/nagiosxi-2024R1.1.2-1.el9.x86_64)
           Requires: compat-openssl11
Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el7.x86_64
Error: Package: nagiosxi-2024R1.1.2-1.el9.x86_64 (/nagiosxi-2024R1.1.2-1.el9.x86_64)
           Requires: libpq
Error: Package: nagiosxi-ndoutils-2024R1.1.2-1.el9.x86_64 (/nagiosxi-ndoutils-2024R1.1.2-1.el9.x86_64)
           Requires: mysql-server
Error: Package: nagiosxi-2024R1.1.2-1.el9.x86_64 (/nagiosxi-2024R1.1.2-1.el9.x86_64)

Re: Trying to Install 2024R1.1.2 on centos 9

Posted: Mon Sep 16, 2024 12:58 pm
by jmichaelson
Hi, John. This is something that I'd expect on a Centos 7 system, since the Centos 7 mirrors have all been shut down, with Cent7 having gone End of Life.

If you have a look at the video that is linked in the Backup/Restore document you mentioned, it is set to do exactly what you're trying to do: restore an EL 7 backup onto an EL 9 system. Did you just let the restore stop when you got the warning message? Try following through with it.

Re: Trying to Install 2024R1.1.2 on centos 9

Posted: Tue Sep 17, 2024 1:22 pm
by JohnFLi
I forget the exact message, but at the very end, it said something about not able to find mysql.

Been thinking about using one of my Support issues. I don't really know linux based items so i have no idea if there is just some basic items im missing.

Re: Trying to Install 2024R1.1.2 on centos 9

Posted: Tue Sep 17, 2024 2:20 pm
by jmichaelson
That might be your best option. They have some tools to help with these kinds of issues.