eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
314 stars 179 forks source link

Not able to execute MQTT-SN-Gateway #179

Closed Dinakaranevil closed 4 years ago

Dinakaranevil commented 4 years ago

terminate called after throwing an instance of 'MQTTSNGW::Exception' what(): RingBuffer can't create a shared memory. Aborted (core dumped)

ty4tw commented 4 years ago

Hi, If you get the error message as follows:

what(): RingBuffer can't create a shared memory.
Aborted (core dumped)

You have to start using sudo command only once for the first time.

$ sudo ./MQTT-SNGateway [-f Config file name]

I will add the info about this to README.