FAIL: Poller is not running. No poller has run within the last 300 seconds

Hi,

My LibreNMS was also affected by that bug and the new release solved the problem however that new version bring another problem on my LibreNMS VM :

2024-09-10 14:01:24,082 :: CRITICAL :: DB Connection exception (1062, “Duplicate entry ‘librenms’ for key ‘pollers_poller_name_unique’”)

I checked on within the LibreNMS DB and I don’t see something suspicious

The output of./validate looks correct :

librenms@librenms:~$ ./validate.php

Component Version
LibreNMS 24.8.0-62-g77fa7573c (2024-09-10T07:59:20+00:00)
DB Schema 2024_08_27_182000_ports_statistics_table_rev_length (299)
PHP 8.1.23
Python 3.8.10
Database MariaDB 10.3.39-MariaDB-0ubuntu0.20.04.2
RRDTool 1.7.2
SNMP 5.8
===========================================

[OK] Composer Version: 2.7.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[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] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service has been used, but not recently
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok

And from the DB :

MariaDB [librenms]> explain pollers;
±------------±-----------------±-----±----±--------±---------------+
| Field | Type | Null | Key | Default | Extra |
±------------±-----------------±-----±----±--------±---------------+
| id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| poller_name | varchar(255) | NO | UNI | NULL | |
| last_polled | datetime | NO | | NULL | |
| devices | int(10) unsigned | NO | | NULL | |
| time_taken | double | NO | | NULL | |
±------------±-----------------±-----±----±--------±---------------+
5 rows in set (0.001 sec)

MariaDB [librenms]> select * from pollers;
±—±------------±--------------------±--------±-----------+
| id | poller_name | last_polled | devices | time_taken |
±—±------------±--------------------±--------±-----------+
| 1 | librenms | 2024-09-10 14:01:24 | 65 | 81 |
±—±------------±--------------------±--------±-----------+
1 row in set (0.000 sec)

I looked at the past logs but this error started to popup with this new release, if someone have an idea…

Thanks,

Worked after daily.sh.

thank you

Not sure if it’s helpful @laf but I have daily updates running and magically did not get this problem (this time). So while a lot of people clearly were affected, there seems to be at least one that was not.

Thanks for being awesome with getting things fixed timely! Even if it didn’t help me this time. This kind of support/help is one of many reasons I love libreNMS. :smiley:

It was back to work again after last night’s daily script.

Please help me brother, i have same issue, ,y Pooler is not running and No active python wrapper pollers found. I’ve been looking at this for 3 days and haven’t found a way to fix it. It all started when my librenms did an auto update.
This is my validate

===========================================
Component | Version
--------- | -------
LibreNMS  | 24.8.0-63-g5e9e1e9c9 (2024-09-11T02:54:52+07:00)
DB Schema | 2024_08_27_182000_ports_statistics_table_rev_length (299)
PHP       | 8.1.2-1ubuntu2.18
Python    | 3.10.12
Database  | MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

[OK]    Composer Version: 2.7.9
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[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]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQL and PHP time match
[FAIL]  Poller is not running.  No poller has run within the last 300 seconds.
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[FAIL]  No active python wrapper pollers found
[OK]    Redis is unavailable
[OK]    rrd_dir is writable
[OK]    rrdtool version ok

This is my poller_wrapper.log

2024-09-11 13:00:07,006 :: WARNING :: worker Thread-10 (poll_worker) finished device 30 in 0 seconds with exit code 1
2024-09-11 13:00:07,012 :: ERROR :: Thread Thread-27 (poll_worker) exited with code 1
2024-09-11 13:00:07,012 :: ERROR :: Error: You must run lnms as the user librenms




2024-09-11 13:00:07,012 :: WARNING :: worker Thread-27 (poll_worker) finished device 166 in 0 seconds with exit code 1
2024-09-11 13:00:07,012 :: ERROR :: poller-wrapper checked 152 devices in 4 seconds with 16 workers with 152 errors

Thanks!

Yours is different so you might want to create a new post however the clue is in the logs you posted, you need to run the service as the librenms user which it appears you aren’t doing.

it happened after i reinstalled my librenms server and restore my database from my old librenms server. So what do you think is the right solution to solve my problem?

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