failing to stop a service means giving up on starting?

SZÉPE Viktor <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello!

Why there is no "start" attempt for 'redis' after the failed stop?

[UTC Jan  4 12:35:11] error    : 'redis' failed protocol test [REDIS]  
at [localhost]:6379 [TCP/IP] -- Connection refused
[UTC Jan  4 12:35:12] info     : 'redis' trying to restart
[UTC Jan  4 12:35:12] info     : 'redis' stop: '/etc/init.d/redis-server stop'
[UTC Jan  4 12:35:42] error    : 'redis' failed to stop (exit status  
-1) -- '/etc/init.d/redis-server stop': Program timed out -- Stopping  
redis-server:

[UTC Jan  4 12:37:37] error    : 'redis_test' status failed (1) -- no output
[UTC Jan  4 12:37:37] info     : 'olm2.olm.hu' swap usage check  
succeeded [current swap usage=6.3%]
[UTC Jan  4 12:37:37] info     : 'olm2.olm.hu' mem usage check  
succeeded [current mem usage=7.0%]

[UTC Jan  4 12:39:32] error    : 'redis_test' status failed (1) -- no output

I'd like monit to keep on trying.
Please advise.


SZÉPE Viktor, honlap üzemeltetés
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
-- 
+36-20-4242498  [email protected]  skype: szepe.viktor
Budapest, III. kerület





-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.