Installation issues on Raspberry Pi 4

Hi

Im new to HiveMQ and have installed it on a RPi4 running 32 bit Raspian … getting errors on startup:

2023-02-06 12:12:00,319 INFO - Starting HiveMQ Enterprise Server
2023-02-06 12:12:00,327 INFO - HiveMQ version: 4.11.0
2023-02-06 12:12:00,328 INFO - HiveMQ home directory: /home/pi/hivemq-4.11.0
2023-02-06 12:12:00,332 INFO - Log Configuration was overridden by /home/pi/hivemq-4.11.0/conf/logback.xml
2023-02-06 12:12:01,567 INFO - Successfully loaded configuration from ‘/home/pi/hivemq-4.11.0/conf/config.xml’.
2023-02-06 12:12:01,823 WARN - Hard limit for open files (0) is lower than the recommended limit (1000000). Please increase the open file limit to at least the recommended limit.
2023-02-06 12:12:01,837 INFO - This node’s ID is Gtgq1
2023-02-06 12:12:01,838 INFO - Clustering is disabled
2023-02-06 12:12:03,655 ERROR - Uncaught Error:
com.google.inject.CreationException: Unable to create injector, see the following errors:

  1. [Guice/ErrorInjectingConstructor]: UnsatisfiedLinkError: /tmp/librocksdbjni9520643812699663161.so: /tmp/librocksdbjni9520643812699663161.so: cannot open shared object file: No such file or directory (Possible cause: can’t load IA 32-bit .so on a ARM-bit platform)
    at hmq.gR.l.(Source.java:50)

and so on…

the .so file is created, and dissapears when I ctrl-c the process.

java -version yeilds:
openjdk version “11.0.18” 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.18+10-post-Raspbian-1deb11u1, mixed mode)

I’ve tried installation using the zip file, and have also tried to run up a docker container. Getting suspicious that Hive wont run on an Arm/V7 chip, however theres nothing mentioned in the hardware requirements about this

Any ideas ?

Hi @SimonFish ,

Great that you are interested in MQTT and HiveMQ, welcome to the community!

The warning indicates you need to increase open file limit:

2023-02-06 12:12:01,823 WARN - Hard limit for open files (0) is lower than the recommended limit (1000000). Please increase the open file limit to at least the recommended limit.

Please refer to the HiveMQ documentation to learn about the open file limit and increasing it:

System Requirements :: HiveMQ Documentation

I hope it helps.

Kind regards,
Dasha from HiveMQ Team

indeed, I set these to 1000000 as described, I noted that the warning still appears, but I was thinking that is a secondary issue, the primary issue being that rocksdb wont run up with what looks to be a more terminal error …

@SimonFish , can you confirm which system user runs the HiveMQ processes and which permissions does the system user that runs the HiveMQ processes have to the /tmp directory of the system?

all running as root, the process does write the .os file to /tmp when it starts up, so the process does have rights on the folder