Error After Installation Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Error After Installation Nagiosxi

Post by lamin »

Hey
After a fresh installation yesterday, I could not start nagios service and I got: CONFIG ERROR! Check Your Nagios Configuration.
In additon, I cannot login in mysql db.

Thankls,

Lamin
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

Can we get a few more details about your install process?

What distro is this on?

32 or 64bit?

Are you able to log into the web interface?

Try this for mysql:

mysql -u root -p
(it will prompt you for the password)
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

Thanks for your reply
I am running RedHat 4 64 bits. I am just able to point to webserver but nothing is showing except the welcome page. When I click on Access Nagios XI I see a blank page.
You do not have the required permissions to view the files attached to this post.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

Here are additional files to look at.
mrtg error.png
Nagios.cfg_File.png
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

A blank page for XI means that there is a PHP error, type:
tail /var/log/httpd/error_log

If you can send us the output of that we'll get the error tracked down.

Also, if there is some sort of error in the nagios config files, you can check for it and see where the error is by running this command from the command-line

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Are you using a proxy? If so we highly recommend turning that off during installation as it will break some of the install scripts.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

Here is the error_log
You do not have the required permissions to view the files attached to this post.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

Here is the nagios.cfg file check.
nagios_verification.png
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

Well the nagios process is failing because it's not finding the 'contacttemplates.cfg' file. Are you starting from scratch with configuration files or did you already have configs in the /usr/local/nagios/etc directory prior to installation?
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

This is a fresh install and I cannot find the contacttemplate.cfg file. I do not have any prior to installation thecfg files come from the installation. I need to get this up running as soon as possible. Actually, I am running nagios core in a different machine but I did not have many issues like the commercial version. I dont know what to do now.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post by mguthrie »

Are you using a proxy on your system? If so, that needs to be turned off and I would try running the install scripts again.

If not, I think remote access might be the best solution to get you up and running if you'd be comfortable with that. Send us a PM or email with ssh and web access info if that's an option for you.
Locked