Hi Team, I am facing an issue while starting Prometheus Service in Ubuntu., it's throwing the following: systemctl status prometheus ● prometheus.service - Prometheus Loaded: loaded (/etc/systemd/system/prometheus.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2020-11-25 12:52:23 IST; 31min ago Main PID: 7451 (code=exited, status=2)
Nov 25 12:52:23 ARL-KUNAL systemd[1]: prometheus.service: Service hold-off time over, scheduling restart. Nov 25 12:52:23 ARL-KUNAL systemd[1]: prometheus.service: Scheduled restart job, restart counter is at 5. Nov 25 12:52:23 ARL-KUNAL systemd[1]: Stopped Prometheus. Nov 25 12:52:23 ARL-KUNAL systemd[1]: prometheus.service: Start request repeated too quickly. Nov 25 12:52:23 ARL-KUNAL systemd[1]: prometheus.service: Failed with result 'exit-code'. Nov 25 12:52:23 ARL-KUNAL systemd[1]: Failed to start Prometheus. Nov 25 12:52:36 ARL-KUNAL systemd[1]: /etc/systemd/system/prometheus.service:14: Unknown lvalue '--web.listen-addres Nov 25 12:52:36 ARL-KUNAL systemd[1]: /etc/systemd/system/prometheus.service:14: Unknown lvalue '--web.listen-addres Nov 25 12:52:36 ARL-KUNAL systemd[1]: /etc/systemd/system/prometheus.service:14: Unknown lvalue '--web.listen-addres Can someone help me out ?? On Wednesday, September 19, 2018 at 10:20:44 PM UTC+5:30 danf...@gmail.com wrote: > Thanks for this tip Ben! > > Em qua, 19 de set de 2018 às 13:05, Ben Kochie <sup...@gmail.com> > escreveu: > >> Just so you're aware, the Pi is not a great platform for Prometheus >> because the kernel is still 32-bit. Prometheus uses mmap to access the TSDB >> files. In 32-bit, this means that you can only have about 1.5GB of TSDB >> data before the process will OOM. >> >> There's unfortunately nothing we can do about this besides recommend >> using an arm64 64-bit kernel on the Pi 3. >> >> On Wed, Sep 19, 2018 at 4:31 PM Danilo fonseca martins <danf...@gmail.com> >> wrote: >> >>> Hi Nicholas, >>> >>> It worked!! >>> >>> Thanks a lot man! >>> >>> \BR >>> Danilo >>> >>> Em quarta-feira, 19 de setembro de 2018 11:13:26 UTC-3, Nicholas Capo >>> escreveu: >>>> >>>> Ah, right. >>>> So what you downloaded is a binary for amd64, but the RaspberryPi has >>>> an ARM processor, so that binary won't work. >>>> >>>> Try the linux/armv7 download at >>>> https://prometheus.io/download/#prometheus >>>> >>>> Nicholas >>>> >>>> >>>> >>>> On Wed, Sep 19, 2018, 09:07 Danilo fonseca martins <danf...@gmail.com> >>>> wrote: >>>> >>>>> That is.. >>>>> >>>>> uname -a >>>>> Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 >>>>> armv7l GNU/Linux >>>>> >>>>> \BR >>>>> >>>>> Em quarta-feira, 19 de setembro de 2018 10:57:00 UTC-3, Nicholas Capo >>>>> escreveu: >>>>>> >>>>>> Hmmmmmm, what about the command `uname -a`? >>>>>> >>>>>> Nicholas >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Sep 19, 2018, 08:49 Danilo fonseca martins <danf...@gmail.com> >>>>>> wrote: >>>>>> >>>>> I also suspect that is something wrong with the binary. I 've already >>>>>>> deleted it and downloaded a new one, but the problema remains. Follow >>>>>>> the >>>>>>> output of the commands you asked me. >>>>>>> >>>>>>> ls -l /usr/local/bin/prometheus >>>>>>> -rwxr-xr-x 1 prometheus prometheus 64627321 Set 18 17:37 >>>>>>> /usr/local/bin/prometheus >>>>>>> >>>>>>> file /usr/local/bin/prometheus >>>>>>> /usr/local/bin/prometheus: ELF 64-bit LSB executable, x86-64, >>>>>>> version 1 (SYSV), statically linked, not stripped >>>>>>> >>>>>>> /usr/local/bin/prometheus --help >>>>>>> -bash: /usr/local/bin/prometheus: cannot execute binary file: Erro >>>>>>> no formato exec >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> >>>>>>> Em quarta-feira, 19 de setembro de 2018 10:09:49 UTC-3, Nicholas >>>>>>> Capo escreveu: >>>>>>>> >>>>>>>> I think this means something is wrong with your binary, what do the >>>>>>>> following commands output? >>>>>>>> >>>>>>>> ``` >>>>>>>> ls -l /usr/local/bin/prometheus >>>>>>>> file /usr/local/bin/prometheus >>>>>>>> /usr/local/bin/prometheus --help >>>>>>>> >>>>>>>> ``` >>>>>>>> >>>>>>>> On Wed, Sep 19, 2018, 08:05 Danilo fonseca martins < >>>>>>>> danf...@gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi >>>>>>>>> >>>>>>>>> I am facing an issue with prometheus. Can anyone help me? >>>>>>>>> I am not able to start it. Look bellow the erro informed: >>>>>>>>> >>>>>>>>> ● prometheus.service - Prometheus >>>>>>>>> Loaded: loaded (/etc/systemd/system/prometheus.service; enabled) >>>>>>>>> Active: failed (Result: exit-code) since Qua 2018-09-19 >>>>>>>>> 09:57:55 BRT; 10s ago >>>>>>>>> Process: 572 ExecStart=/usr/local/bin/prometheus --config.file >>>>>>>>> /etc/prometheus/prometheus.yml --storage.tsdb.path >>>>>>>>> /var/lib/prometheus/ >>>>>>>>> --web.console.templates=/etc/prometheus/consoles >>>>>>>>> --web.console.libraries=/etc/prometheus/console_libraries >>>>>>>>> (code=exited, >>>>>>>>> status=203/EXEC) >>>>>>>>> Main PID: 572 (code=exited, status=203/EXEC) >>>>>>>>> >>>>>>>>> Set 19 09:57:55 raspberrypi systemd[1]: Started Prometheus. >>>>>>>>> Set 19 09:57:55 raspberrypi systemd[1]: prometheus.service: main >>>>>>>>> process exited, code=exited, status=203/EXEC >>>>>>>>> Set 19 09:57:55 raspberrypi systemd[1]: Unit prometheus.service >>>>>>>>> entered failed state. >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Prometheus Users" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>> send an email to prometheus-use...@googlegroups.com. >>>>>>>>> To post to this group, send email to promethe...@googlegroups.com. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/prometheus-users/ce8558e6-fcdb-42f5-8374-79512d013307%40googlegroups.com >>>>>>>>> >>>>>>>>> <https://groups.google.com/d/msgid/prometheus-users/ce8558e6-fcdb-42f5-8374-79512d013307%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>> . >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Prometheus Users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to prometheus-use...@googlegroups.com. >>>>>>> To post to this group, send email to promethe...@googlegroups.com. >>>>>>> >>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/prometheus-users/c94e025f-7e7b-4a54-8255-2ebb65dcd15e%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/prometheus-users/c94e025f-7e7b-4a54-8255-2ebb65dcd15e%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Prometheus Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to prometheus-use...@googlegroups.com. >>>>> To post to this group, send email to promethe...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/prometheus-users/723754d1-b5a3-4458-99af-ed7a1e7eb0f1%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/prometheus-users/723754d1-b5a3-4458-99af-ed7a1e7eb0f1%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Prometheus Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to prometheus-use...@googlegroups.com. >>> To post to this group, send email to promethe...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/prometheus-users/f28d1631-8ab1-4e52-bcb9-cff9521cc7a7%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/prometheus-users/f28d1631-8ab1-4e52-bcb9-cff9521cc7a7%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/360cb670-697d-4bd6-8eea-5476d5d6cc2cn%40googlegroups.com.