Carbonio Prometheus...
 
Notifications
Clear all

[Solved] Carbonio Prometheus Failed

9 Posts
4 Users
3 Reactions
1,127 Views
(@max_s)
Joined: 1 year ago
Posts: 81
Topic starter  

Zo I had everything up and running but still having several problems. I could not find the right solution in this forum, except for a support member suggested to reinstall the setup.

So after trying to install Carbonio CE all over again, and again and again I keep having the folowing error....

 

● carbonio-prometheus-nginx-exporter.service - Carbonio Prometheus NGINX exporter
Loaded: loaded (/lib/systemd/system/carbonio-prometheus-nginx-exporter.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2023-11-10 16:30:57 UTC; 2min 10s ago
Process: 12674 ExecStart=/usr/bin/carbonio-prometheus-nginx-exporter $ARGS (code=exited, status=1/FAILURE)
Main PID: 12674 (code=exited, status=1/FAILURE)

Nov 10 16:30:57 mail systemd[1]: carbonio-prometheus-nginx-exporter.service: Main process exited, code=exited, status=1/FAILURE
Nov 10 16:30:57 mail systemd[1]: carbonio-prometheus-nginx-exporter.service: Failed with result 'exit-code'.
Nov 10 16:30:57 mail systemd[1]: carbonio-prometheus-nginx-exporter.service: Scheduled restart job, restart counter is at 5.
Nov 10 16:30:57 mail systemd[1]: Stopped Carbonio Prometheus NGINX exporter.
Nov 10 16:30:57 mail systemd[1]: carbonio-prometheus-nginx-exporter.service: Start request repeated too quickly.
Nov 10 16:30:57 mail systemd[1]: carbonio-prometheus-nginx-exporter.service: Failed with result 'exit-code'.
Nov 10 16:30:57 mail systemd[1]: Failed to start Carbonio Prometheus NGINX exporter.

 

Please advise


   
Quote
(@anahuac)
Joined: 1 year ago
Posts: 324
 

Hello there... this service demanda a bit of patience =)

It usually always fail to start at the beginning because it depends of CArbonio Proxy to be up an running. All you need to do is wait until all Carbonio services are up ad then restart it. Like that:

systemctl restart carbonio-prometheus-nginx-exporter

Regards

 


   
ReplyQuote
(@linuxero)
Joined: 1 year ago
Posts: 2
 

Hi I have installed Carbonio last night and I still have problems..it is not working fully yet.

But as to your issue I had it too and it relates actually, at least in my case, to the fact that a path does not exist. I solved it like this:

mkdir -pv /var/lib/prometheus/data

chown -fRv carbonio-prometheus: /var/lib/prometheus

systemctl restart carbonio-prometheus

systemctl restart carbonio-prometheus-nginx-exporter

I hope this helps you solve your problem.

This post was modified 1 year ago 2 times by Linuxero

   
ReplyQuote
(@max_s)
Joined: 1 year ago
Posts: 81
Topic starter  

@linuxero and @anahuac

Ok, It did took a bit patience indeed @anahuac. I just carried on with the installation proces, restarted the system, waiuted like 5 or 10 minutes and it looks fine now. Some other small issues still, but thats another thread. Also thanks @linuxero for you help.

 


   
anahuac reacted
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 226
 

For those experiencing the same problem: this is fixed in 23.11.


   
ReplyQuote
(@anahuac)
Joined: 1 year ago
Posts: 324
 

@stefanodavid well... yes it's fixed but I didn't like the way it was done.

Have you noticed that now carbonio-prometheus-nginx-exporter delay the whole server boot preventing you from login in til it starts?

That's a quite dangerous way to fix that. What if things go wrong for real?

 

May you please ask devels to rethink that solution?

On my side I'm going to disable it carbonio-prometheus-nginx-exporter and get it up using a script.


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 226
 

@anahuac I haven't yet checked out the Prometheus features, so no idea why it's happening. I will report the issues to the developers, thanks!

 


   
anahuac reacted
ReplyQuote
(@anahuac)
Joined: 1 year ago
Posts: 324
 

@stefanodavid I made a mistake and I want to fix it here.... that boot delay I mentioned before has nothing todo with carbonio-prometheus-nginx-exporter at all, but with a disk failure on my tests VM.

I'm sorry for that 


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 226
 

@anahuac, thanks for the information.

Yesterday evening I remembered that there is a Linux package called bootchart that helps drawing diagrams of the boot sequence. Probably not useful or necessary  in this case, but can prove useful in a number of occasions where you need to troubleshoot boot sequences


   
anahuac reacted
ReplyQuote