Re: httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Indeed :), it wud wrk great i guess ( just remember a recetnt thread running for this :))
Just now I noticed that log. may be he need to escape double quotes as well (\"<path>\") when starting from that cluster??
 
Regards
Prasanna Ram


On Wed, May 6, 2009 at 10:46 PM, André Warnier <aw@xxxxxxxxxx> wrote:
In addition to Jonathan's remarks, when looking at the detail of these log messages (the ones mentioning the arguments along with an argument number), I have the feeling that this illustrates once again the fundamental idiocy and error-proneness of paths with embedded spaces.

It looks very much like the command-line is being parsed by splitting on space chars.  Probably again a case where initial quoting is stripped at step 1, and confuses subsequent steps no end.

To the OP : what would happen if you installed Apache in, say, C:\Apache ?





Jonathan Zuckerman wrote:
On Wednesday, May 6, 2009, Raja Shekar CS <rshekar@xxxxxxxxx> wrote:
Hi,
@Jonathan: error output I get is the complete usage help. There is no specific error seen.
I added some debug logging to the httpd startup code, and it looks like Microsoft Failover Cluster server is passing invalid arguments:

When started from Microsoft Failover Cluster:
[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 0 of 8 (8):: C:\\Program Files (x86)\\NetApp\\DataFabric Manager\\DFM\\bin\\httpd.exe
[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 1 of 8 (8):: -d[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 2 of 8 (8):: C:/Program Files (x86)/NetApp/DataFabric Manager/DFM[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 3 of 8 (8):: -f
[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 4 of 8 (8):: C:\\Program Files (x86)\\NetApp\\DataFabric Manager\\DFM\\conf\\httpd.conf[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 5 of 8 (8):: Files
[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 6 of 8 (8):: (x86)\\NetApp\\DataFabric[Wed May 06 19:28:09 2009] [warn]  INPUT ARGS 7 of 8 (8):: Manager\\DFM\\bin\\httpd.exe -k runservice

The last three are causing the issue. These three are automatically taken as startup parameter when apache service as added as Generic Service to failover cluster (screenshot attached).
When started from Service Control Manager (on the same system):

[Wed May 06 19:29:24 2009] [warn]  INPUT ARGS 0 of 5 (5):: C:\\Program Files (x86)\\NetApp\\DataFabric Manager\\DFM\\bin\\httpd.exe[Wed May 06 19:29:24 2009] [warn]  INPUT ARGS 1 of 5 (5):: -d
[Wed May 06 19:29:24 2009] [warn]  INPUT ARGS 2 of 5 (5):: C:/Program Files (x86)/NetApp/DataFabric Manager/DFM[Wed May 06 19:29:24 2009] [warn]  INPUT ARGS 3 of 5 (5):: -f[Wed May 06 19:29:24 2009] [warn]  INPUT ARGS 4 of 5 (5):: C:\\Program Files (x86)\\NetApp\\DataFabric Manager\\DFM\\conf\\httpd.conf

By ignoring the error for the additional parameters, I was able to start httpd through Failover Cluster.
However, I am looking for one clarification:
Service installed in service control manager with "Path to executable" as:

"C:\\Program Files (x86)\\NetApp\\DataFabric Manager\\DFM\\bin\\httpd.exe" -k runservice
I am not able to understand why the "-k runservice" argument is not showing up when started through service control manager. Just want to be sure that i haven't made a mistake in logging, and that this is the expected behavior.

Thanks for your inputs,
Raj.
On Wed, May 6, 2009 at 2:34 AM, Jonathan Zuckerman <j.zuckerman@xxxxxxxxx> wrote:
On Tue, May 5, 2009 at 5:26 AM, Raja Shekar CS <rshekar@xxxxxxxxx> wrote:
Hi,

I tried an earlier version of apache (2.0.63) and also at simpler path. No
luck.

Any other hints ? Pls let me know.

Thanks,
Raj.

On Mon, May 4, 2009 at 5:57 PM, Eric Covener <covener@xxxxxxxxx> wrote:
On Mon, May 4, 2009 at 7:57 AM, Raja Shekar CS <rshekar@xxxxxxxxx> wrote:
I am facing an issue in bringing up httpd (2.2.10) configured in
Microsoft
Failover Cluster (MSCS) on Windows 2008 64 bit system.
Usage: C:\\Program Files (x86)\\DFM\\bin\\httpd.exe [-D name] [-d
Tried simplifying the path?

--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Is it normal for the backslashrs in the path to be doubled up like that?
Also why is the -k parameter outside the string delimiters?
Sorry I'm not familiar with the microsoft technologies..


Could you paste the error output?  From what you've sent us it looks
like you're not substituting actual values for the optional parameter
descriptions of the program signature, and are also using two slashes
to separate directories instead of one..

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux