[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monit NOT starting for no reason

From: Support Team
Subject: Monit NOT starting for no reason
Date: Tue, 9 Jul 2019 08:28:10 +1200


 check process jpagerenderer with pidfile /opt/deployment/services/JPageRenderer/
   start program = "/bin/bash -c 'cd /opt/deployment/services/JPageRenderer/ && ./'" with timeout 90 seconds
   stop program = "/bin/bash -c 'cd /opt/deployment/services/JPageRenderer/ && ./'"
   if failed host port 80 protocol http request "/" for 2 cycles then restart

What user does monit start the service at?

Why does NOTHING happen? is:


echo "Starting PageRasterizer service..."
./ > /opt/deployment/services/JPageRenderer/log.txt 2>&1 & disown
echo $! > /opt/deployment/services/JPageRenderer/
export DISPLAY=:0

java -Xmx768m -cp jetty-all-9.4.5.v20170502-uber.jar:json-simple-1.1.jar:. JPageRendererService

Any ideas? Was saying failed to start (exit status 0) a few times.

Why can't monit log stderr and stdout so I can see why this isn't working?


"Coming together is a beginning; keeping together is progress; working together is success."

Henry Ford


The information contained in this email message may contain confidential or privileged information.  It is intended only for the individual or company named above.  If you are not the intended recipient, you are hereby notified that any use, review, dissemination, distribution or copying of this email message is strictly prohibited.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]