Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2000 08:58:05 -0500
From:      Jim C <jconner@enterit.com>
To:        Sheldon Hearn <sheldonh@uunet.co.za>, R Joseph Wright <rjoseph@nwlink.com>
Cc:        Danny <dannyh@idx.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: httpd pid 
Message-ID:  <4.2.0.58.20000314085317.00a43358@mail.enterit.com>
In-Reply-To: <97416.953030223@axl.ops.uunet.co.za>
References:  <Your message of "Mon, 13 Mar 2000 17:41:52 PST." <Pine.BSF.4.21.0003131736570.98260-100000@mammalia.sea>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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