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.