Fresh Install 100% Follow Guided Lead To 2 Error

Hi guys, I followed guided from librenms website and turn out I experiencing these error.

librenms@nms-server:~$ ./validate.php

Component Version
LibreNMS 22.12.0-15-g87a062a48 (2023-01-10T23:42:54+08:00)
DB Schema 2022_09_03_091314_update_ports_adsl_table_with_defaults (248)
PHP 8.1.2-1ubuntu2.9
Python 3.10.6
Database MariaDB 10.6.11-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1

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

[OK] Composer Version: 2.5.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[FAIL] No active polling method detected
[OK] Dispatcher Service not detected
[OK] Locks are functional
[FAIL] No python wrapper pollers found
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@nms-server:~$

Please help me since the same issue on the internet so far not worked for me. I created a few snapshot so I can revert if I mess the config.

It looks to me like for some reason your poller cron jobs aren’t running, which could be a number of things. That would be related to this set in the install guide:
https://docs.librenms.org/Installation/Install-LibreNMS/#cron-job

So here are some ideas…

Check that the cron file exists and the permissions look OK:
sudo ls -alh /etc/cron.d/librenms

If so, make sure the contents of the file make sense:
sudo cat /etc/cron.d/librenms

For example, if you installed LibreNMS to a non-standard path (something other than /opt/librenms/) you might have to modify the cron file.

Finally, if you installed Ubuntu Server minimal or some other custom install, you might not have the cron package installed.

Check:
sudo systemctl status cron

If installed and running you should see the service as active. If not maybe:

sudo apt update
sudo apt install cron

Hi Slashdoom!

You really really help me!
The cronjob is not install because I installed minimal ubuntu server.

Thank you, really appreciated it.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.