Hardware
- Raspberry Pi 3 Model B version 1.2 (ARMv8, with 1GB RAM, and 250 GB SSD)
- OS: Raspbian 9 (Stretch)
- Java Runtime Environment: java version “1.8.0_191”, Java™ SE Runtime Environment (build 1.8.0_191-b12), Java HotSpot™ Client VM (build 25.191-b12, mixed mode)
- openHAB version: 2.4.0-1 with openhab2-addons 2.4.0-1
Hello Community,
I had a working installation of openHAB. It appears to have broken after installing InfluxDB and Grafana. Does anyone have any ideas what may be going on and how to fix it?
OpenHAB2 Status
pi@openhab2:~ $ sudo service openhab2 status
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2018-12-27 12:39:10 CST; 2s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 2981 ExecStop=/usr/share/openhab2/runtime/bin/karaf stop (code=exited, status=127)
Process: 2913 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTMODE (code=exited, status=127)
Main PID: 2913 (code=exited, status=127)
Dec 27 12:39:10 openhab2 systemd[1]: openhab2.service: Unit entered failed state.
Dec 27 12:39:10 openhab2 systemd[1]: openhab2.service: Failed with result 'exit-code'.
Logs
pi@openhab2:~ $ journalctl -u openhab2
-- Logs begin at Thu 2018-12-27 07:27:38 CST, end at Thu 2018-12-27 12:42:58 CST. --
Dec 27 07:27:38 openhab2 systemd[1]: openhab2.service: Main process exited, code=exited, status=127/n/a
Dec 27 07:27:38 openhab2 karaf[19686]: /usr/share/openhab2/runtime/bin/karaf: 233: [: Illegal number:
Dec 27 07:27:38 openhab2 karaf[19686]: /usr/share/openhab2/runtime/bin/karaf: 233: [: Illegal number:
Dec 27 07:27:38 openhab2 karaf[19686]: /usr/share/openhab2/runtime/bin/karaf: 285: [: Illegal number:
Dec 27 07:27:38 openhab2 systemd[1]: openhab2.service: Control process exited, code=exited status=127
Dec 27 07:27:38 openhab2 systemd[1]: openhab2.service: Unit entered failed state.
Dec 27 07:27:38 openhab2 systemd[1]: openhab2.service: Failed with result 'exit-code'.
Dec 27 07:27:43 openhab2 systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Dec 27 07:27:43 openhab2 systemd[1]: Stopped openHAB 2 - empowering the smart home.
Dec 27 07:27:43 openhab2 systemd[1]: Started openHAB 2 - empowering the smart home.
Dec 27 07:27:44 openhab2 karaf[19758]: /usr/share/openhab2/runtime/bin/karaf: 233: [: Illegal number:
Dec 27 07:27:44 openhab2 karaf[19758]: /usr/share/openhab2/runtime/bin/karaf: 233: [: Illegal number:
Dec 27 07:27:44 openhab2 karaf[19758]: /usr/share/openhab2/runtime/bin/karaf: 285: [: Illegal number:
Dec 27 07:27:44 openhab2 systemd[1]: openhab2.service: Main process exited, code=exited, status=127/n/a
Dec 27 07:27:44 openhab2 karaf[19827]: /usr/share/openhab2/runtime/bin/karaf: 233: [: Illegal number:
Dec 27 07:27:44 openhab2 karaf[19827]: /usr/share/openhab2/runtime/bin/karaf: 233: [: Illegal number:
Dec 27 07:27:44 openhab2 karaf[19827]: /usr/share/openhab2/runtime/bin/karaf: 285: [: Illegal number:
Dec 27 07:27:44 openhab2 systemd[1]: openhab2.service: Control process exited, code=exited status=127
Dec 27 07:27:44 openhab2 systemd[1]: openhab2.service: Unit entered failed state.
Dec 27 07:27:44 openhab2 systemd[1]: openhab2.service: Failed with result 'exit-code'.
Dec 27 07:27:49 openhab2 systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Dec 27 07:27:49 openhab2 systemd[1]: Stopped openHAB 2 - empowering the smart home.
Dec 27 07:27:49 openhab2 systemd[1]: Started openHAB 2 - empowering the smart home.
Regards,
Burzin