Docker openhab 2.2.0 and 2.3.0-snapshot arm64 - IOException: Unable to parse columns

Hello,

I am trying to run OH 2.2.0-snapshot for arm64 based on alpine.
The container run terminates with:

Error executing command: java.io.IOException: Unable to parse columns

The openhab.log is empty, but I see a bunch of files and folders created in /storage/openhab (to be expected).

Can someone help or replicate the issue on an arm64 device?
Not sure if I am running into a bug or something.

Note that the stable version image openhab/openhab:2.1.0-arm64-alpine works fine for me.

Here is how I run my container:

docker run -d \
--name openhab \
--tty \
-v /storage/openhab/addons:/openhab/addons \
-v /storage/openhab/conf:/openhab/conf \
-v /storage/openhab/userdata:/openhab/userdata \
-p 8181:8080 \
openhab/openhab:2.2.0-snapshot-arm64-alpine

Here is the entire startup:

Rock64:~ # docker logs openhab
+ set -euo pipefail
+ IFS=

+ rm -f /openhab/runtime/instances/instance.properties
+ rm -f /openhab/userdata/tmp/instances/instance.properties
+ NEW_USER_ID=9001
+ echo Starting with openhab user id: 9001
Starting with openhab user id: 9001
+ id -u openhab
+ echo Create user openhab with id 9001
Create user openhab with id 9001
+ adduser -u 9001 -D -g  -h /openhab openhab
+ ls -A /openhab/userdata
+ [ -z  ]
+ echo No userdata found... initializing.
No userdata found... initializing.
+ cp -av /openhab/userdata.dist/. /openhab/userdata/
'/openhab/userdata.dist/./logs/openhab.log' -> '/openhab/userdata/./logs/openhab.log'
'/openhab/userdata.dist/./logs' -> '/openhab/userdata/./logs'
'/openhab/userdata.dist/./tmp/README' -> '/openhab/userdata/./tmp/README'
'/openhab/userdata.dist/./tmp' -> '/openhab/userdata/./tmp'
'/openhab/userdata.dist/./etc/branding-ssh.properties' -> '/openhab/userdata/./etc/branding-ssh.properties'
'/openhab/userdata.dist/./etc/branding.properties' -> '/openhab/userdata/./etc/branding.properties'
'/openhab/userdata.dist/./etc/overrides.properties' -> '/openhab/userdata/./etc/overrides.properties'
'/openhab/userdata.dist/./etc/org.apache.felix.eventadmin.impl.EventAdmin.cfg' -> '/openhab/userdata/./etc/org.apache.felix.eventadmin.impl.EventAdmin.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.features.repos.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.features.repos.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.shell.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.shell.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.jaas.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.jaas.cfg'
'/openhab/userdata.dist/./etc/startup.properties' -> '/openhab/userdata/./etc/startup.properties'
'/openhab/userdata.dist/./etc/equinox-debug.properties' -> '/openhab/userdata/./etc/equinox-debug.properties'
'/openhab/userdata.dist/./etc/all.policy' -> '/openhab/userdata/./etc/all.policy'
'/openhab/userdata.dist/./etc/org.ops4j.pax.logging.cfg' -> '/openhab/userdata/./etc/org.ops4j.pax.logging.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.system.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.system.cfg'
'/openhab/userdata.dist/./etc/keys.properties' -> '/openhab/userdata/./etc/keys.properties'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.feature.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.feature.cfg'
'/openhab/userdata.dist/./etc/custom.system.properties' -> '/openhab/userdata/./etc/custom.system.properties'
'/openhab/userdata.dist/./etc/org.apache.karaf.log.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.log.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.jaas.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.jaas.cfg'
'/openhab/userdata.dist/./etc/scripts/shell.completion.script' -> '/openhab/userdata/./etc/scripts/shell.completion.script'
'/openhab/userdata.dist/./etc/scripts' -> '/openhab/userdata/./etc/scripts'
'/openhab/userdata.dist/./etc/shell.init.script' -> '/openhab/userdata/./etc/shell.init.script'
'/openhab/userdata.dist/./etc/org.jupnp.cfg' -> '/openhab/userdata/./etc/org.jupnp.cfg'
'/openhab/userdata.dist/./etc/org.apache.felix.fileinstall-deploy.cfg' -> '/openhab/userdata/./etc/org.apache.felix.fileinstall-deploy.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.kar.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.kar.cfg'
'/openhab/userdata.dist/./etc/system.properties' -> '/openhab/userdata/./etc/system.properties'
'/openhab/userdata.dist/./etc/version.properties' -> '/openhab/userdata/./etc/version.properties'
'/openhab/userdata.dist/./etc/jmx.acl.org.apache.karaf.bundle.cfg' -> '/openhab/userdata/./etc/jmx.acl.org.apache.karaf.bundle.cfg'
'/openhab/userdata.dist/./etc/users.properties' -> '/openhab/userdata/./etc/users.properties'
'/openhab/userdata.dist/./etc/distribution.info' -> '/openhab/userdata/./etc/distribution.info'
'/openhab/userdata.dist/./etc/org.apache.karaf.kar.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.kar.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.shell.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.shell.cfg'
'/openhab/userdata.dist/./etc/java.util.logging.properties' -> '/openhab/userdata/./etc/java.util.logging.properties'
'/openhab/userdata.dist/./etc/org.apache.karaf.features.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.features.cfg'
'/openhab/userdata.dist/./etc/config.properties' -> '/openhab/userdata/./etc/config.properties'
'/openhab/userdata.dist/./etc/custom.properties' -> '/openhab/userdata/./etc/custom.properties'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.scope_bundle.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.scope_bundle.cfg'
'/openhab/userdata.dist/./etc/jmx.acl.org.apache.karaf.config.cfg' -> '/openhab/userdata/./etc/jmx.acl.org.apache.karaf.config.cfg'
'/openhab/userdata.dist/./etc/org.ops4j.pax.web.cfg' -> '/openhab/userdata/./etc/org.ops4j.pax.web.cfg'
'/openhab/userdata.dist/./etc/keystore' -> '/openhab/userdata/./etc/keystore'
'/openhab/userdata.dist/./etc/jre.properties' -> '/openhab/userdata/./etc/jre.properties'
'/openhab/userdata.dist/./etc/org.ops4j.pax.url.mvn.cfg' -> '/openhab/userdata/./etc/org.ops4j.pax.url.mvn.cfg'
'/openhab/userdata.dist/./etc/org.eclipse.smarthome.voice.cfg' -> '/openhab/userdata/./etc/org.eclipse.smarthome.voice.cfg'
'/openhab/userdata.dist/./etc/profile.cfg' -> '/openhab/userdata/./etc/profile.cfg'
'/openhab/userdata.dist/./etc/org.eclipse.smarthome.audio.cfg' -> '/openhab/userdata/./etc/org.eclipse.smarthome.audio.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.config.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.config.cfg'
'/openhab/userdata.dist/./etc/com.eclipsesource.jaxrs.connector.cfg' -> '/openhab/userdata/./etc/com.eclipsesource.jaxrs.connector.cfg'
'/openhab/userdata.dist/./etc/com.eclipsesource.jaxrs.swagger.config.cfg' -> '/openhab/userdata/./etc/com.eclipsesource.jaxrs.swagger.config.cfg'
'/openhab/userdata.dist/./etc/org.apache.karaf.command.acl.bundle.cfg' -> '/openhab/userdata/./etc/org.apache.karaf.command.acl.bundle.cfg'
'/openhab/userdata.dist/./etc' -> '/openhab/userdata/./etc'
'/openhab/userdata.dist/.' -> '/openhab/userdata/.'
+ ls -A /openhab/conf
+ [ -z  ]
+ echo No configuration found... initializing.
No configuration found... initializing.
+ cp -av /openhab/conf.dist/. /openhab/conf/
'/openhab/conf.dist/./transform/readme.txt' -> '/openhab/conf/./transform/readme.txt'
'/openhab/conf.dist/./transform/de.map' -> '/openhab/conf/./transform/de.map'
'/openhab/conf.dist/./transform/en.map' -> '/openhab/conf/./transform/en.map'
'/openhab/conf.dist/./transform' -> '/openhab/conf/./transform'
'/openhab/conf.dist/./icons/classic/readme.txt' -> '/openhab/conf/./icons/classic/readme.txt'
'/openhab/conf.dist/./icons/classic' -> '/openhab/conf/./icons/classic'
'/openhab/conf.dist/./icons' -> '/openhab/conf/./icons'
'/openhab/conf.dist/./services/readme.txt' -> '/openhab/conf/./services/readme.txt'
'/openhab/conf.dist/./services/runtime.cfg' -> '/openhab/conf/./services/runtime.cfg'
'/openhab/conf.dist/./services/addons.cfg' -> '/openhab/conf/./services/addons.cfg'
'/openhab/conf.dist/./services' -> '/openhab/conf/./services'
'/openhab/conf.dist/./things/readme.txt' -> '/openhab/conf/./things/readme.txt'
'/openhab/conf.dist/./things' -> '/openhab/conf/./things'
'/openhab/conf.dist/./sitemaps/readme.txt' -> '/openhab/conf/./sitemaps/readme.txt'
'/openhab/conf.dist/./sitemaps' -> '/openhab/conf/./sitemaps'
'/openhab/conf.dist/./scripts/readme.txt' -> '/openhab/conf/./scripts/readme.txt'
'/openhab/conf.dist/./scripts' -> '/openhab/conf/./scripts'
'/openhab/conf.dist/./rules/readme.txt' -> '/openhab/conf/./rules/readme.txt'
'/openhab/conf.dist/./rules' -> '/openhab/conf/./rules'
'/openhab/conf.dist/./persistence/readme.txt' -> '/openhab/conf/./persistence/readme.txt'
'/openhab/conf.dist/./persistence' -> '/openhab/conf/./persistence'
'/openhab/conf.dist/./html/readme.txt' -> '/openhab/conf/./html/readme.txt'
'/openhab/conf.dist/./html/index.html' -> '/openhab/conf/./html/index.html'
'/openhab/conf.dist/./html' -> '/openhab/conf/./html'
'/openhab/conf.dist/./items/readme.txt' -> '/openhab/conf/./items/readme.txt'
'/openhab/conf.dist/./items' -> '/openhab/conf/./items'
'/openhab/conf.dist/./sounds/doorbell.mp3' -> '/openhab/conf/./sounds/doorbell.mp3'
'/openhab/conf.dist/./sounds/barking.mp3' -> '/openhab/conf/./sounds/barking.mp3'
'/openhab/conf.dist/./sounds' -> '/openhab/conf/./sounds'
'/openhab/conf.dist/.' -> '/openhab/conf/.'
+ chown -R openhab:openhab /openhab
+ exec su-exec openhab ./start.sh
Launching the openHAB runtime...

                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.2.0-SNAPSHOT
                               Build #1099

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

