Page 6 of 7

Re: Error After Installation Nagiosxi

Posted: Thu Nov 11, 2010 12:01 pm
by mguthrie
I'm unclear as to your importing process. Instead of screenshots, I need you to describe the steps you're taking to import your configurations.

I'm not convinced the E-nagiosql script completed it's steps correctly, because it if did, the original nagios core config definitions would be commented out, while the nagiosql scripts would be uncommented. Nagios XI uses those default scripts under the heading "OBJECTS EXPORTED FROM NAGIOSQL" as the default template and configuration files. If this are not being used on a fresh install, you're most certainly going to have problems.

Have you modified the nagios.cfg file or any other configuration file by hand??

Uninstall Nagiosxi

Posted: Fri Dec 10, 2010 10:22 am
by lamin
Hello there,
How can I uninstall nagiosxi and start from fresh because I am tired of getting a blank page when I click on import config files.

Re: Error After Installation Nagiosxi

Posted: Fri Dec 10, 2010 12:58 pm
by mguthrie
There isn't a "clean" uninstall process for NagiosXI. The bulk of it resides under
/usr/local/nagios
/usr/local/nagiosxi
/var/www/html

However, there are also multiple databases and cron jobs, services, etc that get set up during the install process.

If you're getting a blank page on the import page, that means you have a PHP error. Run a "tail" command on your /var/httpd/error after accessing the page to see what the error is. We can probably help you troubleshoot it.

Re: Error After Installation Nagiosxi

Posted: Fri Dec 10, 2010 2:26 pm
by lamin
Here is the scren shot of my issue. BTW, I ran the reset_config_perms but no luck.

Re: Error After Installation Nagiosxi

Posted: Fri Dec 10, 2010 2:37 pm
by mguthrie
Can you run both of the following scripts and show us the output: (The reset_config_perms script should have SETUID root permissions).

Code: Select all

/usr/local/nagiosxi/scripts/reset_config_perms
/usr/local/nagiosxi/scripts/reset_config_perms.sh
ls -l /usr/local/nagios/etc

After attempting to view your import page and it showing up blank, what is the output from:
tail /var/log/httpd/error_log file

Re: Error After Installation Nagiosxi

Posted: Fri Dec 10, 2010 3:19 pm
by lamin
Here is the error log.

Re: Error After Installation Nagiosxi

Posted: Mon Dec 13, 2010 11:30 am
by mguthrie
There should not be a nagios.cfg.xi file at all. The master cfg file is nagios.cfg.


I'm noticing that you have gnome installed on your system. Can you run the following command on the command line and show me the output?

Code: Select all

service nagios restart
I also need you to show me in the command-line a long listing of two directories, because you appear to have multiple permissions issues. Run the following commands and please send us the text output:
ls -l /usr/local/nagios/etc
ls -l /usr/local/nagiosxi/scripts
ls -l /usr/local/nagios/etc/import


The errors that you're showing me from the apache log are not from the import page. That error output is from the permissions check page. Where exactly are you getting the blank screen? Is it in the Core Config Manager->Tools-Import Config page? Or is it when you attempt to "Apply Configuation"?

Re: Error After Installation Nagiosxi

Posted: Mon Dec 13, 2010 1:32 pm
by lamin
Here are the attachments.

Re: Error After Installation Nagiosxi

Posted: Mon Dec 13, 2010 1:33 pm
by lamin
Another one.

Re: Error After Installation Nagiosxi

Posted: Mon Dec 13, 2010 4:06 pm
by lamin
Why are we getting these errors?