New offline intsallation of Nagios HELP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: New offline intsallation of Nagios HELP

Post by rkennedy »

In addition to what @dwhitfield posted -

Please run the following and post the output -

Code: Select all

tail -n100 /var/log/httpd/error_log
tail -n100 /var/log/httpd/ssl_error_log
tail -n100 /var/log/httpd/access_log
tail -n100 /var/log/httpd/ssl_access_log
Also, post your entire /etc/httpd/conf.d/ folder for us to look at.

Lastly, we'll need to see which version of apache you're running. Please show us the output of apachectl -v
Former Nagios Employee
techcrunch
Posts: 14
Joined: Thu Dec 15, 2016 11:10 am

Re: New offline intsallation of Nagios HELP

Post by techcrunch »

I've changed my Nagios.conf to replicate yours and I've included all files requested for in the zip file.

Thanks,
Nagios Logs.zip
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: New offline intsallation of Nagios HELP

Post by rkennedy »

You have quite a few problems going on -

Code: Select all

[root@localhost tmp]# [Mon Jan 16 10:42:01.525913 2017] [:error] [pid 22657] [client 127.0.0.1:41323] PHP Warning:  Unknown: open(/var/lib/php/session/sess_n32atlogtstva2onqtsmqifhs1, O_RDWR) failed: No space left on device (28) in Unknown on line 0
You'll need to add more space to the machine.

The contents of your conf.d directory suggest this is not a clean system, there are multiple other processes running on it which can affect Nagios -

Code: Select all

utoindex.conf     nagiosmobile.conf            README
fcgid.conf         nagiosql.conf                revocator.conf
mailman.conf       nagiosxi.conf                squid.conf
manual.conf        nagiosxi.conf_ORIG_20170112  ssl.conf
mod_security.conf  nrdp.conf                    ssl.conf.nagiosxibackup
mrtg.conf          nss.conf                     userdir.conf
nagios.conf        php.conf                     welcome.conf
mod_security -

Code: Select all

"/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "29"] [id "960008"] [rev "2"] [msg "Request Missing a Host Header"] [severity "WARNING"] [ver "OWASP_CRS/2.2.6"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "localhost.localdomain"] [uri "/"] [unique_id "WH3WKg-IeeciWiTEMsGIaQAAAAI"]
[root@localhost tmp]# 
Please install on a minimal machine, with no prior applications running on it - this is how you can get a proper install setup & working. Having all of these items already on the machine is going to affect the initial setup.
Former Nagios Employee
techcrunch
Posts: 14
Joined: Thu Dec 15, 2016 11:10 am

Re: New offline intsallation of Nagios HELP

Post by techcrunch »

This was a clean install. Please assist on how to get through the security error.
techcrunch
Posts: 14
Joined: Thu Dec 15, 2016 11:10 am

Re: New offline intsallation of Nagios HELP

Post by techcrunch »

I can get to the installer page. However when I set up the URL, Admin Name, Password, etc, ----> then click install, I get the Forbidden error. Please assist.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: New offline intsallation of Nagios HELP

Post by dwhitfield »

techcrunch wrote:This was a clean install.
Are you just importing all of your Apache configs from another machine? Are you installing clean and then adding on top of it?

Did you take care of the space issue?
Locked