www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Kahn <zap...@cybernetix.com>
Subject config/2175: default path in httpd.conf incorrect
Date Sun, 03 May 1998 00:12:35 GMT

>Number:         2175
>Category:       config
>Synopsis:       default path in httpd.conf incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          mistaken
>Submitter-Id:   apache
>Arrival-Date:   Sat May  2 17:20:01 PDT 1998
>Originator:     zaphod@cybernetix.com
>Release:        1.3b6
Solaris 2.6, gcc 2.8.1, apache 1.3B6, not that much of that applies to this error.
After the make install, and editing the conf files for the first time,
I uncommented the following lines in the httpd.conf:

CustomLog logs/referer_log referer
CustomLog logs/agent_log agent

When attempting to start up apache, it just exited:

/usr/local/apache/sbin/apachectl start: httpd could not be started

After a bit of searching using "truss /usr/local/apache/sbin/httpd", I found
that it was not finding the SERVER_ROOT/logs directory.  So, just changing the
entry in httpd.conf to:

CustomLog var/logs/referer_log referer
CustomLog var/logs/agent_log agent

...resolves the problem.

See above, just uncomment those lines in the httpd.conf
The error message generated by httpd (or the exit code passed to apachectl) should
indicate exactly what the problem is, i.e. "Non-existant: logs/referrer_log" or
"Directory: logs (defined in httpd.conf), does not exist"

And, you should probably make that small change to the existing default entries
in the generic httpd.conf.

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message