Tobus
(Tobus)
November 26, 2019, 7:06pm
1
Hardware: Raspberry PI3
OS: Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (Zulu8.38.0.163-CA-linux_aarch32hf) (build 1.8.0_212-b163)
OpenJDK Client VM (Zulu8.38.0.163-CA-linux_aarch32hf) (build 25.212-b163, mixed mode, Evaluation)
openHAB version: 2.4.0
After rebooting my Rspberry, OpenHab is not able to start anymore. I changed nothing, except my timezone.
Attached are five logfiles, but they doesnt help me
Does anybody know what to do?
Thanks a lot
Tobias
replay_pid10510.log (166.5 KB) replay_pid10799.log (291.0 KB) replay_pid11217.log (82.7 KB) replay_pid11335.log (155.2 KB) replay_pid11435.log (4.6 KB)
H102
(CM6.5 H102)
November 27, 2019, 12:43am
2
Try cleaning the cache and rebooting. May want to insure OH is not running with sudo systemctl stop openhab2 then:
sudo openhab-cli clean-cache
sudo reboot
Tobus
(Tobus)
November 27, 2019, 3:48pm
3
hs_err_pid1382.log (68.8 KB) hs_err_pid500.log (73.5 KB)
Thanks H102,
I cleaned the cache, but it doesnt helped much. The exceptions are still raised and OpenHab is not working.
Any ideas what to do?
H102
(CM6.5 H102)
November 27, 2019, 6:16pm
4
Is OH running on an SD card or other and if SD card what size and age?
I ask b/c it looks similar to SD card corruption. If you have a spare card try a fresh install and restore your backup to the new install.
I second sd corruption I have had this before on reboots also.
1 Like
Tobus
(Tobus)
November 28, 2019, 5:56pm
6
I dont using a SD Card. Oy OH is running on a SATA SSD.
After several reboots and cleaned caches, it is working now until the next reboot. Can you see anything at the logfiles?
H102
(CM6.5 H102)
November 28, 2019, 5:59pm
7
Think I may have a clue about the issue but please post the output of java --version to verify.
@Tobus never mind the output request above but I would like to see the output of sudo systemctl status openhab2.service
Also, from command line run top to identify what pid 1382 is.
H102
(CM6.5 H102)
November 28, 2019, 6:33pm
8
@Tobus From your log and search the best I came up with is from stack trace:
1.Set the following Environment Property on your active Shell. - open bash terminal and type in:
$ export LD_BIND_NOW=1
Re-Run the Jar or Java File
Note: for superuser in bash type su and press enter
Tobus
(Tobus)
November 30, 2019, 1:09pm
9
H102:
java --version
Java:
java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (Zulu8.38.0.163-CA-linux_aarch32hf) (build 1.8.0_212-b163)
OpenJDK Client VM (Zulu8.38.0.163-CA-linux_aarch32hf) (build 25.212-b163, mixed mode, Evaluation)
At the moment its running fine, until the next reboot. Will continue here, when the problem will appears again! Thanks H102!
H102
(CM6.5 H102)
November 30, 2019, 3:16pm
10
Maybe something in the boot.sh file that causes a different version of java to load?