Dear all,
I have been postponing to start with openhab for a while, and this week I have been trying to install this on a spare NUC i had lying around.
As I only had ubuntu installed, I said I would give it a try.
I followed the instructions to install it on linux, and to most extend did not had any problem. I have never used linux either (expect to run XBMC) so it took me a while to install the java part.
Anyhow,
I keep trying to start Openhab, but I can’t seem to be capable of this.
I have even tried to reinstall openhab, but I keep getting the same error.
Can anyone give me a hand. I really want to jump into this
I tried googling the error, but I can’t figure out what I should do or how linux works :)) so please be patient. I am a hardware guy, not a software guy.
Anyhow. This is what happens when I try to start it. (by the way, the linux installation restarts every day at 3 am, as I had it set ed up as an access point and it kept crashing after a few days.
-- ap@ap-desktop:~$ sudo systemctl daemon-reload
ap@ap-desktop:~$ sudo systemctl start openhab2.service
ap@ap-desktop:~$ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since So 2017-11-12 17:27:13 CET; 829ms ago
Docs: http://docs.openhab.org
https://community.openhab.org
Process: 9997 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=1/FAILURE)
Process: 9886 ExecStart=/usr/share/openhab2/start.sh server (code=exited, status=1/FAILURE)
Main PID: 9886 (code=exited, status=1/FAILURE)
Nov 12 17:27:12 ap-desktop systemd[1]: openhab2.service: Unit entered failed state.
Nov 12 17:27:12 ap-desktop systemd[1]: openhab2.service: Failed with result 'exit-code'.
Nov 12 17:27:13 ap-desktop systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Nov 12 17:27:13 ap-desktop systemd[1]: Stopped openHAB 2 - empowering the smart home.
Nov 12 17:27:13 ap-desktop systemd[1]: openhab2.service: Start request repeated too quickly.
Nov 12 17:27:13 ap-desktop systemd[1]: Failed to start openHAB 2 - empowering the smart home.
ap@ap-desktop:~$ java -version
openjdk version "9.0.0.15"
OpenJDK Runtime Environment (Zulu build 9.0.0.15+181)
OpenJDK 64-Bit Server VM (Zulu build 9.0.0.15+181, mixed mode)
ap@ap-desktop:~$
P.S. i am running Ubuntu 16.04 x64 on an Celeron N2820 with 8gb ram.
Hopefully, someone smarter has any ideas of what I’m doing wrong.
best regards,
Emanuel