I'm running raspbian on a raspberry pi and installed the mqtt broker v.1.4.1.1 and now I want to get the messages from the broker on the same machine (the raspberry pi) over mosquitto websockets.
I tried to set up the config file like this:
mosquitto -c /etc/mosquitto/mosquitto.conf
I took a look at that question: Mosquitto 1.4.2 Websocket support
But I can't find any directory called: mosquitto-1.4.X
Where can I find it and does this solve the issue I'm having?
The X in mosquitto-1.4.X is for the version number and in the answer you point to they are talking about having built mosquitto from it's source.
When you download the source it unpacks into a directory with that naming structure.
It sounds like the version you have installed does not have Websockets support compiled in. The answer in the linked question explains how to enable Websocket support before rebuilding and installing.
Related
I'm running Alpine 3.12 with the latest 64-bit kernel. Installed VS extension for remote server ssh connections and by trying to connect, I see that the process has downloaded a folder ".vscode-server" on my remote server, which means that the connection happened, but after loading for some time I receive this message "The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++". I did some googling on this, and I see that a few people were having trouble as they didn't have enough space on their server storage to install some libraries, but this is not the case for me. The extension itself provides me with this link https://code.visualstudio.com/docs/remote/linux#_remote-host-container-wsl-linux-prerequisites explaining that there could be problems for Alpine based systems, but it should work anyways, but I can't quite find the problem. Maybe someone has faced this issue and can guide me to the solution?
I want to use Qpid Proton on the raspberry pi 4 but I have trouble installing it.
Well, it seems I could install it and I can use the examples from the Apache website.
https://qpid.apache.org/releases/qpid-proton-0.33.0/proton/python/docs/tutorial.html
However, the container's on_sendable callback does not seem to be executed.
After doing some research, it seems I need to add a topic exchange with the qpid-config, which is part of qpid-tools.
However, those are not available to install, both with pip or apt ...
Do you know how I can install Qpid-Tools on the raspberry pi?
Do I need to add a repository? And if so, where do I find it?
It's doubtful that there exists a build of qpid-tools fir the ARM based distributions so the short answer is probably that you can't get those tools there. The longer answer would be that you would need to likely build the qpid C++ binaries yourself on your Raspberry Pi using the included INSTALL instructions to try and reverse engineer the needed requirements and platform configuration that would allow it to build on ARM.
If you figure out the requirements you could feed that back to the Qpid community although I don't think there is much ongoing momentum for the Qpid C++ broker.
You can download the source bundle from the Qpid project site here.
This question may sound absurd as I am totally new to XMPP & Openfire. I have a setup of Openfire 4.2.3 in Ubuntu 18.0.4 LTS that being used in my android chat app. During testing I received a Timeout error. While investigating the issue I found the solution rely on the XMPP updated version, check this link for more info.
Well I tried my best to find out my XMPP version and how to update it. Unfortunately I didn't find anything on it. So, I have two obvious questions here:
How to check XMPP version my Openfire is running on?
How to update XMPP version on my existing Openfire setup?
Since you are able to use the web-interface, just log in. On the start page look for the server properties. Theres the version.
For upgrading follow these steps:
To stop openfire on ubuntu: /etc/init.d/openfire stop;
Backup copy of the openfire installation directory: /usr/share/openfire;
Backup Openfire Base in Postgres: If you use the pgAdmin application, right-click on openfire base and click “Backup”. To run backup, it can be with own postgres as user. I recommend tar format, and encoding “SQL_ASCII”.
To install the new version: you can actually use the “dpkg -i” command, you will be asked if you want to keep your current version (choose this one), but you will still upgrade (option N or O - keep your currently -installed version).
On the java, has a statement informing that from version 4.3 will be necessary Java 8 installed.
Source: https://discourse.igniterealtime.org/t/update-openfire-4-1-6-to-4-2-1-in-ubuntu-server/80336
And if you really meant the "XMPP-Version". There is not really such a thing. XMPP is implemented to a different extend on different server-providers. Some have more extensions, some less.
To see which ones you have, refer to the wikipedia site:
https://en.wikipedia.org/wiki/Comparison_of_XMPP_server_software
I've seen on StackOverflow that's possibile develop a cluster composed of a single node.
My challenge is maybe harder: setting an apache storm environment on a single raspberry pi 3. I know that is a very limited machine to do stream computing, but mine is a research interest. Until now, I have not found system requirements to setup storm on a machine, someone can help me?
Thanks to all
Yes, Ideally it should be possible once you have Linux OS installed for e.g. Ubuntu Mate on Raspberry Pi 3.
You may be required to make sure you have these packages installed:
Java 7
Python 2.
Then follow below link for a basic setup of Storm:
https://github.com/vrmorusu/Storm/wiki/Apache-Storm-on-Cloudera-VM
You may build uberjar files containing Storm topology files on your local machines to avoid installation of maven and other build tool dependencies.
It would be great if you can try this and post your success story or issues seen in this forum. It will help getting more focused answer(s) for problem(s).
I'm new to storm .. i imported project using storm-0.8.2 and installed zookeeper-3.4.7 with storm -0.8.2
I ran nimbus bin/storm nimbus and found in the log of the nimbus another version for zookeeper
[INFO] Client environment:zookeeper.version=3.3.3-1073969,built on 02/23/2011 22:27 GMT
How can i solve it ?
The shown message is an INFO message an no error. It only shows the client version that is shipped with Storm (ie, the ZK client version that is included in Storm binaries). Ie, Storm does not use the binaries from your ZK installation to connect to ZK. As long as the APIs are compatible, there is no reason to worry about it.
The only way to "resolve" this would be to use a different Storm version (that ships with a different ZK version or to install a different ZK (ie, 3.3.3 instead of 3.4.7)