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??
Error After Installation Nagiosxi
Uninstall Nagiosxi
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.
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
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.
/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
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.
Re: Error After Installation Nagiosxi
Can you run both of the following scripts and show us the output: (The reset_config_perms script should have SETUID root permissions).
After attempting to view your import page and it showing up blank, what is the output from:
tail /var/log/httpd/error_log file
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms
/usr/local/nagiosxi/scripts/reset_config_perms.sh
ls -l /usr/local/nagios/etcAfter 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
Here is the error log.
You do not have the required permissions to view the files attached to this post.
Re: Error After Installation Nagiosxi
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?
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"?
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 restartls -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
Here are the attachments.
You do not have the required permissions to view the files attached to this post.
Re: Error After Installation Nagiosxi
Another one.
You do not have the required permissions to view the files attached to this post.
Re: Error After Installation Nagiosxi
Why are we getting these errors?
You do not have the required permissions to view the files attached to this post.