I've followed the installation guide for the trial version of nagios xi and every thing went well. After I run the installation script and try to connect to the web page I get to the first page with a link to access Nagios Xi. Following THAT link I get DB Connect Error and indeed, nagios is not running... the preflight checks show 6 erros and I have no idea what they might be immediately after a fresh install.
Any one seen this before?
After install can't connect
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: After install can't connect
We'll need to get a little more information from you first to start diagnosing this.
1) What host OS? (with distribution, version, and architecture)
2) Please paste the preflight check error texts.
1) What host OS? (with distribution, version, and architecture)
2) Please paste the preflight check error texts.
Re: After install can't connect
Yes. My bad... The OS is stock RHEL 5.4 x86_64tonyyarusso wrote:We'll need to get a little more information from you first to start diagnosing this.
1) What host OS? (with distribution, version, and architecture)
2) Please paste the preflight check error texts.
Here is the preflight output:
./nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 3.2.0
Copyright (c) 2009 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2009
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/contacts.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Error: There are no services defined!
Checked 0 services.
Checking hosts...
Error: There are no hosts defined!
Checked 0 hosts.
Checking host groups...
Checked 0 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Error: Service notification command 'xi_service_notification_handler' specified for contact 'xi_default_contact' is not defined anywhere!
Error: Host notification command 'xi_host_notification_handler' specified for contact 'xi_default_contact' is not defined anywhere!
Checked 1 contacts.
Checking contact groups...
Checked 0 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 0 commands.
Checking time periods...
Checked 2 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 6
***> One or more problems was encountered while running the pre-flight check...
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.
Re: After install can't connect
We are attempting to duplicate your conditions. You should try a 32bit installation, I'm not sure if anyone has successfully installed XI under 64bit... Though it's not impossible.
Re: After install can't connect
So my options are to install on a 32-bit OS? I don't really see where I can download a 32-bit specific version from the site. We only have an x86_64 machine available to run this on.mmestnik wrote:We are attempting to duplicate your conditions. You should try a 32bit installation, I'm not sure if anyone has successfully installed XI under 64bit... Though it's not impossible.
Any thoughts?
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: After install can't connect
I'm running through an install on 64-bit CentOS 5.4 (no RHEL image around), so I'll see what comes up there and maybe that will give us a clue about whether that's an issue.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: After install can't connect
Oh, and no, there isn't a "32-bit version" or "64-bit version" of XI for download - architecture-specific components are compiled on your machine during the installation process.
Re: After install can't connect
Ok cool. I appreciate the help. If need be, is there a flag to the 'make' that we can set to enforce 32-bit compilation?tonyyarusso wrote:Oh, and no, there isn't a "32-bit version" or "64-bit version" of XI for download - architecture-specific components are compiled on your machine during the installation process.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: After install can't connect
If you'd like to be a beta tester of sorts, you can try the following, which worked for me on CentOS 5.4 64-bit:
Enable the EPEL repository:
rpm -Uvh http://download.fedora.redhat.com/pub/e ... noarch.rpm
Install RPM tools:
yum install rpmdevtools
Download the development pre-release of XI rather than 1.1H:
wget http://assets.nagios.com/downloads/nagi ... vel.tar.gz
Proceed with the installation as usual.
Enable the EPEL repository:
rpm -Uvh http://download.fedora.redhat.com/pub/e ... noarch.rpm
Install RPM tools:
yum install rpmdevtools
Download the development pre-release of XI rather than 1.1H:
wget http://assets.nagios.com/downloads/nagi ... vel.tar.gz
Proceed with the installation as usual.
Re: After install can't connect
That could be good. I will do this tomorrow when I get in. I've got some other things to kick around here and then it's time to bail.tonyyarusso wrote:If you'd like to be a beta tester of sorts, you can try the following, which worked for me on CentOS 5.4 64-bit:
Enable the EPEL repository:
rpm -Uvh http://download.fedora.redhat.com/pub/e ... noarch.rpm
Install RPM tools:
yum install rpmdevtools
Download the development pre-release of XI rather than 1.1H:
wget http://assets.nagios.com/downloads/nagi ... vel.tar.gz
Proceed with the installation as usual.
Thanks again.