Charmed Quark Systems, Ltd. - Support Forums and Community
MQTT Verify Configuration not working - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: CQC Support (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=9)
+--- Thread: MQTT Verify Configuration not working (/showthread.php?tid=11230)



MQTT Verify Configuration not working - znelbok - 03-09-2022

Hi all.

I have been trying some more MQTT stuff and I need to verify the config file but it appears to not run

C:\Program Files (x86)\CQC\Bin>CheckMQTTCfg.exe /Moniker=CBus

CQC MQTT Config Checker

The CQC environment was not found


C:\Program Files (x86)\CQC\Bin>


The environment variable not found is obviously the problem - does anyone know how to overcome this and get the verification to work.

Thanks


RE: MQTT Verify Configuration not working - Dean Roddey - 03-15-2022

Did you run it from a CQC Command Prompt? It can't be just a regular command prompt.


RE: MQTT Verify Configuration not working - znelbok - 03-15-2022

Yes and no. The CQC Command prompt drops you into c:\windows\system32 from memory.

Nothing I have tried has worked with the same error every time


RE: MQTT Verify Configuration not working - Shaky - 03-16-2022

I have a working system with MQTT as well.  Just gave it a try to see if I can help at all:

Opened a CQC Command Prompt (via shortcut created by CQC install:
Code:
C:\Program Files\CQC\Bin>CheckMQTTCfg.exe /Moniker=MQTT1

CQC MQTT Config Checker

- The MQTT GW Server configuration parsed successfully.


C:\Program Files\CQC\Bin>

and from a regular command prompt:

Code:
C:\Users\CQCMaster>C:\"Program Files\CQC\Bin\CheckMQTTCfg.exe" /Moniker=MQTT1
Code:
CQC MQTT Config Checker
Code:
The CQC environment was not found


This is all from CQC ver 6.0.7

Let me know if there's anything else I can try to help narrow things down for you.


RE: MQTT Verify Configuration not working - Dean Roddey - 03-17-2022

It's OK where the default initial directory is. The CQC stuff is in the path, so it'll find it. You shouldn't even have to provide the path, just CheckMQTTCfg should work.