[mapguide-users] Check if service is running?

Willem Schwarte willem at giskit.nl
Wed May 3 10:14:40 EDT 2006


We have purchased a tool from www.restartservices.com
<http://www.restartservices.com/>  (pro version) which restarts any
failed services (even across domains). It also has the option to send an
email once a service has been restarted. ( 100 $) 

 

So far I have had 3 e-mails...

 

 

 

Willem

 

________________________________

Van: Jason Birch [mailto:Jason.Birch at nanaimo.ca] 
Verzonden: dinsdag 2 mei 2006 8:45
Aan: users at mapguide.osgeo.org
Onderwerp: RE: [mapguide-users] Check if service is running?

 

Well, I made some headway on this, but ran into a bug along the way:

 

https://mapguide.osgeo.org/servlets/Scarab?id=MG269

 

I could have sworn that I had reported this earlier, but I couldn't find
it in the PT.  Basically NET START "MapGuide Server" does not work
because of a name conflict with the "Server" service.  Anyone else see
this?  The SC command (possibly another XP/2k3-specific command) appears
to work because it only accepts the service name.

 

You can download a draft PHP CLI health monitoring utility here:

http://www.jasonbirch.com/files/mghealthmonitor.zip

 

Note, this utility is probably XP/Win2k3-specific. Let me know what you
think.


Jason

________________________________

From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: Mon 2006-05-01 3:02 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Check if service is running?

I wish Windows had the same kind of consistent command line tools that
unix does.  I'm trying to think of a way to deal with this across
Win2k/XP/Win2k3, but short of using the Sysinternals tools I'm drawing a
blank.  ps and grep would really come in handy.

 

- The Windows KILL command doesn't appear to have a mechanism for
identifying the process ID beforehand.  

 

- The TASKKILL command appears to have everything we need, but it isn't
available in 2000

 

I think I'm going to take the easy way out and use TASKKILL, with
alternate instructions for downloading and using pskill.

 

Jason

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060503/d7cab0c2/attachment.html


More information about the Mapguide-users mailing list