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 47450] httpd service doesn't start when run from failover cluster on Windows Server 2008 32 and 64 bit
Date Tue, 26 Jul 2011 03:53:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47450

--- Comment #11 from Ilguiz Latypov <ilatypov@infradead.org> 2011-07-26 03:53:31 UTC
---
I do not have any Cluster commands available and I believe I do not have
cluster services on our 64-bit Server 2008.

I had the same issue.  I could not change my DocumentRoot.  Using Process
Explorer I figured that "-k runservice" executed the following command,

"C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\httpd.exe" -d
"C:/Program Files (x86)/Apache Software Foundation/Apache2.2"

(I saw the -f option with a path to httpd.conf originally as well).

I suspected that Apache configuration parser could not handle brackets after
seeing a suggestion to symlink the server directory to a simple path,

 http://jamesmcdonald.id.au/it-tips/32-bit-apache-on-windows-error


http://www.thoughtlabs.com/2011/03/25/how-to-set-up-apache-on-windows-7-to-support-facebook-secure-browsing/

So I created a directory symlink and changed all references to the "(x86)"
directory in configuration files with "c:/apache".

 c:
 cd \
 mklink /d apache "c:\Program Files (x86)\Apache Software Foundation\Apache2.2"

Then I stopped the service and restarted it again.

 C:\apache\conf>..\bin\httpd.exe -k start

This time I could see my own DocumentRoot taking its place in the browser after
cleaning its cache.

NB: I did not realize that "-k uninstall" followed by "-k install" will erase
my crafted configuration files.  The logs\install.log file showed me how
httpd.exe copied original files on top of my modifications.  So I learned to
save configuration files away from the Apache directories.

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


Mime
View raw message