>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 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3b6 >Environment: Solaris 2.6, gcc 2.8.1, apache 1.3B6, not that much of that applies to this error. >Description: 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. >How-To-Repeat: See above, just uncomment those lines in the httpd.conf >Fix: 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. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
