Date: Sat, 6 Jul 2002 10:26:48 -0500 From: "Gene Harris (e-mail)" <geneh@tetronsoftware.com> To: "Jack L. Stone" <jackstone@sage-one.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Odd log message starting httpd Message-ID: <200207061526.g66FQmPr000867@ns1.tetronsoftware.com> In-Reply-To: <3.0.5.32.20020706100622.0120f8c8@mail.sage-one.net> References: <3.0.5.32.20020706100622.0120f8c8@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 06 July 2002 10:06 am, Jack L. Stone wrote: > At 09:37 AM 7.6.2002 -0500, Gene Harris (e-mail) wrote: > >I just upgraded apache13 to the current port. I am running 4.6-Stable. > > > >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 > > > >As you can see, I am not getting anywhere. I've searched the web, but all > > I can find are items that say the user 'nobody' does not exist in your > > password > > >and group files. > > > >Many Thanks, > >-- > >Gene > > Who do you have as owner:group for the document root....???? I have a separate user:group owner for the document root. The only thing that has changed is that FreeBSD moved from the user:group apache:apache to www:www, which I changed in my httpd.conf file. I've marked the directories as world readable. > > Best regards, > Jack L. Stone, > Administrator > > SageOne Net > http://www.sage-one.net > jackstone@sage-one.net -- 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?200207061526.g66FQmPr000867>