Poller is not running - about to drive me nuts

So for the last week my poller has not been running and I don’t know what made it stop.

Librenms is running on latest Debian 12 packages and I have tried to re-install Librenms without any luck as well. (3 times! - while saving the db, .env and rrd/)

Bu still doing ./validate.php gives me this:

===========================================
Component | Version
--------- | -------
LibreNMS  | 25.8.0-dev.18+0b0a7e7b4 (2025-07-30T00:05:52+02:00)
DB Schema | 2025_07_29_025425_hr_device_table_add_type_default (353)
PHP       | 8.2.29
Python    | 3.11.2
Database  | MariaDB 10.11.11-MariaDB-0+deb12u1
RRDTool   | 1.7.2
SNMP      | 5.9.3
===========================================

[OK]    Composer Version: 2.8.10
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[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]    rrdtool version ok
[OK]    Connected to rrdcached

And yeah, my ./daily.sh still does not work - Link here even with the re-installs!

I have googled this issues several times now without any resolution. Can someone help me out?

● cron.service - Regular background program processing daemon
     Loaded: loaded (/lib/systemd/system/cron.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-07-31 04:20:20 CEST; 48min ago
       Docs: man:cron(8)
   Main PID: 727 (cron)
      Tasks: 1 (limit: 76762)
     Memory: 25.6M
        CPU: 11.919s
     CGroup: /system.slice/cron.service
             └─727 /usr/sbin/cron -f

Jul 31 05:05:02 domain.tldCRON[4588]: pam_unix(cron:session): session closed for user librenms
Jul 31 05:06:01 domain.tld CRON[4646]: pam_unix(cron:session): session opened for user librenms(uid=999) by (uid=0)
Jul 31 05:06:01 domain.tld CRON[4647]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
Jul 31 05:06:01 domain.tld CRON[4646]: pam_unix(cron:session): session closed for user librenms
Jul 31 05:07:01 domain.tld CRON[4655]: pam_unix(cron:session): session opened for user librenms(uid=999) by (uid=0)
Jul 31 05:07:01 domain.tld CRON[4656]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
Jul 31 05:07:01 domain.tld CRON[4655]: pam_unix(cron:session): session closed for user librenms
Jul 31 05:08:01 nms.trdf.kriminalomsorg.no CRON[4665]: pam_unix(cron:session): session opened for user librenms(uid=999) by (uid=0)
Jul 31 05:08:01 domain.tld CRON[4666]: (librenms) CMD (   /opt/librenms/alerts.php >> /dev/null 2>&1)
Jul 31 05:08:02 domain.tld
 CRON[4665]: pam_unix(cron:session): session closed for user librenms

root@nms:~# cat /etc/cron.d/librenms
33   */6  * * *   librenms    /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1
*/5  *    * * *   librenms    /opt/librenms/discovery.php -h new >> /dev/null 2>&1

*/5  *    * * *   librenms    /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
*    *    * * *   librenms    /opt/librenms/alerts.php >> /dev/null 2>&1

*/5  *    * * *   librenms    /opt/librenms/poll-billing.php >> /dev/null 2>&1
01   *    * * *   librenms    /opt/librenms/billing-calculate.php >> /dev/null 2>&1
*/5  *    * * *   librenms    /opt/librenms/check-services.php >> /dev/null 2>&1

Update:

Exported the librenms db file to another location, same with rrd/, config.php and the .env file.
Did a rm -rf /opt/librenms
Then followed the install docs and installed librenms, added one random host to poll, and everything worked, even the ./daily.sh
So after one poll and re-added the old db with ca 650 hosts, and copied back the rrd-folder fixed the .evn with new APP_KEY and made that work and now the poller is not running again. So is there something in the sql file that librenms is not liking?

1 Like

Update 2:
So the poller stopped working around 25.07.25 - and I do daily mysql backups, I rolled back to the mysql db form 24.07.25 and now everything works!

One thing you should have done is looked in the librenms.log file for errors.

Yeah I did at the time, but there was whole lot of nothing! Just “ERROR” or something like that nothing informative

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