# Unable to start metricbeat using service command

**URL:** https://discuss.elastic.co/t/unable-to-start-metricbeat-using-service-command/238122
**Category:** Beats
**Tags:** metricbeat
**Created:** [June 22, 2020, 4:18pm UTC](https://discuss.elastic.co/t/unable-to-start-metricbeat-using-service-command/238122 "2020-06-22T16:18:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![prakash\_a](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prakash_a/32/58221_2.png) [@prakash\_a](https://discuss.elastic.co/u/prakash_a)
#### Post date: [June 22, 2020, 4:18pm UTC](https://discuss.elastic.co/t/unable-to-start-metricbeat-using-service-command/238122/1 "2020-06-22T16:18:58Z")

</div>

We are unable to start/stop/ manage metricbeat on Oracle Linux 6.5 version. We have to manually start service using

metricbeat -e -c /etc/metricbeat/metricbeat.yml

Below is what we see when we start metricbeat using service command. Any help on this.

[log]$ sudo service metricbeat start  
Starting metricbeat: 2020-06-22T06:01:52.657-0500 INFO instance/beat.go:621 Home path: [/usr/share/metricbeat] Config path: [/etc/metricbeat] Data path: [/var/lib/metricbeat] Logs path: [/var/log/metricbeat]  
2020-06-22T06:01:52.657-0500 INFO instance/beat.go:629 Beat ID: 0cdd4c9a-4dda-4b30-b5db-d5e4f32f1c50  
2020-06-22T06:01:52.663-0500 INFO [beat] instance/beat.go:957 Beat info {"system\_info": {"beat": {"path": {"config": "/etc/metricbeat", "data": "/var/lib/metricbeat", "home": "/usr/share/metricbeat", "logs": "/var/log/metricbeat"}, "type": "metricbeat", "uuid": "0cdd4c9a-4dda-4b30-b5db-d5e4f32f1c50"}}}  
2020-06-22T06:01:52.663-0500 INFO [beat] instance/beat.go:966 Build info {"system\_info": {"build": {"commit": "5e69e25b920e3d93bec76a09a31da3ab35a55607", "libbeat": "7.7.0", "time": "2020-05-12T00:57:24.000Z", "version": "7.7.0"}}}  
2020-06-22T06:01:52.663-0500 INFO [beat] instance/beat.go:969 Go runtime info {"system\_info": {"go": {"os":"linux","arch":"amd64","max\_procs":32,"version":"go1.13.9"}}}  
2020-06-22T06:01:52.667-0500 INFO [beat] instance/beat.go:973 Host info {"system\_info": {"host": {"architecture":"x86\_64","boot\_time":"2020-05-07T00:43:14-05:00","containerized":false,"name":"edge03","ip":["127.0.0.1/8","IP2/16","IP3/24"],"kernel\_version":"2.6.32-754.27.1.el6.x86\_64","mac":["bc:30:5b:f2:49:f8","bc:30:5b:f2:49:f8","a0:36:9f:ac:32:74","a0:39:9f:ac:32:74","a0:36:9f:10:28:40","a0:36:9f:10:28:42","bc:30:5b:f2:49:fc","bc:30:5b:f2:49:fd","a0:36:9f:ac:32:74","bc:30:5b:f2:49:f8"],"os":{"family":"","platform":"ol","name":"Oracle Linux Server","version":"6.5","major":6,"minor":5,"patch":0},"timezone":"CDT","timezone\_offset\_sec":-18000,"id":"e25012148f4d07f90ac70ced00000014"}}}  
2020-06-22T06:01:52.668-0500 INFO [beat] instance/beat.go:1002 Process info {"system\_info": {"process": {"capabilities": {"inheritable":null,"permitted":["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"],"effective":["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"],"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": "/", "exe": "/usr/share/metricbeat/bin/metricbeat", "name": "metricbeat", "pid": 43979, "ppid": 43978, "seccomp": {"mode":""}, "start\_time": "2020-06-22T06:01:51.940-0500"}}}  
2020-06-22T06:01:52.668-0500 INFO instance/beat.go:297 Setup Beat: metricbeat; Version: 7.7.0  
2020-06-22T06:01:52.668-0500 INFO [index-management] idxmgmt/std.go:182 Set output.elasticsearch.index to 'metricbeat-hadoop-7.7.0' as ILM is enabled.  
2020-06-22T06:01:52.670-0500 INFO eslegclient/connection.go:84 elasticsearch url: [https://plels101:9200](https://plels101:9200)  
2020-06-22T06:01:52.670-0500 INFO eslegclient/connection.go:84 elasticsearch url: [https://plels102:9200](https://plels102:9200)  
2020-06-22T06:01:52.670-0500 INFO eslegclient/connection.go:84 elasticsearch url: [https://plels103:9200](https://plels103:9200)  
2020-06-22T06:01:52.671-0500 INFO [publisher] pipeline/module.go:110 Beat name: edge03  
Config OK  
[OK]

[log]$ sudo service metricbeat status  
metricbeat-god is stopped

---

<div class="post-metadata">

### Author: ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)
#### Post date: [June 23, 2020, 9:09am UTC](https://discuss.elastic.co/t/unable-to-start-metricbeat-using-service-command/238122/2 "2020-06-23T09:09:51Z")

</div>

Could you please format your post using code tags?

---

<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: [July 21, 2020, 11:09am UTC](https://discuss.elastic.co/t/unable-to-start-metricbeat-using-service-command/238122/3 "2020-07-21T11:09:56Z")

</div>

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