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 2008/02/24 06:00:10 UTC

DO NOT REPLY [Bug 44476] New: - Apache service fails to start due to missing dependency

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<https://issues.apache.org/bugzilla/show_bug.cgi?id=44476>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44476

           Summary: Apache service fails to start due to missing dependency
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P2
         Component: Win32 MSI Installer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: fischerfm@yahoo.de


The Apache service fails to start. Corresponding entry in the application log:

"The Apache service named  reported the following error:
>>> DocumentRoot must be a directory     . "

However, one is able to start the service manually after login into Windows,
using the same httpd.conf

The directive Apache is complaining about looks like this:

DocumentRoot //Tiny/vboxsrv/www/htdocs/

or like that:

DocumentRoot "//Tiny/vboxsrv/www/htdocs/"

Windows, however, cannot resolve this URI for Apache before its Browser service
has started. Therefore the Apache service depends on Browser service, really.

And Apache's error message in the application log is misleading, to say the least.

Workaround: On Windows use "regedt32" ("regedit" won't work!) and add "Browser"
to the value "DependOnService" in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.2\

-- 
Configure bugmail: https://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 44476] - Apache service fails to start due to missing dependency

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<https://issues.apache.org/bugzilla/show_bug.cgi?id=44476>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44476





------- Additional Comments From fischerfm@yahoo.de  2008-02-24 04:23 -------
(In reply to comment #1)
> I don't think Apache service depends on Browser service since not all Apache 
> httpd users use Windows Network.
> 

Strange logic: Then we wouldn't even need an Apache service under Windows, since
not all httpd users will start Apache automatically during boot time. And there
is no mentioning in the docs or the httpd.conf itself that Windows network
should not be used when starting Apache as a service during boot time.

I am just suggesting to add the "Browser" dependency per default at installation
time and all cases (network - no network) would be handled "out of the box"
without fiddling around with the registry.
Or we put something up in the docs like: "Windows network not supported when
using Apache as a service."
Right now it's a real and really time wasting bug.

-- 
Configure bugmail: https://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 44476] Apache service fails to start due to missing dependency

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44476





--- Comment #3 from Will Rowe <wr...@apache.org>  2008-05-06 14:09:45 PST ---
The right answer doesn't seem to be adding the Browser service, in fact there
are no Windows services which depend upon that service starting.  It would be
interesting to know which mechanism most windows services do use when they
have external file system references.

Commenting so this bug falls into my filtered list of bugs I'm pondering.


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

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


DO NOT REPLY [Bug 44476] - Apache service fails to start due to missing dependency

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<https://issues.apache.org/bugzilla/show_bug.cgi?id=44476>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44476





------- Additional Comments From serai@lans-tv.com  2008-02-24 01:02 -------
I don't think Apache service depends on Browser service since not all Apache 
httpd users use Windows Network.


-- 
Configure bugmail: https://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