I have troubles installing Logstash on my Raspberry Pi.
- APT
Cannot connect to the APT, using
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-6.x.list
it cannot find the correct processot configuration "armhf":
W: Failed to fetch https://artifacts.elastic.co/packages/6.x/apt/dists/stable/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
- DEB
Trying to install from a downloaded DEB package, get the following errors:
Using provided startup.options file: /etc/logstash/startup.options
OpenJDK Zero VM warning: TieredCompilation is disabled in this release.
/usr/share/logstash/bin/system-install: line 88: Error: command not found
chmod: cannot access ‘/etc/default/logstash’: No such file or directory
dpkg: error processing package logstash (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
logstash
The affecting command is $(ruby_exec …).
- From source
Installedopenjdk-8-jdk(openjdk version "1.8.0_40-internal"),ruby(ruby 2.1.5p273 (2014-11-13) [arm-linux-gnueabihf]),jruby(jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2014-11-02 6586) (OpenJDK Zero VM 1.8.0_40-internal) [arm-java]),rake,bundle
Fetched the code from GitHub - elastic/logstash: Logstash - transport and process your logs, events, or other data
export OSS=true
Executingrake bootstrapcomplains:
Unable to find JRuby.
If you are a user, this is a bug.
If you are a developer, please run 'rake bootstrap'. Running 'rake' requires the 'ruby' program be available.
What am I missing?