Page 1 of 4

NagiosXI version Installation Error

Posted: Tue Aug 20, 2013 7:19 am
by angurisudhakar

Code: Select all

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.4.lin' - /usr/lib64/php/modules/ixed.5.4.lin: undefined symbol: zend_is_auto_global_quick in Unknown on line 0

PHP script '/tmp/nagiosxi/nagiosxi/basedir/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.1.lin' to be installed.

1) Download the required loader 'ixed.5.1.lin' from the SourceGuardian site: http://www.sourceguardian.com/loaders/download.php?php_v=5.1.6&php_ts=0&php_is=8&os_s=Linux&os_r=2.6.18-308.el5&os_m=x86_64
2) Install the loader to /tmp/nagiosxi/nagiosxi/basedir/scripts/ixed

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.4.lin' - /usr/lib64/php/modules/ixed.5.4.lin: undefined symbol: zend_is_auto_global_quick in Unknown on line 0
IMPORTING CONFIG FILES...
PHP script '/tmp/nagiosxi/nagiosxi/basedir/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.1.lin' to be installed.

1) Download the required loader 'ixed.5.1.lin' from the SourceGuardian site: http://www.sourceguardian.com/loaders/download.php?php_v=5.1.6&php_ts=0&php_is=8&os_s=Linux&os_r=2.6.18-308.el5&os_m=x86_64
2) Install the loader to /tmp/nagiosxi/nagiosxi/basedir/scripts/ixed

RESETTING PERMS
/bin/chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagiosxi': No such file or directory
SETUID ROOT OK
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.4.lin' - /usr/lib64/php/modules/ixed.5.4.lin: undefined symbol: zend_is_auto_global_quick in Unknown on line 0

PHP script '/tmp/nagiosxi/nagiosxi/basedir/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.1.lin' to be installed.

1) Download the required loader 'ixed.5.1.lin' from the SourceGuardian site: http://www.sourceguardian.com/loaders/download.php?php_v=5.1.6&php_ts=0&php_is=8&os_s=Linux&os_r=2.6.18-308.el5&os_m=x86_64
2) Install the loader to /tmp/nagiosxi/nagiosxi/basedir/scripts/ixed

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.4.lin' - /usr/lib64/php/modules/ixed.5.4.lin: undefined symbol: zend_is_auto_global_quick in Unknown on line 0

PHP script '/tmp/nagiosxi/nagiosxi/basedir/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.1.lin' to be installed.

1) Download the required loader 'ixed.5.1.lin' from the SourceGuardian site: http://www.sourceguardian.com/loaders/download.php?php_v=5.1.6&php_ts=0&php_is=8&os_s=Linux&os_r=2.6.18-308.el5&os_m=x86_64
2) Install the loader to /tmp/nagiosxi/nagiosxi/basedir/scripts/ixed

OUTPUT:
Nagios Core 3.5.0
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-15-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
   Error processing object config files!


***> One or more problems was encountered while processing the config files...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.
RET: 254
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors /tmp/nagiosxi/nagiosxi/basedir/scripts
tar: Removing leading `/' from member names
/tmp/nagiosxi/nagiosxi/basedir/scripts
ls: /usr/local/nagiosxi/nom/checkpoints/nagioscore/*.gz: No such file or directory
NO NOM SNAPSHOT FOUND!
ERROR: NagiosQL import appears to have failed - exiting.  (Reason: Import files are still present in /usr/local/nagios/etc/import)
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './E-importnagiosql'

Re: NagiosXI version Installation Error

Posted: Tue Aug 20, 2013 9:45 am
by abrist
What version of php are you running?

Code: Select all

yum list installed | grep php

Re: NagiosXI version Installation Error

Posted: Wed Aug 21, 2013 12:04 am
by angurisudhakar
Repository rpmforge is listed more than once in the configuration
Repository rpmforge-extras is listed more than once in the configuration
Repository rpmforge-testing is listed more than once in the configuration
php.x86_64 5.1.6-32.el5 installed
php-cli.x86_64 5.1.6-32.el5 installed
php-common.x86_64 5.1.6-32.el5 installed
php-devel.x86_64 5.1.6-32.el5 installed
php-gd.x86_64 5.1.6-39.el5_8 installed
php-mcrypt.x86_64 5.1.6-15.el5.centos.1 installed
php-mssql.x86_64 5.1.6-15.el5.centos.1 installed
php-mysql.x86_64 5.1.6-40.el5_9 installed
php-pdo.x86_64 5.1.6-32.el5 installed
php-pear.noarch 1:1.4.9-8.el5 installed
php-pear-HTML-Template-IT.noarch 1.3.0-2.el5 installed
php-pgsql.x86_64 5.1.6-40.el5_9 installed
php-snmp.x86_64 5.1.6-39.el5_8 installed
php-xml.x86_64 5.1.6-39.el5_8 installed

Re: NagiosXI version Installation Error

Posted: Wed Aug 21, 2013 11:41 am
by sreinhardt
hmm for some reason, it seems that sourceguardian is not coming in correctly. Which version of XI are you attempting to install? If you could post your /etc/php.ini and /etc/php.d/sourceguardian.ini files please. Finally to get some diagnostic information before sending what I think will be the resolve, post the full output from "php -v".

Re: NagiosXI version Installation Error

Posted: Fri Aug 23, 2013 2:35 am
by angurisudhakar
Hi,


Thanks for you suggestion..
i have installed PHP dependencies ,Now every thing working fine


Could please suggest me ,How to monitor one service like CPU Utilization/processes/ in Nagiosxi

Please provide me steps...how to configure services.

Note:
Thanks,
Sudhakar Anguri



I am trying to create one service but i am getting bellow error ,Please find the attachment,

Re: NagiosXI version Installation Error

Posted: Fri Aug 23, 2013 9:32 am
by slansing
We need more information, is the above message coming up when you try to apply configuration? Or when you click on a certain button? This is not a common problem. What is the process you are using to create a service?

Re: NagiosXI version Installation Error

Posted: Mon Aug 26, 2013 12:44 am
by angurisudhakar
I am create service belwo steps following

configure->core configure mangager->commands

Right hand side there is option ADDNew ,whe i click ADDNEW bottun it is throus the exception...

Re: NagiosXI version Installation Error

Posted: Mon Aug 26, 2013 9:29 am
by slansing
That is not for services the commands section is for commands.

When creating a new service you must do it through the "Services" sub menu, and the same goes for any object you are creating via the CCM.

I'm not sure where you are getting the Add New drop down from, can you either explain what page you are on at that point, or send a picture?

Re: NagiosXI version Installation Error

Posted: Tue Aug 27, 2013 5:38 am
by angurisudhakar
Iam following below process.

In XI, go to the CCM (Configure → Core Config Manager → Commands). Click “Add
New” in the right hand pane.
• Give the command a name, we will use “event_handler_test” for this example.
• Now we need to define the “Command Line”. “$USER1$” references the folder
“/usr/local/nagios/libexec” from the resources.cfg file. This is the default path for
plugins and scripts in XI. We will create a script later on to be called by this command,
and for the sake of uniformity, we will name our script “event_handler_test.sh”.
• As this command will not be used to check hosts nor services, but will be used as an
event handler, set the “Command Type” dropdown to “misc command”.
• Make sure the “Active” box is checked.
• The final command definition should resemble the image to the right. Click save when

Re: NagiosXI version Installation Error

Posted: Tue Aug 27, 2013 1:13 pm
by abrist
It looks like you are walking through the event handler doc. Lets check the database for errors:

Code: Select all

tail -25 /var/log/mysqld.log