From owner-freebsd-questions Tue Mar 14 5:50: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from enterweb.enterit.com (enterweb.enterit.com [209.45.199.22]) by hub.freebsd.org (Postfix) with ESMTP id A9D0D37B79C for ; Tue, 14 Mar 2000 05:50:02 -0800 (PST) (envelope-from jconner@enterit.com) Received: from KWAN [209.45.199.38] by enterweb.enterit.com with ESMTP (SMTPD32-5.04) id A38D5000C6; Tue, 14 Mar 2000 08:50:05 DT Message-Id: <4.2.0.58.20000314085317.00a43358@mail.enterit.com> X-Sender: notjames@mail.pseudonet.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 14 Mar 2000 08:58:05 -0500 To: Sheldon Hearn , R Joseph Wright From: Jim C Subject: Re: httpd pid Cc: Danny , freebsd-questions@FreeBSD.ORG In-Reply-To: <97416.953030223@axl.ops.uunet.co.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You apparently are having a configuration file problem. Your apache is looking for /usr/local/etc/local/etc/httpd.conf To fix this, you probably want to recompile your copy of apache but this time in the ./configure line use something like this in the parameters of the configure command: ./configure --syconfdir=/usr/local/etc In fact, if you didn't use any parameters for apache you may want to do a ./configure --help You should get a big screen dump of stuff including these options which are probably some of the most important: Installation layout options: --with-layout=[F:]ID use installation path layout ID (from file F) --target=TARGET install name-associated files using basename TARGET --prefix=PREFIX install architecture-independent files in PREFIX --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX --bindir=DIR install user executables in DIR --sbindir=DIR install sysadmin executables in DIR --libexecdir=DIR install program executables in DIR --mandir=DIR install manual pages in DIR --sysconfdir=DIR install configuration files in DIR --datadir=DIR install read-only data files in DIR --includedir=DIR install includes files in DIR --localstatedir=DIR install modifiable data files in DIR --runtimedir=DIR install runtime data in DIR --logfiledir=DIR install logfile data in DIR --proxycachedir=DIR install proxy cache data in DIR - JIm At 12.37 14.03.00 +0200, Sheldon Hearn wrote: >On Mon, 13 Mar 2000 17:41:52 PST, R Joseph Wright wrote: > > > This is what I have there: > > > > fopen: No such file or directory httpd: could not open document config > > file /usr/local/etc/apache/etc/apache/httpd.conf > >It doesn't look like you installed Apache from the ports tree. Did you? >If so, which port? > >Ciua, >Sheldon. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message