# Error while launching APM server

**URL:** <https://discuss.elastic.co/t/error-while-launching-apm-server/218714>\
**Category:** APM\
**Tags:** server\
**Created:** [February 11, 2020, 6:57am UTC](https://discuss.elastic.co/t/error-while-launching-apm-server/218714 "2020-02-11T06:57:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashwatsharma](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@shashwatsharma](https://discuss.elastic.co/u/shashwatsharma)\
**Post date:** [February 11, 2020, 6:57am UTC](https://discuss.elastic.co/t/error-while-launching-apm-server/218714/1 "2020-02-11T06:57:29Z")

</div>

Hi,  
I have installed and launched Elasticsearch version 7.5.2 and kibana 7.5.2 on same server and I am trying to run apm server 7.5.2 but it is giving below error while running ./apm-server -e command.

I am using chrome browser and installation was done by downloading the packages and installing offline.

PFB the logs of APM server startup :

* * *

./apm-server -e  
2020-02-11T12:08:14.249+0530 INFO instance/beat.go:610 Home path: [/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86] Config path: [/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86] Data path: [/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86/data] Logs path: [/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86/logs]  
2020-02-11T12:08:14.271+0530 INFO instance/beat.go:618 Beat ID: 1f9397f6-2eec-4c16-81f0-748a69f472fb  
2020-02-11T12:08:14.283+0530 INFO [seccomp] seccomp/seccomp.go:101 Syscall filter could not be installed because the kernel does not support seccomp  
2020-02-11T12:08:14.290+0530 INFO [beat] instance/beat.go:941 Beat info {"system\_info": {"beat": {"path": {"config": "/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86", "data": "/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86/data", "home": "/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86", "logs": "/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86/logs"}, "type": "apm-server", "uuid": "1f9397f6-2eec-4c16-81f0-748a69f472fb"}}}  
2020-02-11T12:08:14.290+0530 INFO [beat] instance/beat.go:950 Build info {"system\_info": {"build": {"commit": "0683f8094f42fecedd54cee09c0991febd8ce59a", "libbeat": "7.5.2", "time": "2020-01-15T10:21:07.000Z", "version": "7.5.2"}}}  
2020-02-11T12:08:14.290+0530 INFO [beat] instance/beat.go:953 Go runtime info {"system\_info": {"go": {"os":"linux","arch":"386","max\_procs":4,"version":"go1.12.12"}}}  
2020-02-11T12:08:14.291+0530 INFO [beat] instance/beat.go:957 Host info {"system\_info": {"host": {"architecture":"x86\_64","boot\_time":"2020-01-19T16:58:15+05:30","containerized":false,"name":"CDCUJENUATAPP1","ip":["127.0.0.1/8","::1/128","10.40.17.64/22","fe80::250:56ff:fe87:5864/64"],"kernel\_version":"2.6.32-754.25.1.el6.x86\_64","mac":["00:50:56:87:58:64"],"os":{"family":"redhat","platform":"redhat","name":"Red","version":"6.10 (Santiago)","major":6,"minor":10,"patch":0,"codename":"Santiago"},"timezone":"IST","timezone\_offset\_sec":19800,"id":"e88e7ac32c29b1ba4542078000000015"}}}  
2020-02-11T12:08:14.292+0530 INFO [beat] instance/beat.go:986 Process info {"system\_info": {"process": {"capabilities": {"inheritable":null,"permitted":null,"effective":null,"bounding":["chown","dac\_override","dac\_read\_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux\_immutable","net\_bind\_service","net\_broadcast","net\_admin","net\_raw","ipc\_lock","ipc\_owner","sys\_module","sys\_rawio","sys\_chroot","sys\_ptrace","sys\_pacct","sys\_admin","sys\_boot","sys\_nice","sys\_resource","sys\_time","sys\_tty\_config","mknod","lease","audit\_write","audit\_control","setfcap","mac\_override","mac\_admin","syslog","wake\_alarm","block\_suspend","audit\_read","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63"],"ambient":null}, "cwd": "/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86", "exe": "/utxciserver/Elastic/elastic\_7.5.2/apm-server-7.5.2-linux-x86/apm-server", "name": "apm-server", "pid": 5467, "ppid": 28902, "seccomp": {"mode":""}, "start\_time": "2020-02-11T12:08:10.440+0530"}}}  
2020-02-11T12:08:14.292+0530 INFO instance/beat.go:297 Setup Beat: apm-server; Version: 7.5.2  
2020-02-11T12:08:14.293+0530 INFO elasticsearch/client.go:171 Elasticsearch url: [http://localhost:9200](http://localhost:9200)  
2020-02-11T12:08:14.326+0530 INFO [publisher] pipeline/module.go:97 Beat name: CDCUJENUATAPP1  
2020-02-11T12:08:14.328+0530 INFO [beater] beater/beater.go:124 Registering pipeline callback  
2020-02-11T12:08:14.341+0530 INFO instance/beat.go:429 apm-server start running.  
2020-02-11T12:08:14.341+0530 INFO [beater] beater/beater.go:259 self instrumentation is disabled  
2020-02-11T12:08:14.343+0530 INFO [handler] api/mux.go:93 Path / added to request handler  
2020-02-11T12:08:14.344+0530 INFO [handler] api/mux.go:93 Path /assets/v1/sourcemaps added to request handler  
2020-02-11T12:08:14.344+0530 INFO [agentcfg] agentcfg/cache.go:38 Cache creation with expiration 30s.  
2020-02-11T12:08:14.349+0530 INFO [handler] api/mux.go:93 Path /config/v1/agents added to request handler  
2020-02-11T12:08:14.349+0530 INFO [agentcfg] agentcfg/cache.go:38 Cache creation with expiration 30s.  
2020-02-11T12:08:14.349+0530 INFO [handler] api/mux.go:93 Path /config/v1/rum/agents added to request handler  
2020-02-11T12:08:14.349+0530 INFO [handler] api/mux.go:93 Path /intake/v2/rum/events added to request handler  
2020-02-11T12:08:14.349+0530 INFO [handler] api/mux.go:93 Path /intake/v2/events added to request handler  
2020-02-11T12:08:14.350+0530 INFO [beater] beater/server.go:79 Starting apm-server [0683f8094f42fecedd54cee09c0991febd8ce59a built 2020-01-15 10:21:07 +0000 UTC]. Hit CTRL-C to stop it.  
2020-02-11T12:08:14.374+0530 INFO [beater] beater/server.go:80 Listening on: 10.40.17.64:8200  
2020-02-11T12:08:14.374+0530 INFO [beater] beater/server.go:91 RUM endpoints disabled.  
2020-02-11T12:08:14.374+0530 INFO [beater] beater/server.go:106 SSL disabled.  
2020-02-11T12:08:14.397+0530 INFO [request] middleware/log\_middleware.go:76 request ok {"request\_id": "f7e438e2-0ec8-4317-9dce-15ce2ef66876", "method": "GET", "URL": "/", "content\_length": 0, "remote\_address": "10.40.17.64", "user-agent": "", "response\_code": 200}  
2020-02-11T12:08:14.397+0530 INFO [onboarding] beater/onboarding.go:32 Publishing onboarding document  
panic: runtime error: invalid memory address or nil pointer dereference  
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8b8464c]

goroutine 100 [running]:  
runtime/internal/atomic.Xadd64(0xbd2404c, 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](http://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](http://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](http://github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(*waitACK)).addEvent(0xbd24030, 0x97b82878, 0xbf88b0d5, 0x7149bf4a, 0x0, 0xb6f6e80, 0xc01e080, 0xc01e9e0, 0x0, 0x0, ...)  
/go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline/acker.go:462 +0x70  
[github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(\*client](http://github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(*client)).publish(0xbcc8410, 0x97b82878, 0xbf88b0d5, 0x7149bf4a, 0x0, 0xb6f6e80, 0x0, 0xc01e9e0, 0x0, 0x0, ...)  
/go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline/client.go:102 +0x113  
[github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(\*client](http://github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline.(*client)).Publish(0xbcc8410, 0x97b82878, 0xbf88b0d5, 0x7149bf4a, 0x0, 0xb6f6e80, 0x0, 0xc01e9e0, 0x0, 0x0, ...)  
/go/src/github.com/elastic/apm-server/vendor/github.com/elastic/beats/libbeat/publisher/pipeline/client.go:68 +0x65  
[github.com/elastic/apm-server/beater.notifyListening](http://github.com/elastic/apm-server/beater.notifyListening)(0xbea2e70, 0xc002550)  
/go/src/github.com/elastic/apm-server/beater/onboarding.go:40 +0x2a6  
created by [github.com/elastic/apm-server/beater.(\*beater](http://github.com/elastic/apm-server/beater.(*beater)).Run  
/go/src/github.com/elastic/apm-server/beater/beater.go:215 +0x73f

* * *

Previously I installed APM server version 7.5.0 which gets launched properly.

Please let me know if additional info is required.

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [February 12, 2020, 3:34pm UTC](https://discuss.elastic.co/t/error-while-launching-apm-server/218714/2 "2020-02-12T15:34:44Z")

</div>

Hey @shashwatsharma, thanks for reporting this. Can you provide more information to help us track this down? What distribution/version are you running on? Have you customized your configuration `apm-server.yml`?

---

<div class="post-metadata">

**Author:** ![shashwatsharma](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@shashwatsharma](https://discuss.elastic.co/u/shashwatsharma)\
**Post date:** [February 13, 2020, 4:38am UTC](https://discuss.elastic.co/t/error-while-launching-apm-server/218714/3 "2020-02-13T04:38:29Z")

</div>

Hi @gil thanks for your reply..

I am running the Elastic Kibana and APM on Red Hat Enterprise Linux Server release 6.10 (Santiago).  
yes I have customized my apm-server.yml . Below is the conf. where I changed

################################ APM Server ################################  
apm-server:

# Defines the host and port the server is listening on. Use "unix:/path/to.sock" to listen on a unix domain socket.

host: "10.40.17.64:8200"

#---------------------------- APM Server - Agent Configuration ----------------------------

kibana:  
# For APM Agent configuration in Kibana, enabled must be true.  
enabled: true

```
# Scheme and port can be left out and will be set to the default (`http` and `5601`).
# In case you specify an additional path, the scheme is required: `http://localhost:5601/path`.
# IPv6 addresses should always be defined as: `https://[2001:db8::1]:5601`.
host: "10.40.17.64:5601"

```

#-------------------------- Elasticsearch output --------------------------  
output.elasticsearch:

# Array of hosts to connect to.

# Scheme and port can be left out and will be set to the default (`http` and `9200`).

# In case you specify and additional path, the scheme is required: `http://localhost:9200/path`.

# IPv6 addresses should always be defined as: `https://[2001:db8::1]:9200`.

hosts: ["[http://10.40.17.64:9200](http://10.40.17.64:9200)"]

.

One more issue.. I tried with apm server version 7.5.0 , it worked and I have installed APM JAVA agent on app server .

But I am not able to see any transaction in transaction pane although I am getting data in JVM pane.

Please help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 5, 2020, 12:38am UTC](https://discuss.elastic.co/t/error-while-launching-apm-server/218714/4 "2020-03-05T00:38:47Z")

</div>

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