Don Kramer wrote:



Hi,
I'm running Apache 2.2.11, PHP 5.2.9-2, and MySQL Server 5.1
in 32-bit Windows XP Professional in a VM installed inside VMWare Workstation 
6.5.2.  I've noticed after booting up the VM, often
even through the Apache service is up and running and http://localhost and
http://localhost/phptest.php is successful, the tray icon for the Apache
monitor says (when I hover over) "running none of 1 Apache service",
and the tray icon has a red arrow, not a green arrow.  If I manually stop and 
restart the service ;
then the message changes to "Running all Apache services" and the
arrow turns to green.  I don't see in the
drop-down menu for compatibility an entry for "Windows XP".  Anyway, it's 
merely cosmetic  since the service is up and running and
everything is working OK, but what wondering what the root cause, fix is for
this so the tray icon reflects the correct status of whether the Apache service
is running or not.  Thanks in advance for
your responses.
I'll offer an explanation, for what it's worth :
Under Windows, the order in which the Services are started is somewhat uncontrollable (at least for the user).
Apache itself is one Service.
The Apache Monitor (the owner of the little system tray icon) is another Service. That little icon itself in the system tray depends on yet another Windows Service. They are all started at system boot, but in an order that may be different depending on the particular PC (order of installation, other installed Services, and whatever else the Redmond wizards have invented). The time each one needs to start may also be variable.

Probably, when the Apache Service starts or stops, it sends a message to the Apache Monitor to tell it of its change of status. But if at that time, the Monitor Service itself is not yet responsive, it misses that signal.

If it really bothers you, the little Apache Monitor system tray icon is not indispensable, and can be disabled. One could even say that all these system tray icons are in fact totally superfluous and cost system resources permamently, while being useful only 0.00099% of the time.

There is a nifty program available on the web, called "What's Running".
You would be amazed to find out how much power is available in your PC, once you turn off all the non-indispensable Services that a Windows XP standard installation enables by default.


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to