无法显示 ip:9200 ,无法访问。
来源:9-5 elasticsearch的具体安装

忘记唱情歌
2018-09-17
[root@192 elasticsearch-rtf-master]# bin/elasticsearch-plugin list
analysis-ik
[root@192 elasticsearch-rtf-master]# bin/elasticsearch -d
[root@192 elasticsearch-rtf-master]# ps aux|grep java
root 1956 0.0 0.0 112724 988 pts/0 S+ 11:22 0:00 grep --color=auto java
[root@192 elasticsearch-rtf-master]# java -version
java version "1.8.0_181"
Java™ SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot™ 64-Bit Server VM (build 25.181-b13, mixed mode)
[root@192 elasticsearch-rtf-master]# vim logs/elasticsearch.log
[root@192 elasticsearch-rtf-master]#
[root@192 elasticsearch-rtf-master]# su jimmy
[jimmy@192 elasticsearch-rtf-master]$
[jimmy@192 elasticsearch-rtf-master]$ bin/elasticsearch -d
[jimmy@192 elasticsearch-rtf-master]$ pa aux|grep java
bash: pa: 未找到命令
[jimmy@192 elasticsearch-rtf-master]$ ps aux|grep java
jimmy 2003 64.7 82.2 4730324 1548232 pts/0 Sl 11:23 0:12 /usr/java/jdk1.8.0_181/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -XX:+HeapDumpOnOutOfMemoryError -Des.path.home=/usr/local/nginx/html/elasticsearch-rtf-master -cp /usr/local/nginx/html/elasticsearch-rtf-master/lib/elasticsearch-5.1.1.jar:/usr/local/nginx/html/elasticsearch-rtf-master/lib/* org.elasticsearch.bootstrap.Elasticsearch -d
jimmy 2053 0.0 0.0 112724 988 pts/0 S+ 11:23 0:00 grep --color=auto java
[jimmy@192 elasticsearch-rtf-master]$
2回答
-
轩脉刃
2018-10-07
https://www.cnblogs.com/gudulijia/p/6761231.html 你可以参考下,修改下sysctl 试试
00 -
忘记唱情歌
提问者
2018-09-17
[2018-09-17T11:23:51,194][INFO ][o.e.n.Node ] [-N0OdaJ] starting ...
[2018-09-17T11:23:51,369][INFO ][o.e.t.TransportService ] [-N0OdaJ] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2018-09-17T11:23:51,378][WARN ][o.e.b.BootstrapCheck ] [-N0OdaJ] max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
[2018-09-17T11:23:51,380][WARN ][o.e.b.BootstrapCheck ] [-N0OdaJ] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2018-09-17T11:23:54,476][INFO ][o.e.c.s.ClusterService ] [-N0OdaJ] new_master {-N0OdaJ}{-N0OdaJoSeG7LVPurRoB9A}{6-EfIN_tRxuCeTbhU3Vxng}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2018-09-17T11:23:54,520][INFO ][o.e.h.HttpServer ] [-N0OdaJ] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2018-09-17T11:23:54,521][INFO ][o.e.n.Node ] [-N0OdaJ] started
[2018-09-17T11:23:54,554][INFO ][o.e.g.GatewayService ] [-N0OdaJ] recovered [0] indices into cluster_state
00
相似问题