I installed OpenHAB on a RPi3 with a recent Rasbian Jessie Lite OS. I followed the
guide from the docs.
Java is Zulu:
$ java -version
openjdk version "1.8.0_112"
OpenJDK Runtime Environment (Zulu Embedded 220.127.116.11-linux-aarch32hf) (build 1.8.0_112-b31)
OpenJDK Client VM (Zulu Embedded 18.104.22.168-linux-aarch32hf) (build 25.112-b31, mixed mode, Evaluation)
I installed OpenHAB official release and add ons package from the repo.
Then I start OpenHAB as suggested:
$ sudo /etc/init.d/openhab2 start
[ ok ] Starting openhab2 (via systemctl): openhab2.service.
I get the status, startup failed
sudo /etc/init.d/openhab2 status
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled)
Active: failed (Result: start-limit) since Sat 2017-04-15 16:58:02 UTC; 7s ago
Process: 1366 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=127)
Process: 1301 ExecStart=/usr/share/openhab2/start.sh server (code=exited, status=127)
Main PID: 1301 (code=exited, status=127)
Could anyone please tell me what I am doing wrong?
Did you try it the recommended way?
sudo systemctl start openhab2.service
Yes, I did. I posted the second attempt I made with the SysVini method, but first I tried with the systemd method.
There don’t seem to be any helpful error messages, so I don’t know how to locate the root cause.
Are you on the
stable or snapshot release?
Note that with the snapshot release the builds are broken, last successful one is
I use the stable release:
deb http://dl.bintray.com/openhab/apt-repo2 stable main
Wanted to be sure it works
I’m not sure if those are broken too:
Hmm, looks like Murphies law hit again.
Does that mean the stable release is not really what it says it is, “stable”? Is it actually being rebuilt continuously?
Where can I get a working OH2 package?
Everything working again:
Done! The online repo is now also filled with the latest snapshot builds, so all should be fine again!
@mbuchberger1967 Any issues that you might find from now should be considered as bugs, so please open a dedicated topic or issue for them.
Thanks, OpenHAB is starting now.
Actually I don’t know if the package was faulty. After some tries, eventually I switched to the Beta release (testing repo) but got an error about /usr/bin/java not found. Created a symlink for that to the Zulu java executable and that was it. Everything is fine now.