I have corrected it but it keeps starting and the connection (port 9200) is refused. I don't know how to solve.
From systems service log, It is still starting stage for long tim
Apr 27 11:31:35 QVELKSRH01 systemd[1]: Stopping Elasticsearch.
Apr 27 11:31:35 QVELKSRH01 systemd[1]: Started Elasticsearch.e
Apr 27 11:31:35 QVELKSRH01 systemd[1]: Starting Elasticsearch.
From the elasticsearch.log,
[2018-04-27T11:31:35,292][INFO ][o.e.n.Node ] [QVELKSRH01] stopping ...
[2018-04-27T11:31:35,331][INFO ][o.e.n.Node ] [QVELKSRH01] stopped
[2018-04-27T11:31:35,332][INFO ][o.e.n.Node ] [QVELKSRH01] closing ...
[2018-04-27T11:31:35,345][INFO ][o.e.n.Node ] [QVELKSRH01] closed
[2018-04-27T11:31:37,713][INFO ][o.e.n.Node ] [QVELKSRH01] initializing ...
[2018-04-27T11:31:37,787][INFO ][o.e.e.NodeEnvironment ] [QVELKSRH01] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [48.7gb], net total_space [49.9gb], types [rootfs]
[2018-04-27T11:31:37,787][INFO ][o.e.e.NodeEnvironment ] [QVELKSRH01] heap size [1.9gb], compressed ordinary object pointers [true]
[2018-04-27T11:31:37,788][INFO ][o.e.n.Node ] [QVELKSRH01] node name [QVELKSRH01], node ID [FndpeyYfQ6Oo_U-F8aQusg]
[2018-04-27T11:31:37,788][INFO ][o.e.n.Node ] [QVELKSRH01] version[6.2.4], pid[12014], build[ccec39f/2018-04-12T20:37:28.497551Z], OS[Linux/3.10.0-693.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_171/25.171-b11]
[2018-04-27T11:31:37,788][INFO ][o.e.n.Node ] [QVELKSRH01] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch.EvFo8Q0n, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:/var/log/elasticsearch/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch]
[2018-04-27T11:31:38,504][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [aggs-matrix-stats]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [analysis-common]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [ingest-common]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [lang-expression]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [lang-mustache]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [lang-painless]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [mapper-extras]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [parent-join]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [percolator]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [rank-eval]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [reindex]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [repository-url]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [transport-netty4]
[2018-04-27T11:31:38,505][INFO ][o.e.p.PluginsService ] [QVELKSRH01] loaded module [tribe]
[2018-04-27T11:31:38,506][INFO ][o.e.p.PluginsService ] [QVELKSRH01] no plugins loaded
[2018-04-27T11:31:40,781][INFO ][o.e.d.DiscoveryModule ] [QVELKSRH01] using discovery type [zen]
[2018-04-27T11:31:41,194][INFO ][o.e.n.Node ] [QVELKSRH01] initialized
[2018-04-27T11:31:41,194][INFO ][o.e.n.Node ] [QVELKSRH01] starting ...
[2018-04-27T11:31:41,391][INFO ][o.e.t.TransportService ] [QVELKSRH01] publish_address {10.51.20.23:9300}, bound_addresses {10.51.20.23:9300}
[2018-04-27T11:31:41,409][INFO ][o.e.b.BootstrapChecks ] [QVELKSRH01] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-04-27T11:31:44,492][INFO ][o.e.c.s.MasterService ] [QVELKSRH01] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {QVELKSRH01}{FndpeyYfQ6Oo_U-F8aQusg}{9gzDrupuR5SiVRSJ7we5MA}{10.51.20.23}{10.51.20.23:9300}
[2018-04-27T11:31:44,501][INFO ][o.e.c.s.ClusterApplierService] [QVELKSRH01] new_master {QVELKSRH01}{FndpeyYfQ6Oo_U-F8aQusg}{9gzDrupuR5SiVRSJ7we5MA}{10.51.20.23}{10.51.20.23:9300}, reason: apply cluster state (from master [master {QVELKSRH01}{FndpeyYfQ6Oo_U-F8aQusg}{9gzDrupuR5SiVRSJ7we5MA}{10.51.20.23}{10.51.20.23:9300} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
[2018-04-27T11:31:44,524][INFO ][o.e.h.n.Netty4HttpServerTransport] [QVELKSRH01] publish_address {10.51.20.23:9200}, bound_addresses {10.51.20.23:9200}
[2018-04-27T11:31:44,525][INFO ][o.e.n.Node ] [QVELKSRH01] started
[2018-04-27T11:31:44,537][INFO ][o.e.g.GatewayService ] [QVELKSRH01] recovered [0] indices into cluster_state