I did the instalatin exactly as mentioned n your link. Still same error.
Let me tell you what i did. I installed Openhab3. Then went to penhabian-config and installed mosquitto from the install otional components option. Then i creatd the broker thing etc etc as mentind in the install document of oenhab. And it was all working properly. Until power went off. When power came back then mosquitto is not starting. Only way can get it startd is by reinstalling using the Install optional components in the openhabian-config.
So what did I do wrong? Please helpâŠ
U asked about my mqtt config. what does that mean and what file I should share to you?.
Tbh i did not install mqtt via openhab as I run it on a seperaten VM.
It could also be a permission issue, i.e. during restart the permissions are somehow reset whereas openhabian might have set the right one (if i remember well, there is a permission fix option in openhabian which you could try).
Otherwise you could look into 2 config files:
the mqtt config as shown here(take into account that openhabian might use different folders?)
your systemd config file for mqtt which contains the startup run command and user:group: check this location: /lib/systemd/system/mosquitto.service (again, might be different on your system but usually thatâs the directory)
Thanks @pretheepkp for posting this question and @hafniumzinc for posting a link to the solution!
I have been experiencing the same issue (openHABian with openHAB 3 on RPi 4) for quite some time now but didnât have time to look into it.
Following 2 commands from the link above fixed it for me:
Thx, that solved it for me as well⊠zram seems to cause some trouble here and there. i already hat to restart it because the log-viewer does not work cause of it.