Error executing command: java.io.IOException: Unable to parse columns

My device is Rock64 from Pine64 and environment is:

Rock64:~ # uname -a
Linux Rock64 4.4.83 #1 SMP Fri Nov 17 09:15:51 CET 2017 aarch64 GNU/Linux

Rock64:~ # docker info
Containers: 4
 Running: 2
 Paused: 0
 Stopped: 2
Images: 13
Server Version: 17.10.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version:  (expected: 06b9cb3)
runc version: 0351df1
init version: 949e6fa
Kernel Version: 4.4.83
Operating System: LibreELEC (Raybuntu): rb-leia16
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 3.837GiB
Name: Rock64
ID: AR4C:XVBJ:NBZP:4KBN:MP6V:ZZLK:EFF3:K34R:7MZS:OWUO:A5ED:IYAC
Docker Root Dir: /storage/.kodi/userdata/addon_data/service.system.docker/docker
Debug Mode (client): false
Debug Mode (server): false
Username: zarusz
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No kernel memory limit support

I just tried the 2.2.0 release version image and I get the same issue.

I turned on DEBUG logging, tested with latest 2.3.0-snapshot and got the following in openhab.log. It does look like a native library cannot be loaded:

java.lang.UnsatisfiedLinkError: no jansi-1.16 in java.library.path

