Hi Thanks for your attention because I suspected to that,I already changed permission to 777 for pid file. When I manually execute /etc/init/tomcat the pid is changed!! in addition, I do know why monit determine tomcat is down while tomcat is up and running without any issue!!!
Thanks for any help On 2/19/10, Martin Pala <[email protected]> wrote: > Hi, > > Monit expects PID of the process to be in the pidfile ... if process is > restarted, it should update the pidfile with new PID. It is possible that > the startup script doesn't update the pidfile correctly. > > You can use -v option with monit to see more details. > > Regards, > Martin > > On Feb 19, 2010, at 10:17 AM, nima chavooshi wrote: > >> Hi >> Firs of thanks for your effort on this good tool >> Recently I installed monit on my debian server. that's so good. but >> monit can not correctly recognize tomcat service. when tomcat for any >> reason is died, it recognizes that and then restarts service and >> everything is ok, but on list of service displayed tomcat is down!! >> >> Thanks in advance >> >> -- >> N.Chavoshi >> >> >> -- >> To unsubscribe: >> http://lists.nongnu.org/mailman/listinfo/monit-general > > > > -- > To unsubscribe: > http://lists.nongnu.org/mailman/listinfo/monit-general > -- N.Chavoshi -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
