I am running openHAB2 on a Raspberry Pi 2 with Raspbian (Debian 7) on it for a while. Since the last update (via apt-get) the service is not working anymore.
I have to start openHAB manually with the command:
If i run
the reponse is
[ ok ] Starting openHAB2 server: openhab2.
I can see a java process starting for a short period of time and then quitting.
I have no clue, whats wrong here. Are there any logs, I can have a closer look to?
Thx in advance,
I have the same problem, I think.
Doesn’t start on reboot.
Will try with
Edit: Nope. for me OH2 doesnt start using start either.
did you try sudo systemctl status openhab2.service ?
Maybe enough info why you have a problem.
for start: sudo systemctl start openhab2.service
If I try the command mentioned in the post from @demlstda, I get the following error (I guess because Debian 7 does not have systemctl)
sudo: systemctl: command not found
In the openHAB log is nothing written, the behaviour looks like karaf is not even getting started.
pi@homeauto /etc/init.d $ sudo apt-get install systemd
pi@homeauto ~ $ sudo systemctl status openhab2.service
Failed to get D-Bus connection: No connection to service manager.
Still fails to start up.
After a fresh install it is working now. Seems that something was really messed up.