Can someone comment how to go about fixing this? @Kai
If this would be an arm64 problem, then other platforms like Pine64 would also not work.

Here is the full log:

2017-12-27 09:57:59.442 [DEBUG] [ell.impl.action.osgi.CommandExtender] - org.apache.karaf.shell.commands (10): Starting extension synchronously
2017-12-27 09:57:59.722 [INFO ] [ll.impl.action.osgi.CommandExtension] - Registering commands for bundle org.apache.karaf.shell.commands/4.1.3
2017-12-27 09:57:59.800 [DEBUG] [org.jline                           ] - Error creating JNA based terminal: com/sun/jna/Platform
java.lang.NoClassDefFoundError: com/sun/jna/Platform
	at org.jline.terminal.impl.jna.JnaNativePty.current(JnaNativePty.java:39) ~[14:org.jline:3.5.1.sp1]
	at org.jline.terminal.impl.jna.JnaSupportImpl.current(JnaSupportImpl.java:16) ~[14:org.jline:3.5.1.sp1]
	at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:314) [14:org.jline:3.5.1.sp1]
	at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
	at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
	at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform cannot be found by org.jline_3.5.1.sp1
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461) ~[?:?]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372) ~[?:?]
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364) ~[?:?]
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]
	... 22 more
2017-12-27 09:57:59.948 [DEBUG] [org.jline                           ] - Error creating JANSI based terminal: Could not load library. Reasons: [java.lang.LinkageError: Unable to load library jansi64-1.16, java.lang.LinkageError: Unable to load library jansi-1.16, java.lang.LinkageError: Unable to load library jansi, java.lang.LinkageError: Unable to load library from /openhab/userdata/tmp/libjansi-1.16-8397193790654797633.so, java.lang.LinkageError: Unable to load library from /openhab/.hawtjni/jansi/libjansi-1.16-3333920788733061459.so]
java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [java.lang.LinkageError: Unable to load library jansi64-1.16, java.lang.LinkageError: Unable to load library jansi-1.16, java.lang.LinkageError: Unable to load library jansi, java.lang.LinkageError: Unable to load library from /openhab/userdata/tmp/libjansi-1.16-8397193790654797633.so, java.lang.LinkageError: Unable to load library from /openhab/.hawtjni/jansi/libjansi-1.16-3333920788733061459.so]
	at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:204) ~[13:org.fusesource.jansi:1.16.0]
	at org.fusesource.hawtjni.runtime.Library.load(Library.java:156) ~[13:org.fusesource.jansi:1.16.0]
	at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:41) ~[13:org.fusesource.jansi:1.16.0]
	at org.jline.terminal.impl.jansi.JansiNativePty.ttyname(JansiNativePty.java:57) ~[14:org.jline:3.5.1.sp1]
	at org.jline.terminal.impl.jansi.linux.LinuxNativePty.current(LinuxNativePty.java:26) ~[14:org.jline:3.5.1.sp1]
	at org.jline.terminal.impl.jansi.JansiSupportImpl.current(JansiSupportImpl.java:54) ~[14:org.jline:3.5.1.sp1]
	at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:324) [14:org.jline:3.5.1.sp1]
	at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
	at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
	at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
	Suppressed: java.lang.LinkageError: Unable to load library jansi64-1.16
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:426) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:184) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:156) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:41) ~[13:org.fusesource.jansi:1.16.0]
		at org.jline.terminal.impl.jansi.JansiNativePty.ttyname(JansiNativePty.java:57) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.linux.LinuxNativePty.current(LinuxNativePty.java:26) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.JansiSupportImpl.current(JansiSupportImpl.java:54) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:324) [14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
		at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
		at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
		at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
	Caused by: java.lang.UnsatisfiedLinkError: no jansi64-1.16 in java.library.path
		at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:?]
		at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:?]
		at java.lang.System.loadLibrary(System.java:1122) ~[?:?]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:423) ~[?:?]
		... 26 more
	Suppressed: java.lang.LinkageError: Unable to load library jansi-1.16
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:426) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:186) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:156) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:41) ~[13:org.fusesource.jansi:1.16.0]
		at org.jline.terminal.impl.jansi.JansiNativePty.ttyname(JansiNativePty.java:57) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.linux.LinuxNativePty.current(LinuxNativePty.java:26) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.JansiSupportImpl.current(JansiSupportImpl.java:54) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:324) [14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
		at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
		at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
		at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
	Caused by: java.lang.UnsatisfiedLinkError: no jansi-1.16 in java.library.path
		at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:?]
		at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:?]
		at java.lang.System.loadLibrary(System.java:1122) ~[?:?]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:423) ~[?:?]
		... 26 more
	Suppressed: java.lang.LinkageError: Unable to load library jansi
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:426) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:188) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:156) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:41) ~[13:org.fusesource.jansi:1.16.0]
		at org.jline.terminal.impl.jansi.JansiNativePty.ttyname(JansiNativePty.java:57) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.linux.LinuxNativePty.current(LinuxNativePty.java:26) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.JansiSupportImpl.current(JansiSupportImpl.java:54) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:324) [14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
		at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
		at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
		at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
	Caused by: java.lang.UnsatisfiedLinkError: no jansi in java.library.path
		at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:?]
		at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:?]
		at java.lang.System.loadLibrary(System.java:1122) ~[?:?]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:423) ~[?:?]
		... 26 more
	Suppressed: java.lang.LinkageError: Unable to load library from /openhab/userdata/tmp/libjansi-1.16-8397193790654797633.so
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:414) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.extractAndLoad(Library.java:294) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:198) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:156) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:41) ~[13:org.fusesource.jansi:1.16.0]
		at org.jline.terminal.impl.jansi.JansiNativePty.ttyname(JansiNativePty.java:57) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.linux.LinuxNativePty.current(LinuxNativePty.java:26) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.JansiSupportImpl.current(JansiSupportImpl.java:54) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:324) [14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
		at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
		at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
		at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
	Caused by: java.lang.UnsatisfiedLinkError: /openhab/userdata/tmp/libjansi-1.16-8397193790654797633.so: Error relocating /openhab/userdata/tmp/libjansi-1.16-8397193790654797633.so: unsupported relocation type 7 (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
		at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:?]
		at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[?:?]
		at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[?:?]
		at java.lang.Runtime.load0(Runtime.java:809) ~[?:?]
		at java.lang.System.load(System.java:1086) ~[?:?]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:411) ~[?:?]
		... 27 more
	Suppressed: java.lang.LinkageError: Unable to load library from /openhab/.hawtjni/jansi/libjansi-1.16-3333920788733061459.so
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:414) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.extractAndLoad(Library.java:294) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:198) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:156) ~[13:org.fusesource.jansi:1.16.0]
		at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:41) ~[13:org.fusesource.jansi:1.16.0]
		at org.jline.terminal.impl.jansi.JansiNativePty.ttyname(JansiNativePty.java:57) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.linux.LinuxNativePty.current(LinuxNativePty.java:26) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.impl.jansi.JansiSupportImpl.current(JansiSupportImpl.java:54) ~[14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:324) [14:org.jline:3.5.1.sp1]
		at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
		at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
		at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
		at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
		at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
		at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
		at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
		at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
		at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
		at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
	Caused by: java.lang.UnsatisfiedLinkError: /openhab/.hawtjni/jansi/libjansi-1.16-3333920788733061459.so: Error relocating /openhab/.hawtjni/jansi/libjansi-1.16-3333920788733061459.so: unsupported relocation type 7 (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
		at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:?]
		at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[?:?]
		at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[?:?]
		at java.lang.Runtime.load0(Runtime.java:809) ~[?:?]
		at java.lang.System.load(System.java:1086) ~[?:?]
		at org.fusesource.hawtjni.runtime.Library.load(Library.java:411) ~[?:?]
		... 27 more
