Cannot run APM Server with fresh installation on Windows 10

All configuration is left by default.
Port 8200 is not occupied.
Elasticsearch is at localhost:9200 without security configured.

PS C:\apm-server-7.6.2-windows-x86> .\apm-server.bat setup
PS C:\apm-server-7.6.2-windows-x86> .\apm-server.bat -e

2020-04-15T18:12:01.247+0800    INFO    instance/beat.go:622    Home path: [C:\apm-server-7.6.2-windows-x86] Config path: [C:\apm-server-7.6.2-windows-x86] Data path: [C:\apm-server-7.6.2-windows-x86\data] Logs path: [C:\apm-server-7.6.2-windows-x86\logs]
2020-04-15T18:12:01.247+0800    INFO    instance/beat.go:630    Beat ID: 90fba37b-e6bc-4a3c-b928-43e1b5fe49aa
2020-04-15T18:12:01.249+0800    INFO    [beat]  instance/beat.go:958    Beat info       {"system_info": {"beat": {"path": {"config": "C:\\apm-server-7.6.2-windows-x86", "data": "C:\\apm-server-7.6.2-windows-x86\\data", "home": "C:\\apm-server-7.6.2-windows-x86", "logs": "C:\\apm-server-7.6.2-windows-x86\\logs"}, "type": "apm-server", "uuid": "90fba37b-e6bc-4a3c-b928-43e1b5fe49aa"}}}
2020-04-15T18:12:01.250+0800    INFO    [beat]  instance/beat.go:967    Build info      {"system_info": {"build": {"commit": "8827b43d24eaf42391ea815bb9fa12bdef5d6bce", "libbeat": "7.6.2", "time": "2020-03-26T04:24:08.000Z", "version": "7.6.2"}}}
2020-04-15T18:12:01.250+0800    INFO    [beat]  instance/beat.go:970    Go runtime info {"system_info": {"go": {"os":"windows","arch":"386","max_procs":4,"version":"go1.13.8"}}}
2020-04-15T18:12:01.254+0800    INFO    [beat]  instance/beat.go:974    Host info       {"system_info": {"host": {"architecture":"x86_64","boot_time":"2020-04-15T15:04:51.36+08:00","name":"WIN10","ip":["fe80::8d54:e44a:5436:eff4/64","10.20.131.103/24","::1/128","127.0.0.1/8"],"kernel_version":"10.0.18362.720 (WinBuild.160101.0800)","mac":["00:0c:29:55:10:52"],"os":{"family":"windows","platform":"windows","name":"Windows 10 Enterprise","version":"10.0","major":10,"minor":0,"patch":0,"build":"18363.720"},"timezone":"CST","timezone_offset_sec":28800,"id":"b6a6152b-2d01-4ebf-ade7-d56ffa9f2a41"}}}
2020-04-15T18:12:01.255+0800    INFO    [beat]  instance/beat.go:1003   Process info    {"system_info": {"process": {"cwd": "C:\\apm-server-7.6.2-windows-x86", "exe": "C:\\apm-server-7.6.2-windows-x86\\apm-server.exe", "name": "apm-server.exe", "pid": 8832, "ppid": 8408, "start_time": "2020-04-15T18:12:01.178+0800"}}}
2020-04-15T18:12:01.255+0800    INFO    instance/beat.go:298    Setup Beat: apm-server; Version: 7.6.2
2020-04-15T18:12:01.256+0800    INFO    elasticsearch/client.go:174     Elasticsearch url: http://localhost:9200
2020-04-15T18:12:01.257+0800    INFO    [publisher]     pipeline/module.go:110  Beat name: WIN10
2020-04-15T18:12:01.258+0800    INFO    [beater]        beater/beater.go:108    Registering pipeline callback
2020-04-15T18:12:01.261+0800    INFO    instance/beat.go:439    apm-server start running.
2020-04-15T18:12:01.261+0800    INFO    [beater]        beater/tracing.go:53    self instrumentation is disabled
2020-04-15T18:12:01.265+0800    INFO    [beater]        beater/beater.go:149    host resolved from localhost:8200 to 127.0.0.1:8200
2020-04-15T18:12:01.265+0800    INFO    [handler]       api/mux.go:114  Path / added to request handler
2020-04-15T18:12:01.265+0800    INFO    [handler]       api/mux.go:114  Path /assets/v1/sourcemaps added to request handler
2020-04-15T18:12:01.265+0800    INFO    [agentcfg]      agentcfg/cache.go:38    Cache creation with expiration 30s.
2020-04-15T18:12:01.266+0800    INFO    [handler]       api/mux.go:114  Path /config/v1/agents added to request handler
2020-04-15T18:12:01.266+0800    INFO    [agentcfg]      agentcfg/cache.go:38    Cache creation with expiration 30s.
2020-04-15T18:12:01.267+0800    INFO    [handler]       api/mux.go:114  Path /config/v1/rum/agents added to request handler
2020-04-15T18:12:01.268+0800    INFO    [handler]       api/mux.go:114  Path /intake/v2/rum/events added to request handler
2020-04-15T18:12:01.268+0800    INFO    [handler]       api/mux.go:114  Path /intake/v2/events added to request handler
2020-04-15T18:12:01.268+0800    INFO    [beater]        beater/server.go:67     Starting apm-server [8827b43d24eaf42391ea815bb9fa12bdef5d6bce built 2020-03-26 04:24:08 +0000 UTC]. Hit CTRL-C to stop it.
2020-04-15T18:12:01.268+0800    INFO    [beater]        beater/http.go:72       Listening on: 127.0.0.1:8200
2020-04-15T18:12:01.269+0800    INFO    [beater]        beater/http.go:83       RUM endpoints disabled.
2020-04-15T18:12:01.272+0800    INFO    [beater]        beater/http.go:98       SSL disabled.
2020-04-15T18:12:01.273+0800    INFO    [request]       middleware/log_middleware.go:97 request ok      {"request_id": "e1700943-cb4c-428d-8c57-dfc69b0c248c", "method": "GET", "URL": "/", "content_length": 0, "remote_address": "127.0.0.1", "user-agent": "", "response_code": 200}
2020-04-15T18:12:01.273+0800    INFO    [onboarding]    beater/onboarding.go:35 Publishing onboarding document
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x4025dc]

