Installing logstash-core-5.4.1-java.gem with an error


(向不乐) #1

Command:gem install logstash-core-5.4.1-java.gem --local
OS:Suse 11 SP4
ELK Vesion:5.4.1
Jruby Vesion: 9.2.0.0
Error Message:
jar dependencies for logstash-core-5.4.1-java.gemspec . . .
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /usr/local/jruby/lib/ruby/stdlib/jars/gemspec_pom.rb: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ line 1, column 1
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (/usr/local/jruby/lib/ruby/stdlib/jars/gemspec_pom.rb) has 1 error
[ERROR] Non-parseable POM /usr/local/jruby/lib/ruby/stdlib/jars/gemspec_pom.rb: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ line 1, column 1 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /usr/local/jruby/lib/ruby/gems/shared/gems/logstash-core-5.4.1-java/deps.lst

Describtion:
I`m in an offline environment, so i have to install elk and logstash-input-jdbc-plugin manually, This error occured when i was installing logstash-core-5.4.1-java.gem, please give me some help , thank you!


(Magnus Bäck) #2

Don't install logstash-core-5.4.1-java.gem separately. Use the one bundled with Logstash.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.