2017-12-27 09:58:01.525 [DEBUG] [org.jline                           ] - Error registering handler for signal INFO
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:?]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:?]
	at org.jline.utils.Signals.doRegister(Signals.java:94) [14:org.jline:3.5.1.sp1]
	at org.jline.utils.Signals.register(Signals.java:55) [14:org.jline:3.5.1.sp1]
	at org.jline.utils.Signals.register(Signals.java:35) [14:org.jline:3.5.1.sp1]
	at org.jline.terminal.impl.PosixSysTerminal.<init>(PosixSysTerminal.java:49) [14:org.jline:3.5.1.sp1]
	at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:334) [14:org.jline:3.5.1.sp1]
	at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:219) [14:org.jline:3.5.1.sp1]
	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:65) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
	at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
	at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
Caused by: java.lang.IllegalArgumentException: Unknown signal: INFO
	at sun.misc.Signal.<init>(Signal.java:143) ~[?:?]
	... 28 more
2017-12-27 09:58:01.561 [DEBUG] [org.jline                           ] - Registering shutdown-hook: Thread[JLine Shutdown Hook,5,main]
2017-12-27 09:58:01.571 [DEBUG] [org.jline                           ] - Adding shutdown-hook task: org.jline.terminal.impl.PosixSysTerminal$$Lambda$33/937365473@2841a6a
2017-12-27 09:58:01.584 [DEBUG] [org.jline                           ] - Using terminal PosixSysTerminal
2017-12-27 09:58:01.589 [DEBUG] [org.jline                           ] - Using pty ExecPty
2017-12-27 09:58:01.656 [DEBUG] [org.jline                           ] - Error registering handler for signal INFO
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:?]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:?]
	at org.jline.utils.Signals.doRegister(Signals.java:94) [14:org.jline:3.5.1.sp1]
	at org.jline.utils.Signals.register(Signals.java:55) [14:org.jline:3.5.1.sp1]
	at org.jline.utils.Signals.register(Signals.java:35) [14:org.jline:3.5.1.sp1]
	at org.jline.terminal.impl.PosixSysTerminal.handle(PosixSysTerminal.java:64) [14:org.jline:3.5.1.sp1]
	at org.apache.karaf.shell.impl.console.JLineTerminal.<init>(JLineTerminal.java:56) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager$1.run(LocalConsoleManager.java:74) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager$1.run(LocalConsoleManager.java:68) [11:org.apache.karaf.shell.core:4.1.3]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at org.apache.karaf.util.jaas.JaasHelper.doAs(JaasHelper.java:101) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:68) [11:org.apache.karaf.shell.core:4.1.3]
	at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:114) [11:org.apache.karaf.shell.core:4.1.3]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) [?:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
	at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
	at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) [?:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
Caused by: java.lang.IllegalArgumentException: Unknown signal: INFO
	at sun.misc.Signal.<init>(Signal.java:143) ~[?:?]
	... 31 more

(continuation, as there is a post body limit)

2017-12-27 09:58:02.042 [DEBUG] [org.ops4j.pax.url.mvn               ] - ServiceEvent REGISTERED - {org.ops4j.pax.url.mvn.MavenResolver}={configuration=configadmin, service.id=41, service.bundleid=4, service.scope=singleton} - org.ops4j.pax.url.mvn
2017-12-27 09:58:02.097 [DEBUG] [org.ops4j.pax.url.mvn               ] - ServiceEvent REGISTERED - {org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=mvn, service.id=42, service.bundleid=4, service.scope=singleton} - org.ops4j.pax.url.mvn
2017-12-27 09:58:02.266 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.framework.hooks.resolver.ResolverHookFactory}={service.id=43, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.282 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.framework.hooks.bundle.CollisionHook}={service.id=44, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.291 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.framework.hooks.bundle.FindHook}={service.ranking=1000, service.id=45, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.316 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.framework.hooks.bundle.EventHook}={service.ranking=1000, service.id=46, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.325 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.framework.hooks.service.FindHook}={service.ranking=1000, service.id=47, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.341 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.framework.hooks.service.EventHook}={service.ranking=1000, service.id=48, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.363 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.eclipse.equinox.region.RegionDigraph}={service.id=49, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.375 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.apache.karaf.features.RegionDigraphPersistence}={service.id=50, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.417 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.eclipse.equinox.internal.region.RegionLifecycleListener}={service.id=51, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:02.507 [DEBUG] [org.apache.karaf.features.core      ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.pid=org.apache.karaf.features.repos, service.id=52, service.bundleid=9, service.scope=singleton} - org.apache.karaf.features.core
2017-12-27 09:58:07.926 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@67dbe680 rejected from java.util.concurrent.ThreadPoolExecutor@61342e9e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379) [?:?]
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [?:?]
	at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:681) [?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvisionInThread(FeaturesServiceImpl.java:1146) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:1022) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:915) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:107) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.BootFeaturesInstaller.start(BootFeaturesInstaller.java:87) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:273) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:242) [9:org.apache.karaf.features.core:4.1.3]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2017-12-27 09:58:41.174 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@46b5bc16 rejected from java.util.concurrent.ThreadPoolExecutor@11f6f0e4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379) [?:?]
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [?:?]
	at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:681) [?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvisionInThread(FeaturesServiceImpl.java:1146) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:1022) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:915) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:107) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.service.BootFeaturesInstaller.start(BootFeaturesInstaller.java:87) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:273) [9:org.apache.karaf.features.core:4.1.3]
	at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:242) [9:org.apache.karaf.features.core:4.1.3]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Further investigation and trials brought me to the conclusion that since 2.2.0 release something changed that causes the detached mode (-d) not to work for arm64 anymore. When I run the container in interactive mode (-it) all works fine.

To summarize, detached modes give the described error on both OH versions:

docker run -d \
--name openhab220 \
--tty \
-v /etc/localtime:/etc/localtime:ro \
-v /usr/share/zoneinfo/Europe/Warsaw:/etc/timezone:ro \
-v /storage/openhab/addons:/openhab/addons \
-v /storage/openhab/conf:/openhab/conf \
-v /storage/openhab/userdata_220:/openhab/userdata \
-p 8282:8080 \
openhab/openhab:2.2.0-arm64-alpine
docker run -d \
--name openhab230 \
--tty \
-v /etc/localtime:/etc/localtime:ro \
-v /usr/share/zoneinfo/Europe/Warsaw:/etc/timezone:ro \
-v /storage/openhab/addons:/openhab/addons \
-v /storage/openhab/conf:/openhab/conf \
-v /storage/openhab/userdata_230:/openhab/userdata \
-p 8282:8080 \
openhab/openhab:2.3.0-snapshot-arm64-alpine

While, interactive modes work fine:

docker run -it \
--name openhab220 \
--tty \
-v /etc/localtime:/etc/localtime:ro \
-v /usr/share/zoneinfo/Europe/Warsaw:/etc/timezone:ro \
-v /storage/openhab/addons:/openhab/addons \
-v /storage/openhab/conf:/openhab/conf \
-v /storage/openhab/userdata_220:/openhab/userdata \
-p 8282:8080 \
openhab/openhab:2.2.0-arm64-alpine
docker run -it \
--name openhab230 \
--tty \
-v /etc/localtime:/etc/localtime:ro \
-v /usr/share/zoneinfo/Europe/Warsaw:/etc/timezone:ro \
-v /storage/openhab/addons:/openhab/addons \
-v /storage/openhab/conf:/openhab/conf \
-v /storage/openhab/userdata_230:/openhab/userdata \
-p 8282:8080 \
openhab/openhab:2.3.0-snapshot-arm64-alpine

