Page 1 of 1

pmon.ctl Error

Posted: Thu Mar 19, 2020 2:12 am
by imhht1311
Hello!

- WinCC OA version : 3.14 Patch 15

If a script fails to read data from the database(Oracle), I used the pmonKillManager function in pmon.ctl to make the script end.
1.JPG
1.JPG (11.43 KiB) Viewed 5862 times
By the way, error message was output in log window.

I didn't modify anything in pmon.ctl and I don't know what caused this error.

Please help me.

Re: pmon.ctl Error

Posted: Thu Mar 19, 2020 8:03 am
by tobias_raab
Hey,

that's quite an old bug but still not fixed. I ended up adding those variables as globals in the pmon.ctl.

viewtopic.php?f=15&t=5243&p=961215#p956106

Best regards,
Tobias

Re: pmon.ctl Error

Posted: Thu Mar 19, 2020 8:22 am
by imhht1311
Thanks Tobias.
I'll follow your advice.

Re: pmon.ctl Error

Posted: Fri Mar 20, 2020 12:54 pm
by gschijndel
To stop you own script you could use the 'exit' function instead.
To stop another script you could use the DPE '_Managers(_2).Exit' instead as explained in the topic: How to start and stop managers from ctrl-script

Re: pmon.ctl Error

Posted: Fri Mar 27, 2020 6:32 am
by imhht1311
Thanks gschijndel.
That was a very helpful answer.