logstash-input-mongodb icon indicating copy to clipboard operation
logstash-input-mongodb copied to clipboard

logstash-input-mongodb installation error

Open arnabrc opened this issue 4 years ago • 1 comments

I'm getting the below error while installing logstash-input-mongodb plugin C:\logstash-7.13.2\bin>logstash-plugin install logstash-input-mongodb Using JAVA_HOME defined java: C:\Program Files\Java\jdk-16.0.1 WARNING, using JAVA_HOME while Logstash distribution comes with a bundled JDK Validating logstash-input-mongodb Installing logstash-input-mongodb Error Bundler::InstallError, retrying 1/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 2/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 3/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 4/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 5/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 6/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 7/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 8/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 9/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Error Bundler::InstallError, retrying 10/10 Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo Too many retries, aborting, caused by Bundler::InstallError ERROR: Installation Aborted, message: Errno::EACCES: Permission denied - File.symlink An error occurred while installing mongo (2.14.0), and Bundler cannot continue. Make sure that gem install mongo -v '2.14.0' --source 'https://rubygems.org/' succeeds before bundling.

In Gemfile: logstash-input-mongodb was resolved to 0.4.1, which depends on mongo

Any idea how to resolve this?

arnabrc avatar Jun 17 '21 08:06 arnabrc

You should install with admin, will solve the problem

TranQuangHa307 avatar Aug 07 '21 16:08 TranQuangHa307