Nagios Network Analyzer - update install error.

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Nagios Network Analyzer - update install error.

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Network Analyzer - update install error.

Post by ssax »

What do these output?

Code: Select all

yum repolist
yum grouplist
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Nagios Network Analyzer - update install error.

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Network Analyzer - update install error.

Post 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'
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Nagios Network Analyzer - update install error.

Post by danniiffxi »

Awesome, thank you ssax, i'll get on it right now :)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Network Analyzer - update install error.

Post by ssax »

Sounds good, we'll keep an eye out for your results.
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Nagios Network Analyzer - update install error.

Post by danniiffxi »

Hi ssax

upgrade successful, many thanks.

Feel free to lock this one :)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Network Analyzer - update install error.

Post by scottwilkerson »

danniiffxi wrote:Hi ssax

upgrade successful, many thanks.

Feel free to lock this one :)
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked