[svlug] Apache and NIS

J. Paul Reed preed at sigkill.com
Tue Aug 29 12:48:02 PDT 2000


On Tue, 29 Aug 2000, Karen Shaeffer wrote:

> > As much as I come off as a newbie sometimes... ;-)
> 
> Well, we all sound like newbies once in a while, or we aren't living.
> ;)

I should just shut my mouth.

I think the whole process of posting a question to the LUG gets me
thinking, and in turn, I eventually answer my own question...so, in that
manner, I guess I am a newbie. ;-)

> I'll make one more suggestion and then defer to the experts in Apache
> configuration.
> 
> I believe Apache will default to uid nobody, if you do not supply a
> directive. This can easily be investigated by reading the source.
> 
> Why not run strace and see if Apache is actually reading the config
> file?

I found this out w/o running strace, although I would think this would've
shown the problem: I installed a general copy of Apache on NFS for all of
the 'dumb servers' to use, and it turns out that Apache attempts to be
smart about where it's reading its configuration information from; so,
instead of reading it from /usr/local/httpd, like it was supposed to be
doing, it was reading it from /opt/httpd/, which of course had the default
UID/GID of 'nobody' in that file.

Don't I feel stupid... 

Later,
Paul
    ----------------------------------------------------------------------
    J. Paul Reed                preed at sigkill.com || web.sigkill.com/preed
    If you put a gun to my head and said  "Name ten great bands that have 
    come out in the last 5 years," you'd be wiping my brains off the wall.
                                                           -- Trent Reznor





More information about the svlug mailing list