LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-27-2017, 01:34 PM   #1
erosbach
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 10.1.1.10 it would say that it didn't exist or something similar and now it says "10.1.1.10 is currently unable to handle this request." And previously when I would go to 10.1.1.10/nagios 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
CentOS7
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 02:17 PM. Reason: SElinux disabled firewall is off
 
Old 03-27-2017, 02:39 PM   #2
erosbach
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.
 
  


Reply


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 03:22 AM
[SOLVED] Nagios web interface stopped working after squeeze upgrade jrdioko Debian 19 10-03-2012 04:26 PM
Postfix stopped working after update dhiman.manish23 Linux - Server 9 09-01-2011 09:08 PM
Broadcom Wireless interface stopped working remlapsirhc Linux - Wireless Networking 9 07-26-2008 02:44 PM
Firewire interface to external HDD stopped working, Debian testing john_b Linux - Hardware 4 07-24-2006 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

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