<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Marc Powell wrote:
<blockquote
cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0C18@misex01.ena.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a> [<a class="moz-txt-link-freetext" href="mailto:nagios-users">mailto:nagios-users</a>-
<a class="moz-txt-link-abbreviated" href="mailto:admin@lists.sourceforge.net">admin@lists.sourceforge.net</a>] On Behalf Of John McGowan
Sent: Thursday, April 28, 2005 4:59 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: Re: [Nagios-users] External Commands not working SOLVED
Found the Problem!
The default apache httpd.conf file has the Users and groups set like
</pre>
</blockquote>
<pre wrap=""><!---->this
</pre>
<blockquote type="cite">
<pre wrap="">User nobody
Group #-1
</pre>
</blockquote>
<pre wrap=""><!---->
What distro are you using? I haven't seen that before.
</pre>
</blockquote>
it's version 2.0.52 configured and compiled myself on FC3<br>
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all<br>
<br>
<blockquote
cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0C18@misex01.ena.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Not sure what that group line means, but I think i can guess, because
when i change it to
User nobody
Group nobody
All was well.
</pre>
</blockquote>
<pre wrap=""><!---->
It determines what group apache runs as. I would presume that #-1 puts
it in no groups.
</pre>
</blockquote>
Right, I know what the Group directive was for, but I've never seen the
#-1 value. I assumed it was set to nobody since this was a fresh
apache installation<br>
<blockquote
cite="midA7B0A9F02975A74A845FE85D0B95B8FA6A0C18@misex01.ena.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for help from everybody, especially Marc
</pre>
</blockquote>
<pre wrap=""><!---->
No problem. I'm glad you figured it out.
</pre>
<blockquote type="cite">
<pre wrap="">I'll have to go back and see if I missed something in the docs that
warns about this, or if there is a good place to add something to that
effect.
</pre>
</blockquote>
<pre wrap=""><!---->
I've not seen anything about it and I'm pretty familiar with the
documentation. A FAQ entry would be good probably --
<a class="moz-txt-link-freetext" href="http://www.nagios.org/faqs/addfaq.php">http://www.nagios.org/faqs/addfaq.php</a>
--
Marc
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! <a class="moz-txt-link-freetext" href="http://www.idcswdc.com/cgi-bin/survey?id5hix">http://www.idcswdc.com/cgi-bin/survey?id5hix</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
</body>
</html>