Looks like there have been some changes to the Moqsuitto 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, [...]
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 [...]
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 -> [...]
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 22.214.171.124 you will also need
After configuring a RHEL6 box with MQ 126.96.36.199 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: [...]
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 [...]
Aftert upgrading to Ubuntu 11.04 my server would not boot. It looks like there is a bug in the update such that if you upgrade from Ubuntu 10.10 which itself had been upgraded from Ubuntu 10.04, and grub was never reinstalled then you just get a GRUB prompt after bootup.
To fix this you need [...]
Ubuntu is not officially supported on MQ 188.8.131.52 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
Create a VM with similar characteristics i.e. Same OS & HDD setup as real machine.
IBM HS20 Blade 2x Xeon Processors Filesystem Size Used Avail Use% Mounted on /dev/sda5 48G 3.5G 43G 8% / /dev/sda1 99M 53M 41M 57% /boot /dev/sdb5 49G 4.5G 42G 10% /db2data none 2.0G 0 2.0G 0% /dev/shm /dev/sdb2 [...]