Mosquitto 1.0 python changes

Looks like there have been some changes to the Mosquitto v1.0.1 python libraries. So far only hit the one but it was quite a major one. The connect method has been changed. If you try and run your code you will get Traceback (most recent call last): File “test.py”, line 13, in <module> mqttc.connect(broker, port, […]

Installing Mosquitto 1.0.1 in Raspbian on Raspberry Pi

Mosquito have just released their 1.0 release..well actually its already 1.01 🙂 Currently the Raspbian repositories don’t seem to have it but its nice and easy to get working wget http://mosquitto.org/files/source/mosquitto-1.0.1.tar.gz tar -zxvf mosquitto-1.0.1.tar.gz cd mosquitto-1.0.1 make sudo make install sudo ldconfig Jobs a goodun. It can be checked by running “moqsuitto -v”. If you […]

Using node.js WebSockets to get live MQTT updates

To keep some of my pages up to date with the live sensor data I am using websockets to get MQTT publications. On the server there are two parts. A Python script which is monitoring a serial port for data and then publishing it accordingly. Information about this can be found at  XRF Temperature Sensor -> […]

Installing MQ / libstdc++.so.5 pre-req on RHEL6

One of the pre-reqs that if needed by MQ7 (or more specifically gsk7bas) is that it needs – libstdc++.so.5. If you try and find this package its often not available. To install it run the following commands yum groupinstall “Compatibility libraries” yum install libstdc++.so.5 If you want to install MQ 7.0.1.5 you will also need […]

MQ on RHEL6 FDC – MSGAMQ6119 Resource temporarily unavailable’ from pthread_create

After configuring a RHEL6 box with MQ 7.0.1.5 we hit a problem where by when we had a large number of connections (118) it would then fail to allow any more connections. You could also not perform any operations on the box. If you attempted to make a change you got the following error fork: retry: […]

Apply MQ Service on Ubuntu – 7.0.1.0 to 7.0.1.5

The first thing to do before upgrading MQ is to stop all queue managers. If you are running any message brokers then stop these as well. i.e. endmqm CSIM Use the command “dspmq” to check that all local queue managers are stopped Download the fixback from the IBM service web site – i.e. for 64-bit […]

Install MQ 7.0.1.0 onto Ubuntu 10.4 (or greater)

Ubuntu is not officially supported on MQ 7.0.1.0 but it runs fine except you need a few tweeks to get it installed. As ubuntu normally uses Apt-Get to install packages we need to install the rpm packages. This lets you use the rpm command like you would on other linux OSs sudo apt-get install rpm […]