goroutine 121 [running]:
runtime/internal/atomic.Xadd64(0x160cb5dc, 0x1, 0x0, 0x0, 0x3)
        /usr/local/go/src/runtime/internal/atomic/asm_386.s:105 +0xc
github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/common/atomic.(*Uint64).Add(...)
        /go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/common/atomic/atomic.go:83
github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/common/atomic.(*Uint64).Inc(...)
        /go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/common/atomic/atomic.go:85
github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(*waitACK).addEvent(0x160cb5c0, 0x50481038, 0xbf9dd55c, 0x4e97499, 0x0, 0x3af3aa0, 0x163d6a20, 0x1670c2a0, 0x0, 0x0, ...)
        /go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline/acker.go:462 +0x6f
github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(*client).publish(0x160b1310, 0x50481038, 0xbf9dd55c, 0x4e97499, 0x0, 0x3af3aa0, 0x0, 0x1670c2a0, 0x0, 0x0, ...)
        /go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline/client.go:102 +0x112
github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(*client).PublishAll(0x160b1310, 0x160e44b0, 0x1, 0x1)
        /go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline/client.go:60 +0xd3
github.com/elastic/apm-server/publish.(*Publisher).processPendingReq(0x160cb620, 0x160d23d8, 0x1, 0x1, 0x16302180, 0x0)
        /go/src/github.com/elastic/apm-server/publish/pub.go:170 +0x1b5
github.com/elastic/apm-server/publish.(*Publisher).run(0x160cb620)
        /go/src/github.com/elastic/apm-server/publish/pub.go:153 +0x65
created by github.com/elastic/apm-server/publish.NewPublisher
        /go/src/github.com/elastic/apm-server/publish/pub.go:109 +0x4c2

OS version:
Windows 10 1909 (OS Build 18363.720) on VMWare Workstation 15.5.0

Kibana version:
7.6.1

Elasticsearch version:
Version: 7.6.1, Build: default/zip/aa751e09be0a5072e8570670309b1f12348f023b/2020-02-29T00:15:25.529771Z, JVM: 13.0.2

APM Server version:
apm-server version 7.6.2 (386), libbeat 7.6.2 [8827b43d24eaf42391ea815bb9fa12bdef5d6bce built 2020-03-26 04:24:08 +0000 UTC]

APM Agent language and version:
N/A

Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Windows 32bit zip

Fresh install or upgraded from other version?
Fresh install

Steps to reproduce:

  1. Download apm-server
  2. Extract to folder
  3. Run apm-server.exe

Problem exists in 7.6.1 and 7.6.2, are there any updates?

Problem fixed while using 64bit binaries. :thinking:

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