Monit prebuilt binaries don't work on RHEL/CentOS 6 due to glibc being old

Issue #834 resolved
rwky created an issue

The prebuilt binaries don’t work on RHEL/CentOS 6 monit outputs the following:

monit -t
monit: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by monit)
monit: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by monit)

RHEL/CentOS 6 runs glibc 2.12 and is supported until November 2020.

Comments (6)

  1. Lutz Mader

    Hello, nice to know.
    I defer shipping Monit 5.26.0 until we switched to SLES 12. To do some testing based on SLES 11 I build Monit 5.26.0 myself.

    Thanks,
    Lutz

  2. Massimo Sala

    It is easy to compile from source, I have done under centos 6.10.

    Feel free to write to me for a little help.

  3. Tildeslash repo owner

    we have switched the build machine to Debian 8.x which uses newer glibc. We will probably stick with as the next Monit version 5.27.0 needs prlimit() interface, which is missing in RHEL 6.x, to be able to calculate per-process utilization of filedescriptors limit (% of max).

    You can still compile monit 5.27.0 on RHEL 6.x, it will need newer autoconf though. Monit will detect that the prlimit is missing and will disable the monitoring of filedescriptors utilization (% of max). You can still monitor per-process filedescriptors usage by setting absolute value.

  4. Tildeslash repo owner

    we have implemented fallback to procfs limits file, so Monit 5.27.0 now works on CentOS 6.x and switched the build machine to CentOS 6.x => the binary build of monit 5.27.0 is centos 6.x compatible

  5. Log in to comment