when I opened kibana it's showing like above picture if I reload It shows kibana did not load properly.
And my elasticscearch is not running. it showing some error.
Please do this needful help.
And my elasticscearch is not running. it showing some error.
Please do this needful help.
Kibana will not run till Elasticsearch is up and running. What does the elasticsearch log say?
This is my elasticsearch.log
... 15 more
[2018-08-06T05:19:31,849][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Could not find plugin class [org.elasticsearch.ingest.geoip.IngestGeoIpPlugin]]; nested: ClassNotFoundException[org.elasticsearch.inge$
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:140) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.3.2.jar:6.3.2]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86) ~[elasticsearch-6.3.2.jar:6.3.2]
Caused by: org.elasticsearch.ElasticsearchException: Could not find plugin class [org.elasticsearch.ingest.geoip.IngestGeoIpPlugin]
at org.elasticsearch.plugins.PluginsService.loadPluginClass(PluginsService.java:670) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.plugins.PluginsService.loadBundle(PluginsService.java:642) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:557) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:162) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.node.Node.<init>(Node.java:311) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.node.Node.<init>(Node.java:252) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:213) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:326) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-6.3.2.jar:6.3.2]
... 6 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.ingest.geoip.IngestGeoIpPlugin
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181]
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181]
at org.elasticsearch.plugins.PluginsService.loadPluginClass(PluginsService.java:668) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.plugins.PluginsService.loadBundle(PluginsService.java:642) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:557) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:162) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.node.Node.<init>(Node.java:311) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.node.Node.<init>(Node.java:252) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:213) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:326) ~[elasticsearch-6.3.2.jar:6.3.2]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-6.3.2.jar:6.3.2]
Are you trying to use the geoip plugin?
Have you installed the geoip plugin?
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-geoip
Hi,
Thank you for your reply. I just tried your suggestion and restarted my elasticsearch and it's giving the same error.
The plugin is installed.
Could you verify the o/p of
/usr/share/elasticsearch-plugin list
Doe it show the correct version of plugin installed for you elastic stack?
There is no list of plugins showed.
It's showing as .installing-2547293086719806949
You were not able to install the plugin. Could you install it and try again?
Try the offline installation.
https://www.elastic.co/guide/en/elasticsearch/plugins/current/ingest-geoip.html#ingest-geoip-install
Yea I tried
But I think I have to go inside the .installing-2547293086719806949
file and see the plugin lists. But I couldn't go inside the file.
So it's plugin issue only??
Yes. It is a plugin issue. Try to remove that plugin and try installing the ingest plugin. It is a simple fix.
HI,
I have installed but it's not showing in the plugin list
root@localhost:~# sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-geoip
-> Downloading ingest-geoip from elastic
[=================================================] 100%??
Exception in thread "main" java.lang.IllegalStateException: duplicate plugin: - Plugin information:
Name: ingest-geoip
Description: Ingest processor that uses looksup geo data based on ip adresses using the Maxmind geo database
Version: 6.3.2
Elasticsearch Version: 6.3.2
Java Version: 1.8
Native Controller: false
Extended Plugins:
* Classname: org.elasticsearch.ingest.geoip.IngestGeoIpPlugin
at org.elasticsearch.plugins.PluginsService.readPluginBundle(PluginsService.java:491)
at org.elasticsearch.plugins.PluginsService.findBundles(PluginsService.java:463)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:454)
at org.elasticsearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:618)
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:606)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:717)
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:641)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:225)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:210)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:79)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)
root@localhost:~# cd /usr/share/elasticsearch/plugins/.installing-1702786190484943884/
-bash: cd: /usr/share/elasticsearch/plugins/.installing-1702786190484943884/: No such file or directory
root@localhost:~# cd /usr/share/elasticsearch/plugins/
root@localhost:/usr/share/elasticsearch/plugins# cd .installing-2547293086719806949/
root@localhost:/usr/share/elasticsearch/plugins/.installing-2547293086719806949# ls
LICENSE.txt config jackson-databind-2.8.10.jar plugin-descriptor.properties
NOTICE.txt jackson-annotations-2.8.10.jar maxmind-db-1.2.2.jar plugin-security.policy
Hi Shree,
The plugin installation is not successful as there seems to be a duplicate plugin already installed.
Assuming that you have tried to uninstall it and it didn't work, could you try doing the following:
cd /use/share/elasticsearch/plugins
ls -la
Now, if you see any unwanted plugins here, could you try to do
rm -Rf plugin name
Double check if all plugins are removed. And then try to install the ingest plugin using the offline method.
This is to ensure that your plugin download is complete and uninterrupted.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.