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
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
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.
For those experiencing the same problem: this is fixed in 23.11.
@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.
@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
@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