I recently corrected a similar issue on two Win2003 servers.  The fix
was to set the SA service to run as system* with desktop interaction.
All of this has to be done on the machine, not a terminal services
session, and then the service needs to be started while sitting at the
machine.  Then I lock the server rather than log out.

The phantom service lockups stopped completely on the two servers and
have not been back since I made the change.  (Previously I was running
the service as an admin account and managing it and the gui via terminal
services.)

Hope this helps.

David

*yes, I know per the recent security post(s) I am leaving myself open to
everything bad that anyone could ever imagine, including hackers,
zombies, trojans, snakes, frogs, locusts, and atomic wedgies, but hey
that's the kind of crazy guy I am. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Servers Alive
Sent: Thursday, March 17, 2005 4:28 PM
To: salive@woodstone.nu
Subject: [SA-list] SA Service Unexpectedly Terminating

I am running SA as a service on Windows Server 2003.
 
Lately I have been experiencing the service terminating unexpectedly.  I
have debug logging set to maximum, and every time SA crashes, it's right
in the middle of writing the log file.  A log file sample from such an
instance looks like this:
 
Monday, March 14, 2005 6:54:06 AM URL check contains string:
Anoka-Hennepin(CON-14)
Monday, March 14, 2005 6:54:06 AM URL check took  391 ms
Monday, March 14, 200Monday, March 14, 2005 6:54:33 AM Servers Alive
version 5.0.1680.3
Monday, March 14, 2005 6:54:33 AM Running on Microsoft Windows Server
2003 Family Standard Edition (3790) 
 
or:
 
Sunday, March 13, 2005 5:47:06 AM URL check contains string:
Anoka-Hennepin(CON-14)
Sunday, March 13, 2005 5:47:06 AM URL check took  344 ms
Sunday, March 13, 2005 Sunday, March 13, 2005 5:47:20 AM Servers Alive
version 5.0.1680.3
Sunday, March 13, 2005 5:47:20 AM Running on Microsoft Windows Server
2003 Family Standard Edition (3790) 
 
As you can see, SA crashes right in the middle of writing to the log
file, and picks up right where it left off when the service restarts
itself.  This happens on average two or three times a day.  It's only
been a week, but I haven't yet noticed any patterns in the times that it
crashes -- I'll keep you updated though.
 
First things that come to my brain:
 
1.  Is the log file for each check cycle written all at once at the end
of a cycle?  Or is each line written in real-time *during* the check
cycle itself?
 
2.  All Windows Event Log reports is that the service terminated
unexpectedly.  The moon icon remains in the tray, and disappears when
you put your mouse over it (common when a Windows program crashes).
 
3.  I have a second computer set to authenticate to the server running
SA and check the service is running.  It checks every 30 seconds.  I
don't think this is related to SA crashing however, because the
30-second checks and the crashes don't coincide (that I can tell
anyway).
 
4.  SA crashing does not appear to coincide with any of the server
checks failing... the services I check have all gone up and down many
times in the past week, and 99.9% of the time, SA does all the checks
and alerts flawlessly.  .01% of the time, it seems to crash on me.  
 
Any thoughts from anybody on this?  I went into detail in hopes that I'd
trigger something in somebody's brain out there regarding this problem.
Thanks.
 
- Eric
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to