check if service running? and restart

If none of the more specific forums is the right place to ask

check if service running? and restart

Postby mauric » 2018-02-26 20:44

Hello together

I have here a little ASSP Server running sometime one or two time the week the service stop's
and i dont see why, no log write any helpfull Informations.

no discussion this server i will setup new ..... but for now, any urgent fix i need, and i appreciate any little fix.
exist here any scanner that "monitor" this service, so that after any possible crash, this will restart the service!

thanks for any possible ideas or help
regards
Mauri
mauric
 
Posts: 25
Joined: 2017-07-25 08:50

Re: check if service running? and restart

Postby Head_on_a_Stick » 2018-02-26 20:53

mauric wrote:exist here any scanner that "monitor" this service, so that after any possible crash, this will restart the service!

Isn't init supposed to do that? :P

But seriously, shouldn't we try to find out why it is failing and fix that instead?

Also, is your search engine broken?

https://stackoverflow.com/questions/310 ... riodically
"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher."
— Antoine de Saint Exupéry, Terre des Hommes (1939).
User avatar
Head_on_a_Stick
 
Posts: 7544
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: check if service running? and restart

Postby mauric » 2018-02-26 21:03

i don't will ask to present here any possible fix, i only will ask if here have the possibiliti exist that have fight with same problems.......
this machine i will setup new, no discussion .... but for now i need a workaround.

but if no one here will share any know-how i think that i'am wrong here!

please write only if you have serious intense to Discuss or share, sarcasmus i don't need on this time.
mauric
 
Posts: 25
Joined: 2017-07-25 08:50

Re: check if service running? and restart

Postby GarryRicketson » 2018-02-27 00:57

OK, then I guess I better just not say anything
User avatar
GarryRicketson
 
Posts: 4802
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: check if service running? and restart

Postby debiman » 2018-02-27 06:36

mauric wrote:please write only if you have serious intense to Discuss or share, sarcasmus i don't need on this time.
so in all seriousness i'm telling you that you hven't provided any useful information at all.
please fix that asap (or hear crickets).
read the first link in my signature.
User avatar
debiman
 
Posts: 2396
Joined: 2013-03-12 07:18


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable