Red Hat Bugzilla – Bug 24843
Nanny tries to execute "none"
Last modified: 2007-04-18 12:30:52 EDT
I configured nanny to use none as the loadCommand, assuming that it
will not try to determine the load of the real servers. However, nanny tries
to execute the command "none" which it cannot find.
The following change to nanny from piranha-0.4.17-7 fixed it for me:
--- nanny.c.orig Wed Jan 24 10:53:17 2001
+++ nanny.c.new Wed Jan 24 14:08:53 2001
@@ -781,7 +781,7 @@
*argp++ = loadCommand;
*argp++ = inet_ntoa(*remoteAddr);
- if (strcmp(loadCommand, (char *) "none"))
+ if (strcmp(loadCommand, (char *) "none") == 0)
return -1.0; /* nothing to see here, go home silently */
if (strcmp(loadCommand, (char *) "rup"))
Patch has been applied to nanny and will appear in a future update.