New user of OpenHAB here, running version 2.0.0-STABLE on Debian Jessie on a headless Frankenputer server. Sometime today OpenHAB2 crashed. I tried to restart it, but it refused to start. Here are the error logs:
After first crash:
kit@viki:/var/log/openhab2$ sudo systemctl status openhab2.service
[sudo] password for kit:
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled)
Active: active (running) since Wed 2017-04-05 23:02:57 BST; 1min 7s ago
Docs: http://docs.openhab.org
https://community.openhab.org
Process: 28928 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=1/FAILURE)
Main PID: 29104 (karaf)
CGroup: /system.slice/openhab2.service
├─29104 /bin/bash /usr/share/openhab2/runtime/bin/karaf server
└─29251 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share...
From openhab.log:
2017-04-05 15:11:34.217 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 13: Node is DEAD. Dropping message.
2017-04-05 15:11:38.315 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 13: Node is DEAD. Dropping message.
2017-04-05 15:11:42.429 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 13: Node is DEAD. Dropping message.
2017-04-05 15:11:46.573 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 13: Node is DEAD. Dropping message.
2017-04-05 15:11:50.717 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 13: Node is DEAD. Dropping message.
2017-04-05 15:58:52.393 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.SecurityException: cannot verify signature block file META-INF/ECLIPSE_
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:295)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:268)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
at java.util.jar.JarVerifier.update(JarVerifier.java:228)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
at java.util.jar.JarFile.getInputStream(JarFile.java:450)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:238)
at org.apache.karaf.main.Main.loadFrameworkFactory(Main.java:425)
at org.apache.karaf.main.Main.launch(Main.java:252)
at org.apache.karaf.main.Main.main(Main.java:177)
After second crash:
kit@viki:/var/log/openhab2$ sudo /etc/init.d/openhab2 restart
[ ok ] Restarting openhab2 (via systemctl): openhab2.service .
kit@viki:/var/log/openhab2$ sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled)
Active: active (running) since Wed 2017-04-05 23:07:16 BST; 7s ago
Docs: http://docs.openhab.org
https://community.openhab.org
Process: 31544 ExecStop=/usr/share/openhab2/runtime/bin/stop (code=exited, status=1/FAILURE)
Main PID: 31718 (karaf)
CGroup: /system.slice/openhab2.service
├─31718 /bin/bash /usr/share/openhab2/runtime/bin/karaf server
└─31865 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share...
openhab.log hasn’t been edited since 15:58 on 5th April, the time of the first crash. I’m a bit confused by the systemctl status saying it’s active, but the process has exited due to a failure?
How do I start to troubleshoot this issue? The best clue I can see is “java.lang.SecurityException: cannot verify signature block file META-INF/ECLIPSE_” but no-one was logged into the server at that time, so no-one was editing/changing anything? I’m also suspecting hardware failure, so am running a few hardware tests as well, but if someone has some pointers for me, I’d really appreciate it. Thanks!