You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/07/03 15:04:43 UTC

DO NOT REPLY [Bug 39951] New: - apache2 doesen't start if path to errorlog is wrong

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


DO NOT REPLY [Bug 39951] - apache2 doesen't start if path to errorlog is wrong

Posted by bu...@apache.org.
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


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From rpluem@apache.org  2006-07-03 21:03 -------
Sorry but I cannot reproduce this error. If httpd fails to open the error log of
the main server it writes an error message to stderr. If it can open the main
server error log and fails to open an error log of a virtual host it writes this
to the error log of the main server.

-- 
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