Skip to content
Advertisement

Tag: mqtt

Error: Unable to write pid file Mosquitto v2.0.3

since I updated Mosquitto v2.0.3 on Ubuntu 16.04 the users can’t connect to the broker. When I tried to run with /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf it threw the following message. 2020-12-22|12:37:02: Error: Unable to write pid file. I saw some people had the same problem, so I added pid_file /var/run/mosquitto/mosquitto.pid in mosquitto config but the problem did no go away. I

Send Commands remotely from Windows to Linux through Java

I searched everywhere but can’t find a solution that works. I have a Linux Debian machine in my network, which is running as a Mqtt Broker. I want to write a java programm to send sub and pub commands to the broker from another computer (Windows). Is there a way to send Linux commands from a Windows Computer? If yes,

HiveMQ systemctl service not listening to port

I am trying to set up HiveMQ on my Amazon EC2 instance (ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20170414) using this guide: http://www.hivemq.com/docs/hivemq/latest/#hivemqdocs_installation_for_specific_operating_systems After installing I can succesfully run HiveMQ using: Change directory to HiveMQ directory cd /opt/hivemq Execute startup script ./bin/run.sh HiveMQ will start running, and listening to port 1883 and I can connect and subscribe to the broker. When I run HiveMQ as a

Advertisement