Autorun/start Mosquitto on boot - openhabian Pi 2b

  • Platform information:
    • Hardware: Raspi 2 B
    • OS: Lastest OHabian
    • Java Runtime Environment: Latest
    • openHAB version: 2.5.5 latest
  • Issue of the topic: please be detailed explaining your issue

I need to log in through putty and run " sudo mosquitto" whenever I restart my Pi, everything else works fine on reboot except that I cannot control any mqtt devices until I log in and run mosquitto manually.

I’ve tried to reinstall via openhabian-config but it fails with errors, the broker itself runs without trouble, just that it doesn’t start on boot.

Mosquitto should run as a systemd service, so to start it you should use sudo systemctl start mosquitto to make it run properly. To make it start automatically on boot, run sudo systemctl enable mosquitto

which errors do you get ?
What does

sudo journalctl -b

report ?