Ongoing Apache/Nagios config problems...
Jarett DeAngelis
Jarett_DeAngelis at fujifilm.com
Wed Jan 29 00:47:34 CET 2003
Actually, as of today, from whatever I changed, this is no longer the case. ::sigh::
Now I have found that although I thought I told it to when I installed it, Apache is in fact NOT running under xinetd. I started it manually successfully today. I can log in to the authentication prompts fine.
Now, when trying to start Nagios, I get "No lock file found in /usr/local/nagios/var/nagios.lock". For kicks, I tried creating an empty nagios.lock file in that directory, but that produces "ps: error: List of process IDs must follow -p." And then a generous explanation of how to use ps.
Ideas?
(thanks again for everyone's help)
>>> "Jarett DeAngelis" <Jarett_DeAngelis at fujifilm.com> 01/28/03 06:07PM >>>
Olivier,
Thanks again for your help.
1) No. Apache is running under xinetd and doesn't start (if I understand xinetd correctly) until someone makes a request to port 80. Is that correct?
2) Nope. Apache refuses to start.
3) At the moment (I suspect because I haven't finished my config files? Or will it load anyway and at least quit gracefully?) nagios segfaults whenever I try to run it. This reminds me, I installed the plugins package and I have no idea where it put the plugins. Any ideas?
I don't suppose anyone has compiled a walkthrough for getting the system up and running, have they? I'd be willing to wipe the whole thing out and start from scratch if I had to.
Thanks, Jarett
>>> "Olivier F. Beauchemin (Budget-Tech IT Consulting)" <ofb at budget-tech.com> 01/28/03 03:30PM >>>
Jarett,
1. Has Apache started up? What do you get when you do this: ps -def | grep
apache
2. Can you see the the test Apache page?
Go here: http://youserverIP/
3. Can you start Nagios? What do you get when you do this: ps -def | grep
nagios
Olivier
----- Original Message -----
From: "Jarett DeAngelis" <Jarett_DeAngelis at fujifilm.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Tuesday, January 28, 2003 2:07 PM
Subject: [Nagios-users] Ongoing Apache/Nagios config problems...
Hi,
I tried this (even added nagios to apache and apache to nagios), but in the
process of checking my httpd logs discovered that I appear to have hosed my
network when trying to set my hostname.
Also, I did not find mod_basic_auth (or mod_auth_basic) in the Package
Installer's list.
And the Nagios docs say AllowOverride should be AuthConfig, not All. Is
this incorrect?
Why was I never given the opportunity to set my hostname in Red Hat's setup
program, and what is the Right Way to do it now? As it is I cannot bring
the network up with /etc/init.d/network start.
>>> "Olivier Beauchemin (Budget-Tech IT Consulting)" <ofb at budget-tech.com>
01/26/03 08:55PM >>>
Add apache to the nagios group, restart the webserver, and restart nagios.
See if there's still a problem... Also, there's a mod_basic_auth that you
might want to try...
You also made sure that Allow Override is "All", right?
Olivier
----- Original Message -----
From: "Jarett DeAngelis" <Jarett_DeAngelis at fujifilm.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Sunday, January 26, 2003 5:56 PM
Subject: [Nagios-users] Apache config problem continues...
Hi again, everyone -
So I tried installing the mod_auth_pgsql package AND change the permissions
to nagios/nagios on the .htaccess files. Changing the permissions didn't
help, and installing mod_auth_pgsql seems to make it so that httpd can't
start up. Any ideas? Are we sure the permissions should be nagios/nagios?
Shouldn't it be apache/apache? Or am I not grasping something here?
-Jarett
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list