Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 23:12:34 -0500
From:      "Gene Harris (e-mail)" <geneh@tetronsoftware.com>
To:        Andy Farkas <andyf@speednet.com.au>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Odd log message starting httpd
Message-ID:  <200207070412.g674CYPr047951@ns1.tetronsoftware.com>
In-Reply-To: <Pine.BSF.4.33.0207071100570.66386-100000@backup.af.speednet.com.au>
References:  <Pine.BSF.4.33.0207071100570.66386-100000@backup.af.speednet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 06 July 2002 08:03 pm, Andy Farkas wrote:
> On Sat, 6 Jul 2002, Gene Harris (e-mail) wrote:
> > Whenever I attempt to start Apache from /usr/local/etc/rc.d/apache.sh, I
> > get the following error message in my messages log:
> > httpd: /etc/spwd.db: Invalid argument
> >
> > In my httpd.conf file, I have user set to www and group set to www.
> > User www
> > Group www
> >
> > www exists in master.passwd and group.  Here is what I get when I enter
> > the command manually:
> > su-2.05a# /usr/local/etc/rc.d/apache.sh start
> > httpd: bad user name nobody
> > /usr/local/sbin/apachectl start: httpd could not be started
> >
> > I thought I would parse the httpd.conf using the following command:
> > su-2.05a# /usr/local/sbin/httpd -t
> > httpd: bad user name nobody
>
> 'apachectl configtest' will give details on what is wrong...

Ummmm, httpd -t is the command that 'apachectl configtest' uses, which is why 
my results are so odd.

Thanks,
-- 
Gene
            Tetron Software, LLC
        http://www.tetronsoftware.com
FreeBSD  Apache  PostgreSQL  Perl gcc/g++
   Visual C++ COM/DCOM/COM+ ActiveX

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207070412.g674CYPr047951>