Skip to content

EL / Rock Linux 8 - cAdvisor - v0.53.0 - /lib64/libc.so.6: version `GLIBC_2.34' not found #3704

@silentpete

Description

@silentpete

Hello,
I am running a Rocky Linux 8 AWS EC2 Instance built from their official image. I know I need to replace this with an up to date image, but just wanted to put this issue up in case the team or others run into it as I didn't see it yet (maybe it is just me).

I upgraded to the v0.53.0 cAdvisor and have run into the follow issue.

If I downgrade to v0.52.1, it works as expected. I'm not sure this was expected or maybe because of the system the release binary was compiled/created on.

We just download and extract the release binary, then adjust the link, all usually done via automation.

Thank you team for all you do for us!

$ sudo ln -s -f -d /opt/prometheus/cadvisor_v0.53.0 /opt/prometheus/cadvisor_current
$ sudo systemctl restart prometheus-cadvisor.service
$ sudo systemctl status prometheus-cadvisor.service
● prometheus-cadvisor.service - Prometheus cAdvisor
   Loaded: loaded (/etc/systemd/system/prometheus-cadvisor.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2025-06-18 14:42:57 UTC; 694ms ago
  Process: 1501898 ExecStart=/opt/prometheus/cadvisor_current --port=8181 --disable_metrics=diskIO,hugetlb,process,resctrl,cpuset,memory_numa,advtcp,perf_event --docker_only=true (code=exi>
 Main PID: 1501898 (code=exited, status=1/FAILURE)

Jun 18 14:42:57 peter systemd[1]: prometheus-cadvisor.service: Service RestartSec=100ms expired, scheduling restart.
Jun 18 14:42:57 peter systemd[1]: prometheus-cadvisor.service: Scheduled restart job, restart counter is at 5.
Jun 18 14:42:57 peter systemd[1]: Stopped Prometheus cAdvisor.
Jun 18 14:42:57 peter systemd[1]: prometheus-cadvisor.service: Start request repeated too quickly.
Jun 18 14:42:57 peter systemd[1]: prometheus-cadvisor.service: Failed with result 'exit-code'.
Jun 18 14:42:57 peter systemd[1]: Failed to start Prometheus cAdvisor.
$ sudo ln -s -f -d /opt/prometheus/cadvisor_v0.52.1 /opt/prometheus/cadvisor_current
$ sudo systemctl restart prometheus-cadvisor.service
$ sudo systemctl status prometheus-cadvisor.service
● prometheus-cadvisor.service - Prometheus cAdvisor
   Loaded: loaded (/etc/systemd/system/prometheus-cadvisor.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2025-06-18 14:44:20 UTC; 2s ago
 Main PID: 1502113 (cadvisor_curren)
    Tasks: 11 (limit: 98433)
   Memory: 16.1M
   CGroup: /system.slice/prometheus-cadvisor.service
           └─1502113 /opt/prometheus/cadvisor_current --port=8181 --disable_metrics=diskIO,hugetlb,process,resctrl,cpuset,memory_numa,advtcp,perf_event --docker_only=true

Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.190628 1502113 factory.go:352] Registering Docker factory
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.190645 1502113 factory.go:223] Registration of the docker container factory successfully
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.190818 1502113 factory.go:221] Registration of the podman container factory failed: failed to validate Podman info: respon>
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.192105 1502113 factory.go:145] Registering containerd factory
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.192120 1502113 factory.go:223] Registration of the containerd container factory successfully
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.192168 1502113 factory.go:103] Registering Raw factory
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.192214 1502113 manager.go:1196] Started watching for new ooms in manager
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.193083 1502113 manager.go:319] Starting recovery of all containers
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.229474 1502113 manager.go:324] Recovery completed
Jun 18 14:44:20 peter prometheus_cadvisor[1502113]: I0618 14:44:20.245299 1502113 cadvisor.go:179] Starting cAdvisor version: v0.52.1-0b675def on port 8181
$ journalctl -e -u prometheus-cadvisor
...
Jun 18 13:51:04 peter systemd[1]: Started Prometheus cAdvisor.
Jun 18 13:51:04 peter prometheus_cadvisor[1483161]: /opt/prometheus/cadvisor_current: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /opt/prometheus/cadvisor_current)
Jun 18 13:51:04 peter prometheus_cadvisor[1483161]: /opt/prometheus/cadvisor_current: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /opt/prometheus/cadvisor_current)
Jun 18 13:51:04 peter systemd[1]: prometheus-cadvisor.service: Main process exited, code=exited, status=1/FAILURE
Jun 18 13:51:04 peter systemd[1]: prometheus-cadvisor.service: Failed with result 'exit-code'.
Jun 18 13:51:04 peter systemd[1]: prometheus-cadvisor.service: Service RestartSec=100ms expired, scheduling restart.
Jun 18 13:51:04 peter systemd[1]: prometheus-cadvisor.service: Scheduled restart job, restart counter is at 1.
Jun 18 13:51:04 peter systemd[1]: Stopped Prometheus cAdvisor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions