Cloverleaf alert error: cannot open PID file

Homepage Clovertech Forums Cloverleaf Cloverleaf alert error: cannot open PID file

  • Creator
    Topic
  • #115938
    Christopher Wells
    Participant

    I have a Cloverleaf alert configured to re-start a process when it is down for 5 minutes.  The alert fires, but fails to re-start the process and posts an error in the Monitor Daemon log.

    Here are the commands that are being run when the alert fires:

    exec {hcilmclear -p ADT_In -v > %CL_INSTALL_DIR%\integrator\ac_production\exec\hcimonitord\ADT_In_hcilmclear.log}

    exec {hcienginerun -p ADT_In}

    Here is the error that is being written to the log:

    [aler:aler:WARN/0:_hcimonitord_:03/13/2020 10:03:43] PID Alert #0: cannot open PID file ‘E:/cloverleaf/cis6.2/integrator/ac_production/exec/processes/ADT_In/pid’: No such file or directory

    Strangely, I can move the exact same commands to a .bat file, and execute that .bat file from within the Cloverleaf alert using an exec command, and it works.

    This is a VM environment, and I suspect that has something to do with this as I have other non-VM environments where these same alerts work without issue.

    Christopher Wells

  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,125
Forums
28
Topics
9,295
Replies
34,439
Topic Tags
287
Empty Topic Tags
10