>Number:         5258
>Category:       mod_log-any
>Synopsis:       httpd quietly crashes if access_log is a bad symbolic link
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Nov  5 04:10:00 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.X
>Environment:
BSDI BSD/OS 3.0

Nothing special here
>Description:
I spent several hours tracking this bug down.  I have around 200 VirtualHosts.
In one of them there is a line that reads:

TransferLog /cruzio/vr/www.ecservers.com/access_log

Suppose the file "/cruzio/vr/www.ecservers.com/access_log" is a symbolic link
that points to /u/xxx125/logs/access_log.

If the path that "/u/xxx125/logs/access_log" is a bad path, i.e. if the 
directory /u/xxx125 does not exist then httpd will silently crash. 
No error messages in error_log or stderr, stdout.

httpd should detect this condition and report it to the user.  This should not
have taken hours to troubleshoot.  
>How-To-Repeat:
See above
>Fix:
Do an lstat and check the results?
>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 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!     ]



Reply via email to