Nagios XI Installation error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
alexslchan
Posts: 1
Joined: Sun Feb 21, 2010 10:24 pm

Nagios XI Installation error

Post by alexslchan »

HI,

I try install Nagios into CentOS5.2 server (32-bits) by following "Nagios XI – Manual Installation Instructions"

./0-yum can install w/o any error
However, when run "./1-prereqs". below error got


Installed: phpmyadmin.noarch 0:2.11.10-2.el5.rf
Complete!
downloading HTML_Template_IT-1.2.1.tgz ...
Starting to download HTML_Template_IT-1.2.1.tgz (21,565 bytes)
........done: 21,565 bytes
install ok: channel://pear.php.net/HTML_Template_IT-1.2.1
Error: Need to pass a list of pkgs to install
usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >

options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-q, --quiet quiet operation
-v, --verbose verbose operation
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
-x [package], --exclude=[package]
exclude package(s) by name or glob
--disableexcludes=[repo]
disable exclude from main, for a repo or for
everything
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
--nogpgcheck disable gpg signature checking
--disableplugin=[plugin]
disable plugins by name
Error: Need to pass a list of pkgs to install
usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >

options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time


Afterbb further checked, it fail to run below command in the script

# Perl requirements for WebInjet, other plugins, etc.
yumperlget "HTTP::Cookies"
yumperlget "HTTP::Request::Common"
yumperlget "Time::HiRes"
yumperlget "Getopt::Long"
yumperlget "Error"
yumperlget "Crypt::SSLeay"
yumperlget "XML::Simple"
yumperlget "XML::Parser"
yumperlget "DBD::mysql"
yumperlget "DBD::ODBC"
yumperlget "Mail::POP3Client"
yumperlget "Net::SMTP"
yumperlget "Net::SMTP::TLS"
yumperlget "DBD::Sybase"

May i know how to solve the problem?
Many thanks
Alex
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Nagios XI Installation error

Post by mmestnik »

I'm working with CentOS5.4, perhaps some of the pkg names have /not-been/ changed. The distribution is source, so if you get all the correct pkgs installed and they are new enough to have the features Nagios XI uses, this should be possible.

You may have to install some pkgs from 5.4 to get features missing in 5.2
Locked