tomjon / piSpecMon

Raspberry Pi scanner controller
GNU General Public License v2.0
1 stars 0 forks source link

Automatic startup #1

Closed tomjon closed 8 years ago

tomjon commented 8 years ago

Automatic startup of server.py and worker.py using systemd and restart mechanism

tomjon commented 8 years ago

Elasticsearch is not in the Pi image

tomjon commented 8 years ago

Getting the following error with Elasticsearch

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (cppInterpreter_arm.S:2625), pid=3481, tid=625996896
#  fatal error:         *** Unimplemented opcode: 232 = <unknown>
#
# JRE version: OpenJDK Runtime Environment (7.0_95) (build 1.7.0_95-b00)
# Java VM: OpenJDK Zero VM (24.95-b01 mixed mode linux-arm )
# Derivative: IcedTea 2.6.4
# Distribution: Raspbian GNU/Linux 8.0 (jessie), package 7u95-2.6.4-1~deb8u1+rpi1
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid3481.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

Apparently need to update JVM

tomjon commented 8 years ago

Installed openjdk-8 via apt-get

tomjon commented 8 years ago

Need to ensure that even during normal shutdown any running scan will resume on restart.