I am not sure if these are related with the mentioned error captured in debug logs earlier (jansi binding). Here is a similar issue that involves karaf and alpine.

It would be good if someone else could confirm my observations on another arm64 platform/host os.

I have also tried building the docker image from scratch - I get the same results as going from the stock images.

For now, as a workaround I will continue to start interactive mode and then detach.

1 Like

I’m seeing similar problems using a raspberry Pi 3 and trying to run openhab2 on kubernetes.

Launching the openHAB runtime...


                          __  _____    ____      
  ____  ____  ___  ____  / / / /   |  / __ )     
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  | 
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /      
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/     
    /_/                        2.2.0
                               Release Build   

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

Error executing command: java.io.IOException: Unable to parse columns

So far I have tried with image openhab/openhab:2.2.0-armhf-alpine. Will troubleshoot more and also try the latest snapshot version.

1 Like

I’m getting the same error on a Pine64

Openhab-2.2 is running in a Kubernetes pod with conf/, addons/ and userdata/ mounted via NFS

The workaround you describe doesn’t work for me. Even with stdin: true and tty: true it would not work, or when running ./start.sh from bash inside the pod manually.

I have this issue, too on my RPi3: openhab/openhab:2.3.0-armhf-alpine

It is part of my docker-compose services:

version: '3'
services:
  docker-openhab:
    image: "openhab/openhab:2.3.0-armhf-alpine"
    restart: always
    ports:
      - 8080:8080
      - 8443:8443
    tty: true
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
      - "/etc/timezone:/etc/timezone:ro"
