httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39951] New: - apache2 doesen't start if path to errorlog is wrong
Date Mon, 03 Jul 2006 13:04:43 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39951>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39951

           Summary: apache2 doesen't start if path to errorlog is wrong
           Product: Apache httpd-2
           Version: 2.0.54
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ErrorMessage
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache@spacetrace.org


i installed apache2 and when i transfered the httpd.conf to the new structure
with sites-available ..., i got a severe problem:
apache2 doesen't start without telling why. i found out after a long search,
that the path to the ErrorLog for some old virtualhosts didnt exist on the mashine.

this was the definition i tried to add at first:
<VirtualHost *>
    ServerAdmin webmaster@spacetrace.org
    DocumentRoot /web/spacetrace/pics
    ServerName spacetrace.hirnbrand.de
    ErrorLog /var/log/httpd/space_errors.log
    CustomLog /var/log/httpd/space_access.log common
</VirtualHost>

and the right configuration later was:
<VirtualHost *>
    ServerAdmin webmaster@spacetrace.org
    DocumentRoot /web/spacetrace/pics
    ServerName spacetrace.hirnbrand.de
    ErrorLog /var/log/apache2/space_errors.log
    CustomLog /var/log/apache2/space_access.log common
</VirtualHost>

another solution would have been to enter a symlink 
ln -s /var/log/apache2 /var/log/httpd

but i think there should be a warning, when you try to start apache and it
cannot start like "directory doesent exist: /var/log/httpd" or so

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message