Page 1 of 1

I have an Installation Problem with Nagios XI, I need help

Posted: Tue Oct 25, 2011 1:51 pm
by maxippm
Dear,

In first place I'm sorry for my english, I'm from Argentina and I have the next problem:

When I try execute the manual installation command ./fullinstall to install Nagios XI under clean CentOS 6 the system show me INSTALLATION ERROR! and stop them. I try execute again, how this video (http://www.youtube.com/watch?v=Ht9JF3XswLU) but I have the same error.

This is the tail of the install.log.

Finished Dependency Resolution
Error: Package: php-mssql-5.3.3-1.el6.i686 (epel)
Requires: php-pdo >= 5.3.3
Available: php-pdo-5.3.2-6.el6.i686 (base)
php-pdo = 5.3.2-6.el6
Installing: php-pdo-5.3.2-6.el6_0.1.i686 (updates)
php-pdo = 5.3.2-6.el6_0.1
Error: Package: php-mssql-5.3.3-1.el6.i686 (epel)
Requires: php-pdo >= 5.3.3
Available: php-pdo-5.3.2-6.el6.i686 (base)
php-pdo = 5.3.2-6.el6
Available: php-pdo-5.3.2-6.el6_0.1.i686 (updates)
php-pdo = 5.3.2-6.el6_0.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
72 31031 72 22545 0 0 48739 0 --:--:-- --:--:-- --:--:-- 49332
100 31031 100 31031 0 0 46720 0 --:--:-- --:--:-- --:--:-- 47088
warning: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 217521f6: NOKEY
error: Failed dependencies:
/usr/bin/pear is needed by php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
./1-prereqs: line 39: pear: command not found
Prerequisite program 'sed' found at /bin/sed
Prerequisite program 'ping' found at /bin/ping
Prerequisite program 'wget' found at /usr/bin/wget
which: no php in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'php' not found!
which: no mrtg in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'mrtg' not found!
which: no pear in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'pear' not found!
which: no httpd in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'httpd' not found!
which: no psql in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'psql' not found!
which: no mysql in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'mysql' not found!
which: no mysqladmin in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Prerequisite program 'mysqladmin' not found!
7 prerequisite(s) missing - exiting.

Somebody can I help me?
Best regards.
Maxi.

Re: I have an Installation Problem with Nagios XI, I need he

Posted: Tue Oct 25, 2011 2:04 pm
by mguthrie
Yeah, this is a known issue just in the past few weeks, we just posted a wiki solution for it.

http://support.nagios.com/wiki/index.ph ... n_Problems

Re: I have an Installation Problem with Nagios XI, I need he

Posted: Thu Jan 19, 2012 1:52 am
by andaks
I have the same error in my CentOS 6.2
It fails on ./1-prereqs

Code: Select all

Error: Package: perl-DBD-ODBC-1.23-1.el5.rf.i386 (rpmforge)
           Requires: libodbc.so.1
Error: Package: php-mssql-5.1.6-5.el5.i386 (epel)
           Requires: php-api = 20041225
           Installed: php-common-5.3.3-3.el6_2.5.i686 (@updates)
               php-api = 20090626
           Available: php-common-5.3.3-3.el6_1.3.i686 (base)
               php-api = 20090626
Error: Package: freetds-0.64-1.el5.rf.i386 (rpmforge)
           Requires: libodbcinst.so.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
ERROR: Prerequisites failed to install.

Re: I have an Installation Problem with Nagios XI, I need he

Posted: Thu Jan 19, 2012 10:51 am
by mguthrie
Can you post the full install.log file?

Is this server behind a proxy?

Re: I have an Installation Problem with Nagios XI, I need he

Posted: Thu Jan 19, 2012 11:07 pm
by andaks
There is no install.log file as it was in xi2009
this is full output from the terminal:

Code: Select all

Installing prerequisites...
Loaded plugins: fastestmirror, security
Setting up Local Package Process
Examining ./php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking ./php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * epel: mirror.bjtu.edu.cn
 * extras: mirrors.btte.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.btte.net
base                                                                                                                                  | 3.7 kB     00:01
cr                                                                                                                                    | 3.0 kB     00:00
Not using downloaded repomd.xml because it is older than what we have:
  Current   : Wed Jan 18 22:14:47 2012
  Downloaded: Wed Dec 14 18:36:40 2011
epel                                                                                                                                  | 3.7 kB     00:00
epel/primary_db                                                                                                                       | 3.1 MB     04:06
extras                                                                                                                                | 3.5 kB     00:00
rpmforge                                                                                                                              | 1.1 kB     00:00
updates                                                                                                                               | 3.5 kB     00:00
Examining ./nagiosxi-deps-2011r1.9-1.noarch.rpm: nagiosxi-deps-2011r1.9-1.noarch
Marking ./nagiosxi-deps-2011r1.9-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:2011r1.9-1 will be installed
--> Processing Dependency: freetds = 0.64 for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: freetds-devel = 0.64 for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: expat-devel for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: fping for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: gd-devel for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: graphviz for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: libmcrypt-devel for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: nmap for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: openldap-devel for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: perl(DBD::ODBC) for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: perl(DBD::Sybase) for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: perl-Net-SNMP for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: php-mssql for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: php-pgsql for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: php-snmp for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: rrdtool for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: rrdtool-perl for package: nagiosxi-deps-2011r1.9-1.noarch
--> Processing Dependency: xinetd for package: nagiosxi-deps-2011r1.9-1.noarch
---> Package php-pear-HTML-Template-IT.noarch 0:1.3.0-2.el5 will be installed
--> Running transaction check
---> Package expat-devel.i686 0:2.0.1-9.1.el6 will be installed
---> Package fping.i386 0:2.4b2-7.el5 will be installed
---> Package freetds.i386 0:0.64-1.el5.rf will be installed
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.64-1.el5.rf.i386
--> Processing Dependency: libreadline.so.5 for package: freetds-0.64-1.el5.rf.i386
---> Package freetds-devel.i386 0:0.64-1.el5.rf will be installed
---> Package gd-devel.i686 0:2.0.35-10.el6 will be installed
--> Processing Dependency: freetype-devel for package: gd-devel-2.0.35-10.el6.i686
--> Processing Dependency: libpng-devel for package: gd-devel-2.0.35-10.el6.i686
--> Processing Dependency: libjpeg-devel for package: gd-devel-2.0.35-10.el6.i686
--> Processing Dependency: libXpm-devel for package: gd-devel-2.0.35-10.el6.i686
--> Processing Dependency: libX11-devel for package: gd-devel-2.0.35-10.el6.i686
--> Processing Dependency: fontconfig-devel for package: gd-devel-2.0.35-10.el6.i686
---> Package graphviz.i686 0:2.26.0-7.el6 will be installed
--> Processing Dependency: libXaw.so.7 for package: graphviz-2.26.0-7.el6.i686
--> Processing Dependency: libXmu.so.6 for package: graphviz-2.26.0-7.el6.i686
---> Package libmcrypt-devel.i386 0:2.5.7-5.el5 will be installed
---> Package nmap.i686 2:5.21-4.el6 will be installed
---> Package openldap-devel.i686 0:2.4.23-20.el6 will be installed
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel-2.4.23-20.el6.i686
---> Package perl-DBD-ODBC.i386 0:1.23-1.el5.rf will be installed
--> Processing Dependency: libodbc.so.1 for package: perl-DBD-ODBC-1.23-1.el5.rf.i386
---> Package perl-DBD-Sybase.i386 0:1.10-1.el5.rf will be installed
---> Package perl-Net-SNMP.noarch 0:5.2.0-1.2.el5.rf will be installed
--> Processing Dependency: perl(Crypt::DES) for package: perl-Net-SNMP-5.2.0-1.2.el5.rf.noarch
---> Package perl-rrdtool.i386 0:1.4.4-1.el5.rf will be installed
---> Package php-mssql.i386 0:5.1.6-5.el5 will be installed
--> Processing Dependency: php-api = 20041225 for package: php-mssql-5.1.6-5.el5.i386
---> Package php-pgsql.i686 0:5.3.3-3.el6_2.5 will be installed
---> Package php-snmp.i686 0:5.3.3-3.el6_2.5 will be installed
---> Package rrdtool.i386 0:1.4.4-1.el5.rf will be installed
--> Processing Dependency: xorg-x11-fonts-Type1 for package: rrdtool-1.4.4-1.el5.rf.i386
--> Processing Dependency: ruby for package: rrdtool-1.4.4-1.el5.rf.i386
--> Processing Dependency: libdbi.so.0 for package: rrdtool-1.4.4-1.el5.rf.i386
---> Package xinetd.i686 2:2.3.14-33.el6 will be installed
--> Running transaction check
---> Package compat-readline5.i686 0:5.2-17.1.el6 will be installed
---> Package cyrus-sasl-devel.i686 0:2.1.23-13.el6 will be installed
---> Package fontconfig-devel.i686 0:2.8.0-3.el6 will be installed
---> Package freetds.i386 0:0.64-1.el5.rf will be installed
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.64-1.el5.rf.i386
---> Package freetype-devel.i686 0:2.3.11-6.el6_1.8 will be installed
--> Processing Dependency: freetype = 2.3.11-6.el6_1.8 for package: freetype-devel-2.3.11-6.el6_1.8.i686
---> Package libX11-devel.i686 0:1.3-2.el6 will be installed
--> Processing Dependency: pkgconfig(xcb) >= 1.1.92 for package: libX11-devel-1.3-2.el6.i686
--> Processing Dependency: libXau-devel for package: libX11-devel-1.3-2.el6.i686
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.3-2.el6.i686
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.3-2.el6.i686
--> Processing Dependency: libXdmcp-devel for package: libX11-devel-1.3-2.el6.i686
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.3-2.el6.i686
---> Package libXaw.i686 0:1.0.6-4.1.el6 will be installed
---> Package libXmu.i686 0:1.0.5-1.el6 will be installed
---> Package libXpm-devel.i686 0:3.5.8-2.el6 will be installed
---> Package libdbi.i686 0:0.8.3-3.1.el6 will be installed
---> Package libjpeg-devel.i686 0:6b-46.el6 will be installed
---> Package libpng-devel.i686 2:1.2.46-1.el6_1 will be installed
---> Package perl-Crypt-DES.i386 0:2.05-3.2.el5.rf will be installed
---> Package perl-DBD-ODBC.i386 0:1.23-1.el5.rf will be installed
--> Processing Dependency: libodbc.so.1 for package: perl-DBD-ODBC-1.23-1.el5.rf.i386
---> Package php-mssql.i386 0:5.1.6-5.el5 will be installed
--> Processing Dependency: php-api = 20041225 for package: php-mssql-5.1.6-5.el5.i386
---> Package ruby.i686 0:1.8.7.352-3.el6 will be installed
--> Processing Dependency: ruby-libs = 1.8.7.352-3.el6 for package: ruby-1.8.7.352-3.el6.i686
--> Processing Dependency: libruby.so.1.8 for package: ruby-1.8.7.352-3.el6.i686
---> Package xorg-x11-fonts-Type1.noarch 0:7.2-9.1.el6 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-9.1.el6.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-9.1.el6.noarch
--> Running transaction check
---> Package freetds.i386 0:0.64-1.el5.rf will be installed
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.64-1.el5.rf.i386
---> Package freetype.i686 0:2.3.11-6.el6_1.7 will be updated
---> Package freetype.i686 0:2.3.11-6.el6_1.8 will be an update
---> Package libXau-devel.i686 0:1.0.5-1.el6 will be installed
---> Package libXdmcp-devel.i686 0:1.0.3-1.el6 will be installed
--> Processing Dependency: libXdmcp = 1.0.3-1.el6 for package: libXdmcp-devel-1.0.3-1.el6.i686
--> Processing Dependency: libXdmcp.so.6 for package: libXdmcp-devel-1.0.3-1.el6.i686
---> Package libxcb-devel.i686 0:1.5-1.el6 will be installed
---> Package perl-DBD-ODBC.i386 0:1.23-1.el5.rf will be installed
--> Processing Dependency: libodbc.so.1 for package: perl-DBD-ODBC-1.23-1.el5.rf.i386
---> Package php-mssql.i386 0:5.1.6-5.el5 will be installed
--> Processing Dependency: php-api = 20041225 for package: php-mssql-5.1.6-5.el5.i386
---> Package ruby-libs.i686 0:1.8.7.352-3.el6 will be installed
---> Package ttmkfdir.i686 0:3.0.9-32.1.el6 will be installed
---> Package xorg-x11-proto-devel.noarch 0:7.6-13.el6 will be installed
--> Running transaction check
---> Package freetds.i386 0:0.64-1.el5.rf will be installed
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.64-1.el5.rf.i386
---> Package libXdmcp.i686 0:1.0.3-1.el6 will be installed
---> Package perl-DBD-ODBC.i386 0:1.23-1.el5.rf will be installed
--> Processing Dependency: libodbc.so.1 for package: perl-DBD-ODBC-1.23-1.el5.rf.i386
---> Package php-mssql.i386 0:5.1.6-5.el5 will be installed
--> Processing Dependency: php-api = 20041225 for package: php-mssql-5.1.6-5.el5.i386
--> Finished Dependency Resolution
Error: Package: perl-DBD-ODBC-1.23-1.el5.rf.i386 (rpmforge)
           Requires: libodbc.so.1
Error: Package: php-mssql-5.1.6-5.el5.i386 (epel)
           Requires: php-api = 20041225
           Installed: php-common-5.3.3-3.el6_2.5.i686 (@updates)
               php-api = 20090626
           Available: php-common-5.3.3-3.el6_1.3.i686 (base)
               php-api = 20090626
Error: Package: freetds-0.64-1.el5.rf.i386 (rpmforge)
           Requires: libodbcinst.so.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
ERROR: Prerequisites failed to install.

Re: I have an Installation Problem with Nagios XI, I need he

Posted: Thu Jan 19, 2012 11:16 pm
by andaks
Now Ok. Install.log appears when we start ./fullinstall
and here it is. NagiosXI machine is not behind a proxy server. Going bypass.

Re: I have an Installation Problem with Nagios XI, I need he

Posted: Sat Jan 21, 2012 2:12 am
by andaks
Guys problem is solved. Two days and I have managed with it myself 8-)