EMS fails to start on Raspberry PI OS (Buster) - Illegal Instruction
Hello,
I am following the Guide "Setup a Raspberry Pi as an IoT Device" and have downloaded MED-61060-CD-054_SP5_Microserver-Linux-arm-hwfpu-openssl-5-4-5-512.zip on a rasberry pi running the latest version of raspberry pi OS (Buster) and trying to connect to the 30 day hosted trial of ThingWorx.
When I start wsems using sudo ./wsems I get an illegal instruction:
sudo ./wsems
[FORCE] 2020-06-12 16:11:30,53 ./wsems: Initializing EMS ....
[FORCE] 2020-06-12 16:11:30,56 main: Using config file /home/pi/Downloads/microserver/etc/config.json
[INFO ] 2020-06-12 16:11:30,59 ./wsems: Creating the WsEms proxy.
[INFO ] 2020-06-12 16:11:30,63 ./wsems: Starting HTTP Server.
[WARN ] 2020-06-12 16:11:30,67 Main: Encryption is disabled on HTTP Server.
[WARN ] 2020-06-12 16:11:30,71 Main: Authentication is disabled on the HTTP Server.
[INFO ] 2020-06-12 16:11:30,75 ./wsems: Initializing the ThingWorx REST interface.
[INFO ] 2020-06-12 16:11:30,79 wsEmsProxy::initialize: FIPS is disabled.
[INFO ] 2020-06-12 16:11:30,82 wsEmsProxy::initialize: Encryption is enabled on Web Socket connection.
[FORCE] 2020-06-12 16:11:30,87 httpServer: starting http server port=8000
[WARN ] 2020-06-12 11:11:30,89 SDK: SDK Version: 2.2.0
[WARN ] 2020-06-12 11:11:30,100 SDK: TLS Library: OpenSSL
[WARN ] 2020-06-12 11:11:30,104 SDK: TLS Library Version: 1.0.2l-fips
[WARN ] 2020-06-12 11:11:30,107 SDK: FIPS Capable
Illegal instruction
Similarly when I start luaScriptResource it ends in an Illegal instruction:
sudo ./luaScriptResource
[INFO ] 2020-06-12 16:14:44,379 ./luaScriptResource: Using config file: /home/pi/Downloads/microserver/etc/config.lua
[FORCE] 2020-06-12 16:14:44,380 ./luaScriptResource: Starting up ....
[WARN ] 2020-06-12 16:14:44,422 ScriptResource::initialize: Encryption is disabled on HTTP Server.
[WARN ] 2020-06-12 16:14:44,428 ScriptResource::initialize: Authentication is disabled on the HTTP Server.
[FORCE] 2020-06-12 16:14:44,637 httpServer: starting http server port=8001
Illegal instruction
I have tried some of the other suggestions in the Developer community and those have not worked. I have seen suggestions to run an older version of raspbian but I really don't want to down grade the OS. I have also tried copying libcrypto.so.1.0.0 and libssl.so.1.0.0 to /usr/lib/arm-linux-gnueabihf as well as creating symlinks from
libssl.so.1.0.0 -> libssl.so.1.0.2 and libcrypto.so.1.0.0 -> libcrypto.so.1.0.2.
I have seen a suggestion to upgrade from MED-61060-CD-054_SP5_Microserver .... to SP6 but I have not been able to find SP6.
There is another Guide entitled "Connect Raspberry Pi to ThingWorx" and the zip file used in that Guide is MED-61060-CD-054_F000_Microserver-Linux-arm-hwfpu-openssl-5-4-5-512.zip. I am assuming by the naming scheme it may be slightly older? I haven't tried that version yet.
Does anyone have any suggestions on what is causing the error and how to get around it? I have Googled it and it appears to be issues with the ssl and crypto libraries but I am not sure how to fix that.
Appreciate any advice,
Thanks,
Dave