#      - "/var/docker-data/openhab:/openhab:rw"
#      - "/var/docker-data/openhab/conf:/openhab/conf:rw"
#      - "/var/docker-data/openhab/userdata:/openhab/userdata:rw"
    environment:
      OPENHAB_HTTP_PORT: "8080"
      OPENHAB_HTTPS_PORT: "8443"
pi@raspberrypi:~/docker-raspi2stack $ docker-compose up docker-openhab
Creating docker-raspi2stack_docker-openhab_1 ... done
Attaching to docker-raspi2stack_docker-openhab_1
docker-openhab_1    | + test -t 0
docker-openhab_1    | + [ 0 -eq 1 ]
docker-openhab_1    | + set -euo pipefail
docker-openhab_1    | + IFS=
docker-openhab_1    |
docker-openhab_1    | + [ limited = unlimited ]
docker-openhab_1    | + rm -f /openhab/runtime/instances/instance.properties
docker-openhab_1    | + rm -f /openhab/userdata/tmp/instances/instance.properties
docker-openhab_1    | + NEW_USER_ID=9001
docker-openhab_1    | + echo Starting with openhab user id: 9001
docker-openhab_1    | Starting with openhab user id: 9001
docker-openhab_1    | + id -u openhab
docker-openhab_1    | + echo Create user openhab with id 9001
docker-openhab_1    | Create user openhab with id 9001
docker-openhab_1    | + adduser -u 9001 -D -g  -h /openhab openhab
docker-openhab_1    | + ls -A /openhab/userdata
docker-openhab_1    | + [ -z etc
docker-openhab_1    | logs
docker-openhab_1    | tmp ]
docker-openhab_1    | + cmp /openhab/userdata/etc/version.properties /openhab/userdata.dist/etc/version.properties
docker-openhab_1    | + [ ! -z ]
docker-openhab_1    | + ls -A /openhab/conf
docker-openhab_1    | + [ -z html
docker-openhab_1    | icons
docker-openhab_1    | items
docker-openhab_1    | persistence
docker-openhab_1    | rules
docker-openhab_1    | scripts
docker-openhab_1    | services
docker-openhab_1    | sitemaps
docker-openhab_1    | sounds
docker-openhab_1    | things
docker-openhab_1    | transform ]
docker-openhab_1    | + chown -R openhab:openhab /openhab
docker-openhab_1    | + exec su-exec openhab ./start.sh
docker-openhab_1    | Launching the openHAB runtime...
docker-openhab_1    |
docker-openhab_1    |                           __  _____    ____
docker-openhab_1    |   ____  ____  ___  ____  / / / /   |  / __ )
docker-openhab_1    |  / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
docker-openhab_1    | / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
docker-openhab_1    | \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
docker-openhab_1    |     /_/                        2.3.0
docker-openhab_1    |                                Release Build
docker-openhab_1    |
docker-openhab_1    | Hit '<tab>' for a list of available commands
docker-openhab_1    | and '[cmd] --help' for help on a specific command.
docker-openhab_1    | Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.
docker-openhab_1    |
docker-openhab_1    | Error executing command: java.io.IOException: Unable to parse columns
docker-raspi2stack_docker-openhab_1 exited with code 0

It’s a known issue:

The debian image does work properly on armhf.