Debian 8 - Starting of OH2 failing

  • Platform information:
    • Hardware: Mac mini 2012 10gb ram with fusion drive
    • OS: Debian 8 running in parallels

Hello,
I installed Openhab 2 at Debian 8, following this guide:

But I’m getting this error when starting:

parallels@debian-gnu-linux-8:~$ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2019-03-25 21:05:33 CET; 4s ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 7382 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=1/FAILURE)
  Process: 7301 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTMODE (code=exited, status=1/FAILURE)
 Main PID: 7301 (code=exited, status=1/FAILURE)

Mar 25 21:05:33 debian-gnu-linux-8 systemd[1]: Unit openhab2.service entered failed state.
parallels@debian-gnu-linux-8:~$  sudo /bin/systemctl start openhab2.service
parallels@debian-gnu-linux-8:~$ 
parallels@debian-gnu-linux-8:~$ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2019-03-25 21:06:21 CET; 1s ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
  Process: 8846 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=1/FAILURE)
  Process: 8765 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTMODE (code=exited, status=1/FAILURE)
 Main PID: 8765 (code=exited, status=1/FAILURE)

Mar 25 21:06:21 debian-gnu-linux-8 systemd[1]: Unit openhab2.service entered failed state.

Anything in openhab.log?

Also, could you post the result of:

openhab-cli info

Hi Max

Is the service enabled?