Page 1 of 7
Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 10:26 am
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
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 10:59 am
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)
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 12:50 pm
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.
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 1:01 pm
by lamin
Here are additional files to look at.
mrtg error.png
Nagios.cfg_File.png
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 1:35 pm
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.
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 2:32 pm
by lamin
Here is the error_log
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 2:39 pm
by lamin
Here is the nagios.cfg file check.
nagios_verification.png
Re: Error After Installation Nagiosxi
Posted: Fri Oct 29, 2010 4:02 pm
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?
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 7:21 am
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.
Re: Error After Installation Nagiosxi
Posted: Mon Nov 01, 2010 12:33 pm
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.