Cannot access elasticsearch on port 9200 (WIndows 10 MSI Install)

Hello...

Yesterday I downloaded the elasticsearch 6.4.0 Windows (MSI) Installer. I have a preexisting Java 8 install on my machine and also have JAVA_HOME set appropriately.

The installer appears to run just fine. I'm using these choices:

  1. Standard Directories (let the installer decide);
  2. Not installed as a service;
  3. "Trial" license;

The installation proceeds "successfully." I find when I go to the installation directory, there are bin, lib, modules, and plug-ins (this one is empty) subdirectories but no config, data, nor logs subdirectories.

Another thing worth noting is that the installation is in a directory tree that looks like

Elasticsearch\6.4.0\bin et cetera

If I ignore this and fire up elasticsearch.exe in an admin powershell things sort of look like they're working. But there are clues to problems--it appears the installation is looking for the config in a different directory than the installation directory ( that is, Elasticsearch\config ). The output I see is pasted as a comment to this message (otherwise I exceed the 7k character limit).

Sadly, if I point a browser at localhost:9200 I am prompted for a Username and Password, neither of which I set as part of the installation process. Trying the curl-based examples fail due to the same inability to authenticate.

I've tried uninstalling/re-installing but still confront this problem.

Any thoughts on what's happening here and how I can fix things? Clearly the installer isn't putting things where I expect them to be and is in some cases not inserting things.

Thanks in advance and all the best...

Here's the spew from elasticsearch...

[2018-09-28T15:02:55,711][INFO ][o.e.n.Node ] [QUAKINGBOGS] initializing ...
[2018-09-28T15:02:55,768][INFO ][o.e.e.NodeEnvironment ] [QUAKINGBOGS] using [1] data paths, mounts [[OS (C:)]], net usable_space [330.9gb], net total_space [462.6gb], types [NTFS]
[2018-09-28T15:02:55,769][INFO ][o.e.e.NodeEnvironment ] [QUAKINGBOGS] heap size [1.9gb], compressed ordinary object pointers [true]
[2018-09-28T15:02:55,771][INFO ][o.e.n.Node ] [QUAKINGBOGS] node name [QUAKINGBOGS], node ID [RE1vJAYsSlSgCfzRuvhs2A]
[2018-09-28T15:02:55,772][INFO ][o.e.n.Node ] [QUAKINGBOGS] version[6.4.0], pid[18788], build[unknown/unknown/595516e/2018-08-17T23:18:47.308994Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_181/25.181-b13]
[2018-09-28T15:02:55,772][INFO ][o.e.n.Node ] [QUAKINGBOGS] JVM arguments [-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=C:\Users\larson\AppData\Local\Temp\elasticsearch, -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, -Xmx2048m, -Xms2048m, -Delasticsearch, -Des.path.home=C:\Program Files\Elastic\Elasticsearch\6.4.0, -Des.path.conf=C:\ProgramData\Elastic\Elasticsearch\config]
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory

[2018-09-28T15:02:57,358][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [aggs-matrix-stats]
[2018-09-28T15:02:57,358][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [analysis-common]
[2018-09-28T15:02:57,358][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [ingest-common]
[2018-09-28T15:02:57,358][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [lang-expression]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [lang-mustache]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [lang-painless]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [mapper-extras]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [parent-join]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [percolator]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [rank-eval]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [reindex]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [repository-url]
[2018-09-28T15:02:57,359][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [transport-netty4]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [tribe]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-core]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-deprecation]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-graph]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-logstash]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-ml]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-monitoring]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-rollup]
[2018-09-28T15:02:57,360][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-security]
[2018-09-28T15:02:57,361][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-sql]
[2018-09-28T15:02:57,361][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-upgrade]
[2018-09-28T15:02:57,361][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] loaded module [x-pack-watcher]
[2018-09-28T15:02:57,361][INFO ][o.e.p.PluginsService ] [QUAKINGBOGS] no plugins loaded
[2018-09-28T15:03:00,659][INFO ][o.e.x.s.a.s.FileRolesStore] [QUAKINGBOGS] parsed [0] roles from file [C:\ProgramData\Elastic\Elasticsearch\config\roles.yml]
[2018-09-28T15:03:01,195][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/20692] [Main.cc@109] controller (64 bit): Version 6.4.0 (Build cf8246175efff5) Copyright (c) 2018 Elasticsearch BV
[2018-09-28T15:03:01,467][DEBUG][o.e.a.ActionModule ] [] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2018-09-28T15:03:01,638][INFO ][o.e.d.DiscoveryModule ] [QUAKINGBOGS] using discovery type [zen]
[2018-09-28T15:03:02,296][INFO ][o.e.n.Node ] [QUAKINGBOGS] initialized
[2018-09-28T15:03:02,296][INFO ][o.e.n.Node ] [QUAKINGBOGS] starting ...
[2018-09-28T15:03:02,868][INFO ][o.e.t.TransportService ] [QUAKINGBOGS] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2018-09-28T15:03:05,987][INFO ][o.e.c.s.MasterService ] [QUAKINGBOGS] zen-disco-elected-as-master ([0] nodes joined)[, ], reason: new_master {QUAKINGBOGS}{RE1vJAYsSlSgCfzRuvhs2A}{YrUfWsEoQEiS2ISjrTYE0A}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=17024614400, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
[2018-09-28T15:03:05,993][INFO ][o.e.c.s.ClusterApplierService] [QUAKINGBOGS] new_master {QUAKINGBOGS}{RE1vJAYsSlSgCfzRuvhs2A}{YrUfWsEoQEiS2ISjrTYE0A}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=17024614400, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {QUAKINGBOGS}{RE1vJAYsSlSgCfzRuvhs2A}{YrUfWsEoQEiS2ISjrTYE0A}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=17024614400, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)[, ]]])
[2018-09-28T15:03:06,296][INFO ][o.e.l.LicenseService ] [QUAKINGBOGS] license [1dba29be-ae4d-4aeb-a408-71303114b174] mode [trial] - valid
[2018-09-28T15:03:06,310][INFO ][o.e.g.GatewayService ] [QUAKINGBOGS] recovered [0] indices into cluster_state
[2018-09-28T15:03:06,369][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [QUAKINGBOGS] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200}
[2018-09-28T15:03:06,369][INFO ][o.e.n.Node ] [QUAKINGBOGS] started

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.