NagiosXI version Installation Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
angurisudhakar

NagiosXI version Installation Error

Post 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'
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI version Installation Error

Post by abrist »

What version of php are you running?

Code: Select all

yum list installed | grep php
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
angurisudhakar

Re: NagiosXI version Installation Error

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NagiosXI version Installation Error

Post 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".
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
angurisudhakar

Re: NagiosXI version Installation Error

Post 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,
You do not have the required permissions to view the files attached to this post.
Last edited by slansing on Fri Aug 23, 2013 9:28 am, edited 1 time in total.
Reason: Do not double post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI version Installation Error

Post 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?
angurisudhakar

Re: NagiosXI version Installation Error

Post 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...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI version Installation Error

Post 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?
angurisudhakar

Re: NagiosXI version Installation Error

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI version Installation Error

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked