Open Anshul-99 opened 4 years ago
@Anshul-99
I have met the same problem. Maybe your mosquitto service was running, you need stop mosquitto service before run rsmb broker. It works for me.
Try:
sudo service mosquitto stop
before you run:
sudo ./broker_mqtts config.mqtt
I followed your tutorial but when I try run rsmb I get,
sudo ./broker_mqtts config.mqtt [sudo] password for anshul: 20200823 221438.050 CWNAN9999I Really Small Message Broker 20200823 221438.050 CWNAN9998I Part of Project Mosquitto in Eclipse (http://projects.eclipse.org/projects/technology.mosquitto) 20200823 221438.050 CWNAN0049I Configuration file name is config.mqtt 20200823 221438.050 CWNAN0053I Version 1.3.0.2, Aug 26 2016 01:39:45 20200823 221438.050 CWNAN0054I Features included: bridge MQTTS 20200823 221438.050 CWNAN9993I Authors: Ian Craggs (icraggs@uk.ibm.com), Nicholas O'Leary 20200823 221438.050 CWNAN0075W Socket error 98 (Address already in use) in bind for socket 3 20200823 221438.050 CWNAN0078W Cannot bind port 1883 20200823 221438.050 CWNAN0015W Cannot start listener on port 1883 20200823 221438.050 CWNAN0016I MQTT protocol stopping 20200823 221438.050 CWNAN0301I MQTT-S protocol stopping 20200823 221438.050 CWNAN0075W Socket error 88 (Socket operation on non-socket) in shutdown for socket 0 20200823 221438.050 CWNAN0044I Messages sent: 0 20200823 221438.050 CWNAN0043I Messages received: 0 20200823 221438.051 CWNAN0042I Uptime: 0 seconds 20200823 221438.051 CWNAN0055I Maximum heap use: 132720 bytes 20200823 221438.051 CWNAN0047I Broker stopped
I tried
kill -9 1883
but it says that operation is not permitted.How should I proceed further?