Validate errors after setup distributed poller

Hi there,

Please help -

I have followed the installation document “Centos7 + Apache” to install 2 LibreMNS servers. Two servers are in different subnets, and then followed the Distributed Poller to setup the central server and a poller.

when I run ./validate.php, 2 errors are:
[FAIL] Missing PHP extension: memcached
[FIX]:
Please install memcached
[FAIL] Cannot connect to rrdcached instance

First error: I tried to install php extension: memcached:
yum -y install php-pecl-memcache
Error: php72w-common conflicts with php-common-5.4.16-46.1.el7_7.x86_64

the installation failed, can someone give me an advice?

Second error is Cannot connect to rrdcached instance. what does this mean? how to fix this?
rrdtool version is: 1.4.8

----------------more info ----------------------------
[root@NETQ-LibreNMS01 librenms]# ./validate.php -g distributepoller

Component Version
LibreNMS 1.60
DB Schema 2019_12_28_180000_add_overwrite_ip_to_devices (156)
PHP 7.2.24
MySQL 5.5.64-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.9.3
[OK] Dependencies up-to-date.

Thank you.

Did you follow the doc to setup distributed polling?you are missing a dependency’s and configuration. Please review the docs for distributing polling.

Thanks Kevin :slight_smile: yes, i am following Scaling LibreNMS - LibreNMS Docs.

  • I followed the doc to configure config.php on both central server and poller.
  • I am not too sure Memcache and RRDCached. I am using Centos7, but the doc is for Ubuntu. I still followed the Ubuntu setting on my Centos servers.

Can you please confirm the URL i am reading is correct?

Also I tried to install php extension: memcached, but the installation failed, can you give me an advice?

Error:
yum -y install php-pecl-memcache
Error: php72w-common conflicts with php-common-5.4.16-46.1.el7_7.x86_64

Hi Kevin, I have resolved the issues:

  1. yum -y install php-pecl-memcache
    Error: php72w-common conflicts with php-common-5.4.16-46.1.el7_7.x86_64

yum search memcache to find out a correct package

  1. Cannot connect to rrdcached instance
    i missed $config[‘rrdcached’] = “unix:/run/rrdcached.sock”; in config.php

Thanks for your help :slight_smile: