Post date: 01-Oct-2009 20:40:10
We have a crucial service stop running without any reason. I found there is an error showing on windows system log.
Here it's the error xml:
Log Name: System
Source: Service Control Manager
Date: 1/10/2009 12:00:47 a.m.
Event ID: 7034
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: computer name
Description:
The % service terminated unexpectedly. It has done this 1 time(s).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908D1-A6D7-4695-8E1E-26931D2012F4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7034</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-09-30T21:37:47.000Z" />
<EventRecordID>42934</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>computer name</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">%</Data>
<Data Name="param2">1</Data>
</EventData>
</Event>
I found a solution from http://technet.microsoft.com/en-us/library/cc756320(WS.10).aspx
So I apply the auto restart actions that the Service Control Manager will take when a service fails.
If we want, we can written a small program to send us a alert when a service fail.