Page 1 of 1

Nagios Network Analyzer - update install error.

Posted: Tue Apr 14, 2020 6:42 am
by danniiffxi
Can anyone tell me why this is happening please? I am trying to upgrade from 2.4.0 to 2.4.1 and I get the following error.

Code: Select all

[root@nagios03 yum.repos.d]# sh ./upgrade.sh
check if /tmp/nagiosna exists
Downloading latest Nagios Network Analyzer release
--2020-04-14 12:26:56--  https://assets.nagios.com/downloads/nagios-network-anal                                                                  yzer/nagiosna-latest.tar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12033832 (11M) [application/x-gzip]
Saving to: “/tmp/nagiosna-latest.tar.gz”

100%[======================================>] 12,033,832  4.44M/s   in 2.6s

2020-04-14 12:26:59 (4.44 MB/s) - “/tmp/nagiosna-latest.tar.gz” saved [12033832/                                                                  12033832]

Running upgrade
PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/nagiosna/application/co                                                                  nfig/config.local.php on line 22
epel-release RPM installed OK
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.ukfast.co.uk
Package php-ldap-5.3.3-50.el6_10.x86_64 already installed and latest version
Package php-devel-5.3.3-50.el6_10.x86_64 already installed and latest version
Package bzip2-devel-1.0.5-7.el6_0.x86_64 already installed and latest version
Package php-devel-5.3.3-50.el6_10.x86_64 already installed and latest version
Package xorg-x11-fonts-75dpi-7.2-11.el6.noarch already installed and latest vers                                                                  ion
Package xorg-x11-fonts-Type1-7.2-11.el6.noarch already installed and latest vers                                                                  ion
Package libjpeg-turbo-1.2.1-3.el6_5.x86_64 already installed and latest version
Package dejavu-sans-fonts-2.33-1.el6.noarch already installed and latest version
Package dejavu-serif-fonts-2.33-1.el6.noarch already installed and latest versio                                                                  n
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-4.el6 will be updated
---> Package php-mcrypt.x86_64 0:5.3.3-5.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch            Version                Repository     Size
================================================================================
Updating:
 php-mcrypt          x86_64          5.3.3-5.el6            epel           19 k

Transaction Summary
================================================================================
Upgrade       1 Package(s)

Total download size: 19 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : php-mcrypt-5.3.3-5.el6.x86_64                                1/2
  Cleanup    : php-mcrypt-5.3.3-4.el6.x86_64                                2/2
  Verifying  : php-mcrypt-5.3.3-5.el6.x86_64                                1/2
  Verifying  : php-mcrypt-5.3.3-4.el6.x86_64                                2/2

Updated:
  php-mcrypt.x86_64 0:5.3.3-5.el6

Complete!
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.ukfast.co.uk
Warning: Group Chinese Support does not exist.
Warning: Group Japanese Support does not exist.
Warning: Group Russian Support does not exist.
Error: Nothing to do


Thank you in advance

Re: Nagios Network Analyzer - update install error.

Posted: Tue Apr 14, 2020 11:23 am
by ssax
What do these output?

Code: Select all

yum repolist
yum grouplist

Re: Nagios Network Analyzer - update install error.

Posted: Wed Apr 15, 2020 3:19 am
by danniiffxi
Hi Ssax, here is the requested output! I hope this helps. The WW repo's are specific to our company.

Code: Select all

[root@nagios03 ~]# yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                      |  30 kB     00:00
 * epel: mirrors.ukfast.co.uk
repo id                            repo name                                                        status
WW-Base-OS                         CentOS-6 - Base-OS                                                6,713
WW-Point-in-Time                   CentOS-6 - Point-in-Time                                            812
epel                               Extra Packages for Enterprise Linux 6 - x86_64                   12,587
repolist: 20,112
[root@nagios03 ~]# yum grouplist
Loaded plugins: fastestmirror, security
Setting up Group Process
Loading mirror speeds from cached hostfile
 * epel: mirrors.ukfast.co.uk
Installed Groups:
   Development tools
   Electronic Lab
   Milkymist
   Scientific support
Available Groups:
   Backup Client
   Base
   Console internet tools
   E-mail server
   Educational Software
   Fedora Packager
   Fonts
   General Purpose Desktop
   Graphical Administration Tools
   Graphics Creation Tools
   Hardware monitoring utilities
   Haskell
   Internet Applications
   KDE Desktop
   Network Infrastructure Server
   Networking Tools
   Office Suite and Productivity
   Performance Tools
   Smart card support
   System administration tools
   Technical Writing
   TurboGears application framework
   Web Server
   Web Servlet Engine
   Xfce
Done

Re: Nagios Network Analyzer - update install error.

Posted: Wed Apr 15, 2020 11:37 am
by ssax
You will either need to make the groups available on your repos (recommended) or install these:

Code: Select all

[root@xi6 ~]# yum groupinfo 'Chinese Support' 'Japanese Support' 'Russian Support'
Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile
 * base: linux-mirrors.fnal.gov
 * extras: mirror.team-cymru.com
 * updates: mirror.genesisadaptive.com

Group: Chinese Support
 Language: zh
 Default Packages:
   cjkuni-ukai-fonts
   cjkuni-uming-fonts
   ibus-table-cangjie
   ibus-table-erbi
   ibus-table-wubi
   wqy-zenhei-fonts
 Optional Packages:
   cjkuni-fonts-ghostscript
 Conditional Packages:
   autocorr-zh
   eclipse-nls-zh
   eclipse-nls-zh_TW
   ibus-chewing
   ibus-pinyin
   kde-i18n-Chinese
   kde-i18n-Chinese-Big5
   kde-l10n-Chinese
   kde-l10n-Chinese-Traditional
   libreoffice-langpack-zh-Hans
   libreoffice-langpack-zh-Hant

Group: Japanese Support
 Language: ja
 Default Packages:
   ipa-gothic-fonts
   ipa-mincho-fonts
   ipa-pgothic-fonts
   ipa-pmincho-fonts
   vlgothic-fonts
   vlgothic-p-fonts
 Conditional Packages:
   autocorr-ja
   eclipse-nls-ja
   ibus-anthy
   kde-i18n-Japanese
   kde-l10n-Japanese
   libreoffice-langpack-ja
   man-pages-ja
   poppler-data

Group: Russian Support
 Language: ru
 Conditional Packages:
   autocorr-ru
   eclipse-nls-ru
   hunspell-ru
   hyphen-ru
   kde-i18n-Russian
   kde-l10n-Russian
   libreoffice-langpack-ru
   man-pages-ru
   mythes-ru
Or you can bypass it (not recommended but should work) by commenting out this line in the upgrade script:

Code: Select all

yum install -y '@Chinese Support' '@Japanese Support' '@Russian Support'

Re: Nagios Network Analyzer - update install error.

Posted: Thu Apr 16, 2020 9:42 am
by danniiffxi
Awesome, thank you ssax, i'll get on it right now :)

Re: Nagios Network Analyzer - update install error.

Posted: Thu Apr 16, 2020 1:25 pm
by ssax
Sounds good, we'll keep an eye out for your results.

Re: Nagios Network Analyzer - update install error.

Posted: Fri Apr 17, 2020 4:05 am
by danniiffxi
Hi ssax

upgrade successful, many thanks.

Feel free to lock this one :)

Re: Nagios Network Analyzer - update install error.

Posted: Fri Apr 17, 2020 7:08 am
by scottwilkerson
danniiffxi wrote:Hi ssax

upgrade successful, many thanks.

Feel free to lock this one :)
Great!

Locking thread