ondrej1024
(Ondrej Wisniewski)
April 15, 2017, 5:57pm
1
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 8.19.0.31-linux-aarch32hf) (build 1.8.0_112-b31)
OpenJDK Client VM (Zulu Embedded 8.19.0.31-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
Docs: http://docs.openhab.org
https://community.openhab.org
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?
Thanks, Ondrej
sihui
(SiHui)
April 16, 2017, 5:39am
2
Did you try it the recommended way?
sudo systemctl start openhab2.service
ondrej1024
(Ondrej Wisniewski)
April 16, 2017, 7:16am
3
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.
sihui
(SiHui)
April 16, 2017, 7:26am
4
Are you on the stable or snapshot release?
Note that with the snapshot release the builds are broken, last successful one is #858 …
ondrej1024
(Ondrej Wisniewski)
April 16, 2017, 8:36am
5
I use the stable release:
deb http://dl.bintray.com/openhab/apt-repo2 stable main
Wanted to be sure it works
sihui
(SiHui)
April 16, 2017, 9:11am
6
I’m not sure if those are broken too:
ondrej1024
(Ondrej Wisniewski)
April 16, 2017, 10:47am
7
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?
Thanks.
sihui
(SiHui)
April 16, 2017, 5:20pm
8
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.
ondrej1024
(Ondrej Wisniewski)
April 18, 2017, 3:57pm
9
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.