Guest User

elastic_log

a guest
Feb 28th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.75 KB | None | 0 0
  1. 1. Elasticsearch log after installation.
  2. =============================================================================
  3.  
  4. 2020-02-28 18:59:00,842 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  5. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  6. at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
  7. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
  8. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
  9. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  10. at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
  11. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
  12. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
  13. at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
  14. at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
  15. at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
  16. at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
  17. at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
  18. at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
  19. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
  20. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
  21. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
  22. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
  23. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
  24. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  25. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  26. at org.elasticsearch.cli.Command.main(Command.java:90)
  27. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  28. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
  29.  
  30. 2020-02-28 18:59:01,042 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  31. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  32. at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
  33. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
  34. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
  35. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  36. at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
  37. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
  38. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
  39. at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
  40. at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
  41. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:163)
  42. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
  43. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
  44. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
  45. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
  46. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  47. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  48. at org.elasticsearch.cli.Command.main(Command.java:90)
  49. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  50. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
  51.  
  52. [2020-02-28T18:59:01,439][INFO ][o.e.n.Node ] [] initializing ...
  53. [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]
  54. [2020-02-28T18:59:01,537][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] heap size [494.9mb], compressed ordinary object pointers [true]
  55. [2020-02-28T18:59:01,538][INFO ][o.e.n.Node ] node name [jkbF5ui] derived from node ID [jkbF5ui8RxOl1eKA4mgWUQ]; set [node.name] to override
  56. [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]
  57. [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]
  58. [2020-02-28T18:59:02,608][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [aggs-matrix-stats]
  59. [2020-02-28T18:59:02,608][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [analysis-common]
  60. [2020-02-28T18:59:02,608][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [ingest-common]
  61. [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-expression]
  62. [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-mustache]
  63. [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-painless]
  64. [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [mapper-extras]
  65. [2020-02-28T18:59:02,609][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [parent-join]
  66. [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [percolator]
  67. [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [rank-eval]
  68. [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [reindex]
  69. [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [repository-url]
  70. [2020-02-28T18:59:02,610][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [transport-netty4]
  71. [2020-02-28T18:59:02,611][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [tribe]
  72. [2020-02-28T18:59:02,611][INFO ][o.e.p.PluginsService ] [jkbF5ui] no plugins loaded
  73. [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.
  74. [2020-02-28T18:59:05,779][INFO ][o.e.d.DiscoveryModule ] [jkbF5ui] using discovery type [zen]
  75. [2020-02-28T18:59:06,501][INFO ][o.e.n.Node ] initialized
  76. [2020-02-28T18:59:06,501][INFO ][o.e.n.Node ] [jkbF5ui] starting ...
  77. [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}
  78. [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]
  79. [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]
  80. [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}
  81. [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)]])
  82. [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}
  83. [2020-02-28T18:59:09,859][INFO ][o.e.n.Node ] [jkbF5ui] started
  84. [2020-02-28T18:59:09,909][INFO ][o.e.g.GatewayService ] [jkbF5ui] recovered [0] indices into cluster_state
  85. [2020-02-28T19:05:49,776][INFO ][o.e.c.m.MetaDataCreateIndexService] [jkbF5ui] [admin-audit] creating index, cause [api], templates [], shards [5]/[1], mappings []
  86. [2020-02-28T19:06:50,261][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_result_window] from [10000] to [5000000]
  87. [2020-02-28T19:06:50,262][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_rescore_window] from [10000] to [5000000]
  88. [2020-02-28T19:06:50,265][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_result_window] from [10000] to [5000000]
  89. [2020-02-28T19:06:50,265][INFO ][o.e.c.s.IndexScopedSettings] [jkbF5ui] updating [index.max_rescore_window] from [10000] to [5000000]
  90.  
  91.  
  92. 2. Installed x-pack.
  93. ./bin/elasticsearch-plugin install
  94. file:///data/nroot/x-pack-6.2.2.zip --batch
  95. -> Downloading file:///data/nroot/x-pack-6.2.2.zip
  96. [=================================================] 100%  
  97. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  98. @ WARNING: plugin requires additional permissions @
  99. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  100. * java.io.FilePermission \\.\pipe\* read,write
  101. * java.lang.RuntimePermission accessClassInPackage.com.sun.activation.registries
  102. * java.lang.RuntimePermission getClassLoader
  103. * java.lang.RuntimePermission setContextClassLoader
  104. * java.lang.RuntimePermission setFactory
  105. * java.net.SocketPermission * connect,accept,resolve
  106. * java.security.SecurityPermission createPolicy.JavaPolicy
  107. * java.security.SecurityPermission getPolicy
  108. * java.security.SecurityPermission putProviderProperty.BC
  109. * java.security.SecurityPermission setPolicy
  110. * java.util.PropertyPermission * read,write
  111. See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
  112. for descriptions of what these permissions allow and the associated risks.
  113. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  114. @ WARNING: plugin forks a native controller @
  115. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  116. This plugin launches a native controller that is not subject to the Java
  117. security manager nor to system call filters.
  118. Elasticsearch keystore is required by plugin [x-pack-security], creating...
  119. -> 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
  120.  
  121. 3. ReStarted elasticsearch for applying x-pack changes. Below are the logs.
  122. ===========================================================================
  123. [2020-02-28T19:16:35,116][INFO ][o.e.n.Node ] [jkbF5ui] stopping ...
  124. 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")
  125. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  126. at java.security.AccessController.checkPermission(AccessController.java:886)
  127. at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
  128. at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:465)
  129. at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:246)
  130. at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
  131. at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
  132. at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
  133. at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
  134. at java.lang.Thread.run(Thread.java:748)
  135.  
  136. 2020-02-28 19:16:37,680 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  137. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  138. at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
  139. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
  140. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
  141. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  142. at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
  143. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
  144. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
  145. at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
  146. at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
  147. at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
  148. at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
  149. at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
  150. at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
  151. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
  152. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
  153. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
  154. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
  155. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
  156. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  157. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  158. at org.elasticsearch.cli.Command.main(Command.java:90)
  159. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  160. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
  161.  
  162. 2020-02-28 19:16:37,873 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  163. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  164. at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
  165. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
  166. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
  167. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  168. at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
  169. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
  170. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
  171. at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
  172. at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
  173. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:163)
  174. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
  175. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
  176. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
  177. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
  178. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  179. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  180. at org.elasticsearch.cli.Command.main(Command.java:90)
  181. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  182. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
  183.  
  184. [2020-02-28T19:16:38,374][INFO ][o.e.n.Node ] [] initializing ...
  185. [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]
  186. [2020-02-28T19:16:38,501][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] heap size [494.9mb], compressed ordinary object pointers [true]
  187. [2020-02-28T19:16:38,525][INFO ][o.e.n.Node ] node name [jkbF5ui] derived from node ID [jkbF5ui8RxOl1eKA4mgWUQ]; set [node.name] to override
  188. [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]
  189. [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]
  190. [2020-02-28T19:16:41,619][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [aggs-matrix-stats]
  191. [2020-02-28T19:16:41,619][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [analysis-common]
  192. [2020-02-28T19:16:41,619][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [ingest-common]
  193. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-expression]
  194. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-mustache]
  195. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-painless]
  196. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [mapper-extras]
  197. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [parent-join]
  198. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [percolator]
  199. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [rank-eval]
  200. [2020-02-28T19:16:41,620][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [reindex]
  201. [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [repository-url]
  202. [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [transport-netty4]
  203. [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [tribe]
  204. [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-core]
  205. [2020-02-28T19:16:41,621][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-deprecation]
  206. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-graph]
  207. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-logstash]
  208. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-ml]
  209. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-monitoring]
  210. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-security]
  211. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-upgrade]
  212. [2020-02-28T19:16:41,622][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-watcher]
  213. [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.
  214. [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
  215. [2020-02-28T19:16:47,131][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
  216. [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.
  217. [2020-02-28T19:16:47,429][INFO ][o.e.d.DiscoveryModule ] [jkbF5ui] using discovery type [zen]
  218. [2020-02-28T19:16:48,304][INFO ][o.e.n.Node ] initialized
  219. [2020-02-28T19:16:48,304][INFO ][o.e.n.Node ] [jkbF5ui] starting ...
  220. [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}
  221. [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]
  222. [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]
  223. [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}
  224. [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)]])
  225. [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}
  226. [2020-02-28T19:16:51,631][INFO ][o.e.n.Node ] [jkbF5ui] started
  227. [2020-02-28T19:16:51,888][INFO ][o.e.g.GatewayService ] [jkbF5ui] recovered [1] indices into cluster_state
  228. [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]] ...]).
  229. [2020-02-28T19:16:52,673][INFO ][o.e.l.LicenseService ] [jkbF5ui] license [d7ab8481-16d5-4d97-9b1e-68a0fd348cd1] mode [trial] - valid
  230. [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]
  231. [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]
  232. [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
  233. [2020-02-28T19:16:59,039][INFO ][o.e.c.m.MetaDataMappingService] [jkbF5ui] [.watches/KHUjgZFZTz-_RACLM87TCw] update_mapping [doc]
  234. [2020-02-28T19:16:59,099][INFO ][o.e.c.m.MetaDataMappingService] [jkbF5ui] [.watches/KHUjgZFZTz-_RACLM87TCw] update_mapping [doc]
  235.  
  236.  
  237. 4. executed command from elasticsearch home directory:
  238. ./bin/x-pack/setup-passwords auto -u "http://localhost:9200"
  239. =====================================================================
  240. Failed to authenticate user 'elastic' against http://localhost:9200/_xpack/security/_authenticate?pretty
  241. Possible causes include:
  242. * The password for the 'elastic' user has already been changed on this cluster
  243. * Your elasticsearch node is running against a different keystore
  244. This tool used the keystore at /data/nroot/elasticsearch-6.2.2/config/elasticsearch.keystore
  245.  
  246. ERROR: Failed to verify bootstrap password
  247.  
  248. elasticsearch logs
  249. [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]
  250.  
  251. 5. added bootstrap password
  252. ./bin/elasticsearch-keystore add bootstrap.password
  253.  
  254. No changes in logs.
  255.  
  256. 6. ReStarted elasticsearch
  257. ==================================================================================================
  258. [2020-02-28T19:21:53,583][INFO ][o.e.n.Node ] [jkbF5ui] stopping ...
  259. 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")
  260. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  261. at java.security.AccessController.checkPermission(AccessController.java:886)
  262. at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
  263. at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:465)
  264. at org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:246)
  265. at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
  266. at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
  267. at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
  268. at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
  269. at java.lang.Thread.run(Thread.java:748)
  270.  
  271. 2020-02-28 19:21:56,140 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  272. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  273. at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
  274. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
  275. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
  276. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  277. at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
  278. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
  279. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
  280. at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
  281. at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
  282. at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:206)
  283. at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:220)
  284. at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:197)
  285. at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogger(LogConfigurator.java:171)
  286. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:140)
  287. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
  288. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
  289. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
  290. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
  291. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  292. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  293. at org.elasticsearch.cli.Command.main(Command.java:90)
  294. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  295. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
  296.  
  297. 2020-02-28 19:21:56,259 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  298. at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  299. at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
  300. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
  301. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
  302. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  303. at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
  304. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:167)
  305. at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)
  306. at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:556)
  307. at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
  308. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:163)
  309. at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:119)
  310. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
  311. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
  312. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
  313. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  314. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  315. at org.elasticsearch.cli.Command.main(Command.java:90)
  316. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  317. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
  318.  
  319. [2020-02-28T19:21:56,580][INFO ][o.e.n.Node ] [] initializing ...
  320. [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]
  321. [2020-02-28T19:21:56,663][INFO ][o.e.e.NodeEnvironment ] [jkbF5ui] heap size [494.9mb], compressed ordinary object pointers [true]
  322. [2020-02-28T19:21:56,702][INFO ][o.e.n.Node ] node name [jkbF5ui] derived from node ID [jkbF5ui8RxOl1eKA4mgWUQ]; set [node.name] to override
  323. [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]
  324. [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]
  325. [2020-02-28T19:21:59,901][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [aggs-matrix-stats]
  326. [2020-02-28T19:21:59,901][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [analysis-common]
  327. [2020-02-28T19:21:59,901][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [ingest-common]
  328. [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-expression]
  329. [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-mustache]
  330. [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [lang-painless]
  331. [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [mapper-extras]
  332. [2020-02-28T19:21:59,902][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [parent-join]
  333. [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [percolator]
  334. [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [rank-eval]
  335. [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [reindex]
  336. [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [repository-url]
  337. [2020-02-28T19:21:59,903][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [transport-netty4]
  338. [2020-02-28T19:21:59,904][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded module [tribe]
  339. [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-core]
  340. [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-deprecation]
  341. [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-graph]
  342. [2020-02-28T19:21:59,905][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-logstash]
  343. [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-ml]
  344. [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-monitoring]
  345. [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-security]
  346. [2020-02-28T19:21:59,906][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-upgrade]
  347. [2020-02-28T19:21:59,907][INFO ][o.e.p.PluginsService ] [jkbF5ui] loaded plugin [x-pack-watcher]
  348. [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.
  349. [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
  350. [2020-02-28T19:22:05,742][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
  351. [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.
  352. [2020-02-28T19:22:06,176][INFO ][o.e.d.DiscoveryModule ] [jkbF5ui] using discovery type [zen]
  353. [2020-02-28T19:22:07,142][INFO ][o.e.n.Node ] initialized
  354. [2020-02-28T19:22:07,143][INFO ][o.e.n.Node ] [jkbF5ui] starting ...
  355. [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}
  356. [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]
  357. [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]
  358. [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}
  359. [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)]])
  360. [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}
  361. [2020-02-28T19:22:10,732][INFO ][o.e.n.Node ] [jkbF5ui] started
  362. [2020-02-28T19:22:11,607][INFO ][o.e.l.LicenseService ] [jkbF5ui] license [d7ab8481-16d5-4d97-9b1e-68a0fd348cd1] mode [trial] - valid
  363. [2020-02-28T19:22:11,625][INFO ][o.e.g.GatewayService ] [jkbF5ui] recovered [6] indices into cluster_state
  364. [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]] ...]).
  365.  
  366.  
  367. 7. executed command
  368. ./bin/x-pack/setup-passwords auto -u "http://localhost:9200"
  369. ===============================================================================
  370. Failed to authenticate user 'elastic' against http://localhost:9200/_xpack/security/_authenticate?pretty
  371. Possible causes include:
  372. * The password for the 'elastic' user has already been changed on this cluster
  373. * Your elasticsearch node is running against a different keystore
  374. This tool used the keystore at /data/nroot/elasticsearch-6.2.2/config/elasticsearch.keystore
  375.  
  376. ERROR: Failed to verify bootstrap password
Add Comment
Please, Sign In to add comment