Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Elasticsearch log after installation.
- =============================================================================
- 2020-02-28 18:59:00,842 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
- at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
- at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
- at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
- at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
- at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
- at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
- at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
- at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
- at org.elasticsearch.cli.Command.main(Command.java:90)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
- 2020-02-28 18:59:01,042 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
- at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
- at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
- at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
- at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:163)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
- at org.elasticsearch.cli.Command.main(Command.java:90)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
- [2020-02-28T18:59:01,439][INFO ][o.e.n.Node ] [] initializing ...
- [2020-02-28T18:59:01,536][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] using [1] data paths, mounts [[/data (/dev/mapper/vg0-lvol1)]], net usable_space [68.3gb], net total_space [98.3gb], types [ext4]
- [2020-02-28T18:59:01,537][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] heap size [494.9mb], compressed ordinary object pointers [true]
- [2020-02-28T18:59:01,538][INFO ][o.e.n.Node ] node name [jkbF5ui] derived from node ID [jkbF5ui8RxOl1eKA4mgWUQ]; set [node.name] to override
- [2020-02-28T18:59:01,539][INFO ][o.e.n.Node ] version[6.2.2], pid[18481], build[10b1edd/2018-02-16T19:01:30.685723Z], OS[Linux/3.10.0-693.el7.x86_64/amd64], JVM[Azul Systems, Inc./OpenJDK 64-Bit Server VM/1.8.0_222/25.222-b10]
- [2020-02-28T18:59:01,539][INFO ][o.e.n.Node ] JVM arguments [-Xmx512m, -Xms512m, -XX:NewRatio=2, -XX:SurvivorRatio=8, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -XX:ConcGCThreads=4, -XX:ParallelGCThreads=4, -XX:+CMSScavengeBeforeRemark, -Des.path.home=/data/nroot/elasticsearch-6.2.2, -Des.path.conf=/data/nroot/elasticsearch-6.2.2/config/elasticsearch]
- [2020-02-28T18:59:02,608][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [aggs-matrix-stats]
- [2020-02-28T18:59:02,608][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [analysis-common]
- [2020-02-28T18:59:02,608][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [ingest-common]
- [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-expression]
- [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-mustache]
- [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-painless]
- [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [mapper-extras]
- [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [parent-join]
- [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [percolator]
- [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [rank-eval]
- [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [reindex]
- [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [repository-url]
- [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [transport-netty4]
- [2020-02-28T18:59:02,611][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [tribe]
- [2020-02-28T18:59:02,611][INFO ][o.e.p.PluginsService ] [jkbF5ui] no plugins loaded
- [2020-02-28T18:59:02,822][INFO ][i.n.u.i.PlatformDependent] Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
- [2020-02-28T18:59:05,779][INFO ][o.e.d.DiscoveryModule ] [jkbF5ui] using discovery type [zen]
- [2020-02-28T18:59:06,501][INFO ][o.e.n.Node ] initialized
- [2020-02-28T18:59:06,501][INFO ][o.e.n.Node ] [jkbF5ui] starting ...
- [2020-02-28T18:59:06,712][INFO ][o.e.t.TransportService ] [jkbF5ui] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
- [2020-02-28T18:59:06,727][WARN ][o.e.b.BootstrapChecks ] [jkbF5ui] max file descriptors [50000] for elasticsearch process is too low, increase to at least [65536]
- [2020-02-28T18:59:06,727][WARN ][o.e.b.BootstrapChecks ] [jkbF5ui] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
- [2020-02-28T18:59:09,823][INFO ][o.e.c.s.MasterService ] [jkbF5ui] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{m1_d4LvGQ62GZpHIaY1rzA}{127.0.0.1}{127.0.0.1:9300}
- [2020-02-28T18:59:09,830][INFO ][o.e.c.s.ClusterApplierService] [jkbF5ui] new_master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{m1_d4LvGQ62GZpHIaY1rzA}{127.0.0.1}{127.0.0.1:9300}, reason: apply cluster state (from master [master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{m1_d4LvGQ62GZpHIaY1rzA}{127.0.0.1}{127.0.0.1:9300} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
- [2020-02-28T18:59:09,858][INFO ][o.e.h.n.Netty4HttpServerTransport] [jkbF5ui] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
- [2020-02-28T18:59:09,859][INFO ][o.e.n.Node ] [jkbF5ui] started
- [2020-02-28T18:59:09,909][INFO ][o.e.g.GatewayService ] [jkbF5ui] recovered [0] indices into cluster_state
- [2020-02-28T19:05:49,776][INFO ][o.e.c.m.MetaDataCreateIndexService] [jkbF5ui] [admin-audit] creating index, cause [api], templates [], shards [5]/[1], mappings []
- [2020-02-28T19:06:50,261][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_result_window] from [10000] to [5000000]
- [2020-02-28T19:06:50,262][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_rescore_window] from [10000] to [5000000]
- [2020-02-28T19:06:50,265][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_result_window] from [10000] to [5000000]
- [2020-02-28T19:06:50,265][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_rescore_window] from [10000] to [5000000]
- 2. Installed x-pack.
- ./bin/elasticsearch-plugin install
- file:///data/nroot/x-pack-6.2.2.zip --batch
- -> Downloading file:///data/nroot/x-pack-6.2.2.zip
- [=================================================] 100%
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ WARNING: plugin requires additional permissions @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- * java.io.FilePermission \\.\pipe\* read,write
- * java.lang.RuntimePermission accessClassInPackage.com.sun.activation.registries
- * java.lang.RuntimePermission getClassLoader
- * java.lang.RuntimePermission setContextClassLoader
- * java.lang.RuntimePermission setFactory
- * java.net.SocketPermission * connect,accept,resolve
- * java.security.SecurityPermission createPolicy.JavaPolicy
- * java.security.SecurityPermission getPolicy
- * java.security.SecurityPermission putProviderProperty.BC
- * java.security.SecurityPermission setPolicy
- * java.util.PropertyPermission * read,write
- See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
- for descriptions of what these permissions allow and the associated risks.
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ WARNING: plugin forks a native controller @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- This plugin launches a native controller that is not subject to the Java
- security manager nor to system call filters.
- Elasticsearch keystore is required by plugin [x-pack-security], creating...
- -> Installed x-pack with: x-pack-security,x-pack-core,x-pack-upgrade,x-pack-ml,x-pack-graph,x-pack-deprecation,x-pack-monitoring,x-pack-logstash,x-pack-watcher
- 3. ReStarted elasticsearch for applying x-pack changes. Below are the logs.
- ===========================================================================
- [2020-02-28T19:16:35,116][INFO ][o.e.n.Node ] [jkbF5ui] stopping ...
- 2020-02-28 19:16:35,117 pool-1-thread-1 ERROR Unable to unregister MBeans java.security.AccessControlException: access denied ("javax.management.MBeanServerPermission" "createMBeanServer")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.security.AccessController.checkPermission(AccessController.java:886)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
- at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:465)
- at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:246)
- at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
- at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
- at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
- at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
- at java.lang.Thread.run(Thread.java:748)
- 2020-02-28 19:16:37,680 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
- at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
- at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
- at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
- at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
- at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
- at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
- at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
- at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
- at org.elasticsearch.cli.Command.main(Command.java:90)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
- 2020-02-28 19:16:37,873 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
- at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
- at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
- at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
- at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:163)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
- at org.elasticsearch.cli.Command.main(Command.java:90)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
- [2020-02-28T19:16:38,374][INFO ][o.e.n.Node ] [] initializing ...
- [2020-02-28T19:16:38,500][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] using [1] data paths, mounts [[/data (/dev/mapper/vg0-lvol1)]], net usable_space [68.1gb], net total_space [98.3gb], types [ext4]
- [2020-02-28T19:16:38,501][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] heap size [494.9mb], compressed ordinary object pointers [true]
- [2020-02-28T19:16:38,525][INFO ][o.e.n.Node ] node name [jkbF5ui] derived from node ID [jkbF5ui8RxOl1eKA4mgWUQ]; set [node.name] to override
- [2020-02-28T19:16:38,525][INFO ][o.e.n.Node ] version[6.2.2], pid[21454], build[10b1edd/2018-02-16T19:01:30.685723Z], OS[Linux/3.10.0-693.el7.x86_64/amd64], JVM[Azul Systems, Inc./OpenJDK 64-Bit Server VM/1.8.0_222/25.222-b10]
- [2020-02-28T19:16:38,526][INFO ][o.e.n.Node ] JVM arguments [-Xmx512m, -Xms512m, -XX:NewRatio=2, -XX:SurvivorRatio=8, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -XX:ConcGCThreads=4, -XX:ParallelGCThreads=4, -XX:+CMSScavengeBeforeRemark, -Des.path.home=/data/nroot/elasticsearch-6.2.2, -Des.path.conf=/data/nroot/elasticsearch-6.2.2/config/elasticsearch]
- [2020-02-28T19:16:41,619][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [aggs-matrix-stats]
- [2020-02-28T19:16:41,619][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [analysis-common]
- [2020-02-28T19:16:41,619][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [ingest-common]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-expression]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-mustache]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-painless]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [mapper-extras]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [parent-join]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [percolator]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [rank-eval]
- [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [reindex]
- [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [repository-url]
- [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [transport-netty4]
- [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [tribe]
- [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-core]
- [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-deprecation]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-graph]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-logstash]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-ml]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-monitoring]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-security]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-upgrade]
- [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-watcher]
- [2020-02-28T19:16:41,739][INFO ][i.n.u.i.PlatformDependent] Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
- [2020-02-28T19:16:45,184][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/21537] [Main.cc@128] controller (64 bit): Version 6.2.2 (Build 61c43548e5e0f2) Copyright (c) 2018 Elasticsearch BV
- [2020-02-28T19:16:47,131][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
- [2020-02-28T19:16:47,395][INFO ][i.n.u.i.PlatformDependent] Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
- [2020-02-28T19:16:47,429][INFO ][o.e.d.DiscoveryModule ] [jkbF5ui] using discovery type [zen]
- [2020-02-28T19:16:48,304][INFO ][o.e.n.Node ] initialized
- [2020-02-28T19:16:48,304][INFO ][o.e.n.Node ] [jkbF5ui] starting ...
- [2020-02-28T19:16:48,489][INFO ][o.e.t.TransportService ] [jkbF5ui] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
- [2020-02-28T19:16:48,528][WARN ][o.e.b.BootstrapChecks ] [jkbF5ui] max file descriptors [50000] for elasticsearch process is too low, increase to at least [65536]
- [2020-02-28T19:16:48,528][WARN ][o.e.b.BootstrapChecks ] [jkbF5ui] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
- [2020-02-28T19:16:51,597][INFO ][o.e.c.s.MasterService ] [jkbF5ui] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{pNELQUvJRP-sJDQHpjdT0g}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=25112670208, ml.max_open_jobs=20, ml.enabled=true}
- [2020-02-28T19:16:51,603][INFO ][o.e.c.s.ClusterApplierService] [jkbF5ui] new_master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{pNELQUvJRP-sJDQHpjdT0g}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=25112670208, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{pNELQUvJRP-sJDQHpjdT0g}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=25112670208, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
- [2020-02-28T19:16:51,630][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [jkbF5ui] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
- [2020-02-28T19:16:51,631][INFO ][o.e.n.Node ] [jkbF5ui] started
- [2020-02-28T19:16:51,888][INFO ][o.e.g.GatewayService ] [jkbF5ui] recovered [1] indices into cluster_state
- [2020-02-28T19:16:52,578][INFO ][o.e.c.r.a.AllocationService] [jkbF5ui] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[admin-audit][2]] ...]).
- [2020-02-28T19:16:52,673][INFO ][o.e.l.LicenseService ] [jkbF5ui] license [d7ab8481-16d5-4d97-9b1e-68a0fd348cd1] mode [trial] - valid
- [2020-02-28T19:16:58,600][INFO ][o.e.c.m.MetaDataCreateIndexService] [jkbF5ui] [.monitoring-es-6-2020.02.28] creating index, cause [auto(bulk api)], templates [.monitoring-es], shards [1]/[0], mappings [doc]
- [2020-02-28T19:16:58,944][INFO ][o.e.c.m.MetaDataCreateIndexService] [jkbF5ui] [.watches] creating index, cause [auto(bulk api)], templates [.watches], shards [1]/[0], mappings [doc]
- [2020-02-28T19:16:58,998][INFO ][o.e.x.w.WatcherService ] [jkbF5ui] paused watch execution, reason [new local watcher shard allocation ids], cancelled [0] queued tasks
- [2020-02-28T19:16:59,039][INFO ][o.e.c.m.MetaDataMappingService] [jkbF5ui] [.watches/KHUjgZFZTz-_RACLM87TCw] update_mapping [doc]
- [2020-02-28T19:16:59,099][INFO ][o.e.c.m.MetaDataMappingService] [jkbF5ui] [.watches/KHUjgZFZTz-_RACLM87TCw] update_mapping [doc]
- 4. executed command from elasticsearch home directory:
- ./bin/x-pack/setup-passwords auto -u "http://localhost:9200"
- =====================================================================
- Failed to authenticate user 'elastic' against http://localhost:9200/_xpack/security/_authenticate?pretty
- Possible causes include:
- * The password for the 'elastic' user has already been changed on this cluster
- * Your elasticsearch node is running against a different keystore
- This tool used the keystore at /data/nroot/elasticsearch-6.2.2/config/elasticsearch.keystore
- ERROR: Failed to verify bootstrap password
- elasticsearch logs
- [2020-02-28T19:18:48,136][INFO ][o.e.x.s.a.AuthenticationService] [jkbF5ui] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
- 5. added bootstrap password
- ./bin/elasticsearch-keystore add bootstrap.password
- No changes in logs.
- 6. ReStarted elasticsearch
- ==================================================================================================
- [2020-02-28T19:21:53,583][INFO ][o.e.n.Node ] [jkbF5ui] stopping ...
- 2020-02-28 19:21:53,583 pool-1-thread-1 ERROR Unable to unregister MBeans java.security.AccessControlException: access denied ("javax.management.MBeanServerPermission" "createMBeanServer")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.security.AccessController.checkPermission(AccessController.java:886)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
- at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:465)
- at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:246)
- at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
- at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
- at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
- at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
- at java.lang.Thread.run(Thread.java:748)
- 2020-02-28 19:21:56,140 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
- at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
- at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
- at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
- at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
- at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
- at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
- at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
- at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
- at org.elasticsearch.cli.Command.main(Command.java:90)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
- 2020-02-28 19:21:56,259 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
- at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
- at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
- at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
- at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
- at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
- at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
- at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
- at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:163)
- at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
- at org.elasticsearch.cli.Command.main(Command.java:90)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
- [2020-02-28T19:21:56,580][INFO ][o.e.n.Node ] [] initializing ...
- [2020-02-28T19:21:56,662][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] using [1] data paths, mounts [[/data (/dev/mapper/vg0-lvol1)]], net usable_space [68.1gb], net total_space [98.3gb], types [ext4]
- [2020-02-28T19:21:56,663][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] heap size [494.9mb], compressed ordinary object pointers [true]
- [2020-02-28T19:21:56,702][INFO ][o.e.n.Node ] node name [jkbF5ui] derived from node ID [jkbF5ui8RxOl1eKA4mgWUQ]; set [node.name] to override
- [2020-02-28T19:21:56,703][INFO ][o.e.n.Node ] version[6.2.2], pid[22284], build[10b1edd/2018-02-16T19:01:30.685723Z], OS[Linux/3.10.0-693.el7.x86_64/amd64], JVM[Azul Systems, Inc./OpenJDK 64-Bit Server VM/1.8.0_222/25.222-b10]
- [2020-02-28T19:21:56,703][INFO ][o.e.n.Node ] JVM arguments [-Xmx512m, -Xms512m, -XX:NewRatio=2, -XX:SurvivorRatio=8, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -XX:ConcGCThreads=4, -XX:ParallelGCThreads=4, -XX:+CMSScavengeBeforeRemark, -Des.path.home=/data/nroot/elasticsearch-6.2.2, -Des.path.conf=/data/nroot/elasticsearch-6.2.2/config/elasticsearch]
- [2020-02-28T19:21:59,901][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [aggs-matrix-stats]
- [2020-02-28T19:21:59,901][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [analysis-common]
- [2020-02-28T19:21:59,901][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [ingest-common]
- [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-expression]
- [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-mustache]
- [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-painless]
- [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [mapper-extras]
- [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [parent-join]
- [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [percolator]
- [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [rank-eval]
- [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [reindex]
- [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [repository-url]
- [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [transport-netty4]
- [2020-02-28T19:21:59,904][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [tribe]
- [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-core]
- [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-deprecation]
- [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-graph]
- [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-logstash]
- [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-ml]
- [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-monitoring]
- [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-security]
- [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-upgrade]
- [2020-02-28T19:21:59,907][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-watcher]
- [2020-02-28T19:22:00,107][INFO ][i.n.u.i.PlatformDependent] Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
- [2020-02-28T19:22:03,718][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/22371] [Main.cc@128] controller (64 bit): Version 6.2.2 (Build 61c43548e5e0f2) Copyright (c) 2018 Elasticsearch BV
- [2020-02-28T19:22:05,742][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
- [2020-02-28T19:22:06,135][INFO ][i.n.u.i.PlatformDependent] Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
- [2020-02-28T19:22:06,176][INFO ][o.e.d.DiscoveryModule ] [jkbF5ui] using discovery type [zen]
- [2020-02-28T19:22:07,142][INFO ][o.e.n.Node ] initialized
- [2020-02-28T19:22:07,143][INFO ][o.e.n.Node ] [jkbF5ui] starting ...
- [2020-02-28T19:22:07,491][INFO ][o.e.t.TransportService ] [jkbF5ui] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
- [2020-02-28T19:22:07,587][WARN ][o.e.b.BootstrapChecks ] [jkbF5ui] max file descriptors [50000] for elasticsearch process is too low, increase to at least [65536]
- [2020-02-28T19:22:07,587][WARN ][o.e.b.BootstrapChecks ] [jkbF5ui] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
- [2020-02-28T19:22:10,682][INFO ][o.e.c.s.MasterService ] [jkbF5ui] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{PyNtgmjMS6aVTmgW127CTw}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=25112670208, ml.max_open_jobs=20, ml.enabled=true}
- [2020-02-28T19:22:10,693][INFO ][o.e.c.s.ClusterApplierService] [jkbF5ui] new_master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{PyNtgmjMS6aVTmgW127CTw}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=25112670208, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {jkbF5ui}{jkbF5ui8RxOl1eKA4mgWUQ}{PyNtgmjMS6aVTmgW127CTw}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=25112670208, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
- [2020-02-28T19:22:10,732][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [jkbF5ui] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
- [2020-02-28T19:22:10,732][INFO ][o.e.n.Node ] [jkbF5ui] started
- [2020-02-28T19:22:11,607][INFO ][o.e.l.LicenseService ] [jkbF5ui] license [d7ab8481-16d5-4d97-9b1e-68a0fd348cd1] mode [trial] - valid
- [2020-02-28T19:22:11,625][INFO ][o.e.g.GatewayService ] [jkbF5ui] recovered [6] indices into cluster_state
- [2020-02-28T19:22:12,223][INFO ][o.e.c.r.a.AllocationService] [jkbF5ui] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[admin-audit][0]] ...]).
- 7. executed command
- ./bin/x-pack/setup-passwords auto -u "http://localhost:9200"
- ===============================================================================
- Failed to authenticate user 'elastic' against http://localhost:9200/_xpack/security/_authenticate?pretty
- Possible causes include:
- * The password for the 'elastic' user has already been changed on this cluster
- * Your elasticsearch node is running against a different keystore
- This tool used the keystore at /data/nroot/elasticsearch-6.2.2/config/elasticsearch.keystore
- ERROR: Failed to verify bootstrap password
Add Comment
Please, Sign In to add comment