Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-27-2017, 02:34 PM   #1
LQ Newbie
Registered: Mar 2017
Distribution: CentOS
Posts: 2

Rep: Reputation: Disabled
Nagios web interface stopped working afer I got postfix working

I've installed and got Nagios to show the localhost and another windows computer. The web interface worked and the services properly showed up. After I got that working I wanted to set up email notifications. I installed mailx and configured postfix to relay to a local M$ exchange server. Now that the notifications work, the web interface no longer works. Previously when I would go to it would say that it didn't exist or something similar and now it says " is currently unable to handle this request." And previously when I would go to it would come up correctly and now it says "The server encountered an internal error or misconfiguration and was unable to complete your request." The weird thing is, is that I'm getting email notifications now saying that localhost is down.

Info: (No output on stdout) stderr: execvp(/check_ping, ...) failed. errno is 2: No such file or directory

Heres my nagios.log after a reboot

[1490635800] Nagios 4.2.4 starting... (PID=1337)
[1490635800] Local time is Mon Mar 27 12:30:00 CDT 2017
[1490635800] LOG VERSION: 2.0
[1490635800] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1490635800] qh: core query handler registered
[1490635800] nerd: Channel hostchecks registered successfully
[1490635800] nerd: Channel servicechecks registered successfully
[1490635800] nerd: Channel opathchecks registered successfully
[1490635800] nerd: Fully initialized and ready to rock!
[1490635800] wproc: Successfully registered manager as @wproc with query handler
[1490635800] wproc: Registry request: name=Core Worker 1345;pid=1345
[1490635800] wproc: Registry request: name=Core Worker 1343;pid=1343
[1490635800] wproc: Registry request: name=Core Worker 1344;pid=1344
[1490635800] wproc: Registry request: name=Core Worker 1342;pid=1342
[1490635800] Successfully launched command file worker with pid 1366

I've tried restarting the nagios service and httpd as well. plz help
Linux version 3.10.0-514.10.2.el7.x86_64
Nagios 4.2.4

SElinux disabled
firewall is off

Last edited by erosbach; 03-27-2017 at 03:17 PM. Reason: SElinux disabled firewall is off
Old 03-27-2017, 03:39 PM   #2
LQ Newbie
Registered: Mar 2017
Distribution: CentOS
Posts: 2

Original Poster
Rep: Reputation: Disabled
The problem I had was clearly spelled out in the httpd error log. The htpasswd.users file didn't have read permissions for apache.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios / Postfix / Centos 6.4 working on email notifications Vafri Linux - Server 1 10-09-2013 04:22 AM
[SOLVED] Nagios web interface stopped working after squeeze upgrade jrdioko Debian 19 10-03-2012 05:26 PM
Postfix stopped working after update dhiman.manish23 Linux - Server 9 09-01-2011 10:08 PM
Broadcom Wireless interface stopped working remlapsirhc Linux - Wireless Networking 9 07-26-2008 03:44 PM
Firewire interface to external HDD stopped working, Debian testing john_b Linux - Hardware 4 07-24-2006 09:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration