From owner-freebsd-questions Sat Jul 6 21:12:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6B2637B400 for ; Sat, 6 Jul 2002 21:12:29 -0700 (PDT) Received: from ns1.tetronsoftware.com (ns1.tetronsoftware.com [65.67.249.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE1743E31 for ; Sat, 6 Jul 2002 21:12:28 -0700 (PDT) (envelope-from geneh@tetronsoftware.com) Received: from there (3a7h0sxwstanpbc0@freebsd.internal.tetronsoftware.com [10.0.0.200]) by ns1.tetronsoftware.com (8.12.4/8.11.2/check_local4.1) with SMTP id g674CYPr047951; Sat, 6 Jul 2002 23:12:36 -0500 (CDT) (envelope-from geneh@tetronsoftware.com) Message-Id: <200207070412.g674CYPr047951@ns1.tetronsoftware.com> Content-Type: text/plain; charset="iso-8859-1" From: "Gene Harris (e-mail)" Organization: Tetron Software, LLC To: Andy Farkas Subject: Re: Odd log message starting httpd Date: Sat, 6 Jul 2002 23:12:34 -0500 X-Mailer: KMail [version 1.3.2] Cc: References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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