You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Brad Pardee <pa...@nielsenmedia.com> on 1999/08/26 21:48:28 UTC

general/4912: Looks for httpd.conf in wrong location on startup.

>Number:         4912
>Category:       general
>Synopsis:       Looks for httpd.conf in wrong location on startup.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 26 12:50:00 PDT 1999
>Last-Modified:
>Originator:     pardeeb@nielsenmedia.com
>Organization:
apache
>Release:        1.3.9
>Environment:
SunOS umi-c001-m6 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-2
>Description:
When I try to startup Apache, I get the following error:
  fopen: No such file or directory
  httpd: could not open document config file /usr/local/apache/conf/httpd.conf
  /umi/www/apache/bin/apachectl start: httpd could not be started

My configure line looks as follows:

  CC=cc ./configure --prefix=/umi/www/apache \
	--enable-suexec --suexec-caller=umi \
	--enable-module=rewrite --enable-shared=rewrite \
	--enable-module=auth_dbm --enable-shared=auth_dbm \
	--enable-module=auth_anon --enable-shared=auth_anon \
	--enable-module=proxy --enable-shared=proxy

I also tried explicitly setting exec-prefix and sysconfdir, but that didn't 
help.  

This problem did not exist with version 1.3.6

Also, I don't directly install to the PREFIX (/umi/www/apache), but install with
the line:
  make install-quiet root=../..
Then I use Solaris packaging to actually package and install the file.  I don't 
think this is related, but including it for completeness.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]