Error After Installation Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post 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??
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Uninstall Nagiosxi

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post 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.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

Here is the scren shot of my issue. BTW, I ran the reset_config_perms but no luck.
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 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
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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error After Installation Nagiosxi

Post 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"?
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Error After Installation Nagiosxi

Post by lamin »

Here are the attachments.
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 »

Another one.
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 »

Why are we getting these errors?
You do not have the required permissions to view the files attached to this post.
Locked