I have installed ES on an iMac with macOS 10.14.4, then tried to run it. That failed as shown below. I was expecting this to run as is, as previous installs have run without any configuration required. This is the first install of ES on this machine.
Any ideas please?
Many thanks
Nathan
elasticsearch
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory
[2019-04-01T11:28:42,799][INFO ][o.e.e.NodeEnvironment ] [nmyt00Q] using [1] data paths, mounts [[/ (/dev/disk2s1)]], net usable_space [1.8tb], net total_space [2.8tb], types [apfs]
[2019-04-01T11:28:42,801][INFO ][o.e.e.NodeEnvironment ] [nmyt00Q] heap size [989.8mb], compressed ordinary object pointers [true]
[2019-04-01T11:28:42,803][INFO ][o.e.n.Node ] [nmyt00Q] node name derived from node ID [nmyt00QiQ5yore9mUO-nCQ]; set [node.name] to override
[2019-04-01T11:28:42,803][INFO ][o.e.n.Node ] [nmyt00Q] version[6.7.0], pid[66760], build[oss/tar/8453f77/2019-03-21T15:32:29.844721Z], OS[Mac OS X/10.14.4/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_121/25.121-b13]
[2019-04-01T11:28:42,804][INFO ][o.e.n.Node ] [nmyt00Q] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -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=/var/folders/7l/0fwd_7ls1m19q3_z1_tgg1w80000gn/T/elasticsearch-1618616902183114739, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/usr/local/Cellar/elasticsearch/6.7.0/libexec, -Des.path.conf=/usr/local/etc/elasticsearch, -Des.distribution.flavor=oss, -Des.distribution.type=tar]
[2019-04-01T11:28:43,729][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [aggs-matrix-stats]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [analysis-common]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [ingest-common]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [ingest-geoip]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [ingest-user-agent]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [lang-expression]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [lang-mustache]
[2019-04-01T11:28:43,730][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [lang-painless]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [mapper-extras]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [parent-join]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [percolator]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [rank-eval]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [reindex]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [repository-url]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [transport-netty4]
[2019-04-01T11:28:43,731][INFO ][o.e.p.PluginsService ] [nmyt00Q] loaded module [tribe]
[2019-04-01T11:28:43,732][INFO ][o.e.p.PluginsService ] [nmyt00Q] no plugins loaded
[2019-04-01T11:28:46,751][INFO ][o.e.d.DiscoveryModule ] [nmyt00Q] using discovery type [zen] and host providers [settings]
[2019-04-01T11:28:47,216][INFO ][o.e.n.Node ] [nmyt00Q] initialized
[2019-04-01T11:28:47,217][INFO ][o.e.n.Node ] [nmyt00Q] starting ...
[2019-04-01T11:28:47,391][INFO ][o.e.t.TransportService ] [nmyt00Q] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
ERROR: Cluster name [elasticsearch_nathan] subdirectory exists in data paths [/usr/local/var/lib/elasticsearch/elasticsearch_nathan]. All data under these paths must be moved up one directory to paths [/usr/local/var/lib/elasticsearch]
[2019-04-01T11:28:47,434][INFO ][o.e.n.Node ] [nmyt00Q] stopping ...
[2019-04-01T11:28:47,449][INFO ][o.e.n.Node ] [nmyt00Q] stopped
[2019-04-01T11:28:47,449][INFO ][o.e.n.Node ] [nmyt00Q] closing ...
[2019-04-01T11:28:47,458][INFO ][o.e.n.Node ] [nmyt00Q] closed
Nathans-iMac:notebooks nathan$ ls /usr/local/var/lib/elasticsearch/elasticsearch_nathan
Nathans-iMac:notebooks nathan$ ls -la /usr/local/var/lib/elasticsearch/elasticsearch_nathan
total 0
drwxr-xr-x 2 nathan admin 64 1 Apr 11:27 .
drwxr-xr-x 4 nathan admin 128 1 Apr 11:28 ..
Nathans-iMac:notebooks nathan$ ls -la /usr/local/var/lib/elasticsearch
total 0
drwxr-xr-x 4 nathan admin 128 1 Apr 11:28 .
drwxr-xr-x 3 nathan admin 96 1 Apr 11:27 ..
drwxr-xr-x 2 nathan admin 64 1 Apr 11:27 elasticsearch_nathan
drwxr-xr-x 3 nathan admin 96 1 Apr 11:28 nodes
Nathans-iMac:notebooks nathan$