Nagios Core not running after install
Posted: Fri Dec 22, 2017 3:17 pm
Hi I am new to Nagios
I have Nagios 4.3.4 on centOS 7 running plugins 2.2.1. When I go to the web home page page it says it is not running.
if I look at the log files I see the following
[1513969021] Nagios 4.3.4 starting... (PID=32128)
[1513969021] Local time is Fri Dec 22 13:57:01 EST 2017
[1513969021] LOG VERSION: 2.0
[1513969021] qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
[1513969021] Error: Failed to initialize query handler. Aborting
[1513970773] Nagios 4.3.4 starting... (PID=20041)
[1513970773] Local time is Fri Dec 22 14:26:13 EST 2017
[1513970773] LOG VERSION: 2.0
[1513970773] qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
[1513970773] Error: Failed to initialize query handler. Aborting
[1513971339] Nagios 4.3.4 starting... (PID=1334)
[1513971339] Local time is Fri Dec 22 14:35:39 EST 2017
[1513971339] LOG VERSION: 2.0
[1513971339] qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
[1513971339] Error: Failed to initialize query handler. Aborting
When I go to this directory ".../nagios/var/rw" there is no such directory
One thing to note in the install docs (https://support.nagios.com/kb/article/n ... tml#CentOS) for 4.3.4 and plugins 2.2.1, it says to get the install plugins from "https://github.com/nagios-plugins/nagio ... 2.1.tar.gz" this does not exist so I had to go to "nagios-plugins.org/downloads to get this.. however from the install after taring the file, it says to run "sudo ./tools/setup" this directory/file does not exist.. I was able to run howerver "sudo ./configure, sudo make and sudo make install"
any help would greatly be appreciated
I have Nagios 4.3.4 on centOS 7 running plugins 2.2.1. When I go to the web home page page it says it is not running.
if I look at the log files I see the following
[1513969021] Nagios 4.3.4 starting... (PID=32128)
[1513969021] Local time is Fri Dec 22 13:57:01 EST 2017
[1513969021] LOG VERSION: 2.0
[1513969021] qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
[1513969021] Error: Failed to initialize query handler. Aborting
[1513970773] Nagios 4.3.4 starting... (PID=20041)
[1513970773] Local time is Fri Dec 22 14:26:13 EST 2017
[1513970773] LOG VERSION: 2.0
[1513970773] qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
[1513970773] Error: Failed to initialize query handler. Aborting
[1513971339] Nagios 4.3.4 starting... (PID=1334)
[1513971339] Local time is Fri Dec 22 14:35:39 EST 2017
[1513971339] LOG VERSION: 2.0
[1513971339] qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
[1513971339] Error: Failed to initialize query handler. Aborting
When I go to this directory ".../nagios/var/rw" there is no such directory
One thing to note in the install docs (https://support.nagios.com/kb/article/n ... tml#CentOS) for 4.3.4 and plugins 2.2.1, it says to get the install plugins from "https://github.com/nagios-plugins/nagio ... 2.1.tar.gz" this does not exist so I had to go to "nagios-plugins.org/downloads to get this.. however from the install after taring the file, it says to run "sudo ./tools/setup" this directory/file does not exist.. I was able to run howerver "sudo ./configure, sudo make and sudo make install"
any help would greatly be appreciated