aik@aikopi:~$ netstat -an | grep 8080
aik@aikopi:~$ openhab-cli showinfo
Unrecognised command: showinfo
Usage: openhab-cli command [options]
Possible commands:
start [--debug] -- Starts openHAB in the terminal.
stop -- Stops any running instance of openHAB.
status -- Checks to see if openHAB is running.
console -- Opens the openHAB console.
backup [filename] -- Stores the current configuration of openHAB.
restore filename -- Restores the openHAB configuration from a backup.
showlogs -- Displays the log messages of openHAB.
info -- Displays distribution information.
aik@aikopi:~$ openhab-cli status
A systemd service configuration exists...
Use 'sudo /bin/systemctl status openhab2.service' to find the status of an openHAB service
openHAB is running with PID: 15069 and has been running for 10:47:38
aik@aikopi:~$ openhab-cli info
awk: cannot open /etc/version.properties (No such file or directory)
awk: cannot open /etc/version.properties (No such file or directory)
Version: ()
User: openhab (Active Process 15069)
User Groups: openhab
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
URLs: http://192.168.10.200:
https://192.168.10.200:
aik@aikopi:~$ openhab-cli showlogs
/usr/bin/openhab-cli: 140: /usr/bin/openhab-cli: OPENHAB_LOGDIR: parameter not set or null
aik@aikopi:~$ sudo journalctl -u openhab2.service -b | cat
-- Logs begin at Fri 2018-03-02 21:37:44 AEDT, end at Sat 2018-03-03 11:12:04 AEDT. --
Mar 02 22:09:17 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:39:21 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:40:07 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:41:55 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:41:57 aikopi karaf[4336]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:41:57 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:41:58 aikopi karaf[4422]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:41:58 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:41:58 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:41:58 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:03 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:03 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:03 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:05 aikopi karaf[4511]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:05 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:06 aikopi karaf[4596]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:06 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:06 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:06 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:11 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:11 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:11 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:12 aikopi karaf[4705]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:13 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:15 aikopi karaf[4809]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:15 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:15 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:15 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:20 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:20 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:20 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:21 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:42:21 aikopi karaf[4911]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:21 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:22 aikopi karaf[4988]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:22 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:22 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:22 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:22 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:22 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:24 aikopi karaf[5084]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:24 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:25 aikopi karaf[5170]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:25 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:25 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:25 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:30 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:30 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:30 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:31 aikopi karaf[5259]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:31 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:32 aikopi karaf[5344]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:32 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:32 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:32 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:37 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:37 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:37 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:39 aikopi karaf[5437]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:39 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:40 aikopi karaf[5522]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:40 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:40 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:40 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:45 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:45 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:45 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:46 aikopi karaf[5609]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:46 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:47 aikopi karaf[5694]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:47 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:47 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:47 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:52 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:52 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:52 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:54 aikopi karaf[5780]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:54 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:55 aikopi karaf[5865]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:55 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:55 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:55 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:00 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:43:00 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:43:00 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:43:01 aikopi karaf[5953]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:01 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:43:02 aikopi karaf[6038]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:02 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:43:02 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:43:02 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:07 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:43:07 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:43:07 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:43:09 aikopi karaf[6128]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:09 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:43:10 aikopi karaf[6213]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:10 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:43:10 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:43:10 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:15 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:43:15 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:43:15 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:43:16 aikopi karaf[6310]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:16 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:43:18 aikopi karaf[6402]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:19 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:43:19 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:43:19 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:19 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:44:32 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:44:32 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:47:07 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:47:18 aikopi karaf[6611]: org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.11.3.v20170209-1843"; singleton:="true" [id=0] STOPPED [STOPPED]
Mar 02 22:47:19 aikopi karaf[6611]: at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
Mar 02 22:47:19 aikopi karaf[6611]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.asyncStop(EquinoxBundle.java:156)
Mar 02 22:47:19 aikopi karaf[6611]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:262)
Mar 02 22:47:19 aikopi karaf[6611]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:267)
Mar 02 22:47:19 aikopi karaf[6611]: at org.eclipse.osgi.launch.Equinox.stop(Equinox.java:123)
Mar 02 22:47:19 aikopi karaf[6611]: at org.apache.karaf.main.Main$2$1.run(Main.java:355)
Mar 02 22:47:19 aikopi karaf[6611]: Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
Mar 02 22:47:19 aikopi karaf[6611]: at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
Mar 02 22:47:19 aikopi karaf[6611]: ... 5 more
Mar 02 22:47:21 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:47:21 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:47:52 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:49:07 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:49:50 aikopi karaf[6996]: WARNING: EventAdmin: Event Task Processing Interrupted. Events may not be recieved in proper order.
Mar 02 22:49:50 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:49:51 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:57:48 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:58:31 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:03:18 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:05:34 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:05:34 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:16:39 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:17:22 aikopi karaf[8236]: WARNING: EventAdmin: Event Task Processing Interrupted. Events may not be recieved in proper order.
Mar 02 23:17:22 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:17:54 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:22:33 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:23:15 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:23:15 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:32:36 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:33:19 aikopi karaf[10071]: WARNING: EventAdmin: Event Task Processing Interrupted. Events may not be recieved in proper order.
Mar 02 23:33:19 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:38:33 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:48:40 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:50:42 aikopi karaf[11550]: Can't connect to the container. The container is not running.
Mar 02 23:50:42 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 23:50:42 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 23:50:42 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 23:50:48 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 23:50:48 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:50:48 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:51:56 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:52:02 aikopi karaf[12224]: Can't connect to the container. The container is not running.
Mar 02 23:52:02 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 23:52:07 aikopi karaf[11684]: org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.11.3.v20170209-1843"; osgi.identity="org.eclipse.osgi"; singleton:="true" [id=0] STOPPED [STOPPED]
Mar 02 23:52:07 aikopi karaf[11684]: at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
Mar 02 23:52:07 aikopi karaf[11684]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.asyncStop(EquinoxBundle.java:156)
Mar 02 23:52:07 aikopi karaf[11684]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:262)
Mar 02 23:52:07 aikopi karaf[11684]: at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:267)
Mar 02 23:52:07 aikopi karaf[11684]: at org.eclipse.osgi.launch.Equinox.stop(Equinox.java:123)
Mar 02 23:52:07 aikopi karaf[11684]: at org.apache.karaf.main.Main$2$1.run(Main.java:355)
Mar 02 23:52:07 aikopi karaf[11684]: Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
Mar 02 23:52:07 aikopi karaf[11684]: at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
Mar 02 23:52:07 aikopi karaf[11684]: ... 5 more
Mar 02 23:52:49 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:52:49 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 23:52:49 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 23:52:58 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:57:21 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:57:29 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:57:58 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 03 00:23:34 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
aik@aikopi:~$