CyberKeeda In Social Media
Showing posts with label Nagios. Show all posts
Showing posts with label Nagios. Show all posts

NagiosXI: Download pdf Couldn't create temporary file.





Couldn't create temporary file. Check that the directory permissions for the /temp directory are set to 777








Login as root to the Nagios server and run the following.



chown -R  nagios.nagios /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
chmod -R  ug+rwx /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
Read more ...

nagios 4.0.8 fails to start with "Error:




nagios 4.0.8 fails to start with "Error: Failed to initialize query handler" (bind() failed: No such file or directory)

qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory

error: Failed to initialize query handler. Aborting


Nagios Core responds me these errors while starting nagios.

Fix : Error itself give us an hint about no directory error, hence leading to failure while starting  the service.

Fix:  To fix this issue I will create the missing directory manually and aligning permissions to it.



  • Depending upon your error of missing directory create it.

cybeerkeeda@Linux-Maniac:~ mkdir -p  /usr/local/nagios/var/rw/
  • Provide full permission to it.
cybeerkeeda@Linux-Maniac:~ chmod -R 777  /usr/local/nagios/var/rw/
  • Restart Nagios again
cybeerkeeda@Linux-Maniac:~ sudo service nagios restart




Read more ...
Designed By Jackuna