Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

Email alert when Logitech media server service fails?

$
0
0
I'm running LMS Version: 7.7.5 in Windows 7 home premium (64-bit).

Every 4-8 days the LMS service fails and Event Viewer implicates ntdll.dll:
Code:

Faulting application name: SqueezeSvr.exe, version: 275.0.0.0, time stamp: 0x4e209f7a
Faulting module name: ntdll.dll, version: 6.1.7601.18798, time stamp: 0x5507b3e0

Running scf clears ntdll.dll of blame:
Code:

sfc /scanfile=C:\Windows\SysWOW64\ntdll.dll
Windows Resource Protection did not find any integrity violations.

So I removed and reinstalled the squeeze server service:

Code:

C:\Program Files (x86)\Squeezebox\server>SqueezeSvr.exe -remove
Logitech Media Server removed.

C:\Program Files (x86)\Squeezebox\server>SqueezeSvr.exe -install
squeezesvc installed as Logitech Media Server.

I now want to have windows email me when (if) in future SqueezeSvr.exe fails. I have written a dos script to send myself an email when the script is run, and referred to it in the 'Run a program' option in the 'Recovery' tab of the services management console in windows.

The script works when run from a command prompt. But i can't easily test that last step works (getting it invoked by the service management software when a service fails), because it seems that stopping a running windows service (by clicking on the 'Stop' button) is not seen as a failure!

Can anyone help?

Viewing all articles
Browse latest Browse all 5300

Trending Articles