I can manually run ./poller-wrapper.py but it has stopped running automatically

librenms@librenms:~$ ./daily.sh
Fetching new release information OK
Between releases, waiting for newer release
Updating Composer packages OK
Updated from unset to OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Caching Mac OUI data OK
librenms@librenms:~$ ./validate.php

Component Version
LibreNMS 23.2.0-45-g468305651 (2023-03-30T06:41:01-04:00)
DB Schema 2023_03_14_130653_migrate_empty_user_funcs_to_null (249)
PHP 8.1.7-1ubuntu3.3
Python 3.10.7
Database MariaDB 10.6.12-MariaDB-0ubuntu0.22.10.1
RRDTool 1.7.2
SNMP 5.9.3
===========================================

[OK] Composer Version: 2.5.5
[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] Database and column collations are correct
[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 active python wrapper pollers found
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@librenms:~$

I am on the monthly update. Have try changing permissions of /etc/cron.d/librenms and a number of other hacks listed here but nothing seems to help. Any ideas ??

i can manually run ./poller-wrapper.py but it has stopped running automatically

asg@librenms:~$ systemctl status cron.service
â cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-04-05 14:35:58 EDT; 36s ago
Docs: man:cron(8)
Main PID: 2046784 (cron)
Tasks: 1 (limit: 14198)
Memory: 332.0K
CPU: 1.580s
CGroup: /system.slice/cron.service
ââ2046784 /usr/sbin/cron -f -P

Apr 05 14:35:58 librenms cron[2046784]: (CRON) INFO (Skipping @reboot jobs – not system startup)
Apr 05 14:36:01 librenms CRON[2046787]: pam_unix(cron:session): session opened for user librenms(uid=998) by (uid=0)
Apr 05 14:36:01 librenms CRON[2046786]: pam_unix(cron:session): session opened for user librenms(uid=998) by (uid=0)
Apr 05 14:36:01 librenms CRON[2046788]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
Apr 05 14:36:01 librenms CRON[2046789]: (librenms) CMD ( /opt/librenms/ping.php >> /dev/null 2>&1)
Apr 05 14:36:01 librenms CRON[2046785]: pam_unix(cron:session): session opened for user librenms(uid=998) by (uid=0)
Apr 05 14:36:01 librenms CRON[2046790]: (librenms) CMD ( cd /opt/librenms/ && php artisan schedule:run >> /dev/null 2>&1)
Apr 05 14:36:02 librenms CRON[2046787]: pam_unix(cron:session): session closed for user librenms
Apr 05 14:36:02 librenms CRON[2046785]: pam_unix(cron:session): session closed for user librenms
Apr 05 14:36:02 librenms CRON[2046786]: pam_unix(cron:session): session closed for user librenms
asg@librenms:~$

Seems like I have a possible ownership and maybe permissions as well on /etc/cron.d/librenms
Can someone please direct me on ownership and permissions. Currently i think they are set as:
chown -R root /etc/cron.d/librenms
chmod 644 /etc/cron.d/librenms

Any direction is much appreciated. I believe this is what is preventing my poller from running.

asg@librenms:~$ systemctl status cron.service
â cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-04-05 14:35:58 EDT; 13min ago
Docs: man:cron(8)
Main PID: 2046784 (cron)
Tasks: 30 (limit: 14198)
Memory: 60.0M
CPU: 2min 47.432s
CGroup: /system.slice/cron.service
ââ2046784 /usr/sbin/cron -f -P
ââ2059366 /usr/sbin/CRON -f -P
ââ2059373 /bin/sh -c " /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16"
ââ2059380 bash /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
ââ2059386 python3 /opt/librenms/poller-wrapper.py 16
ââ2059474 /bin/sh -c “/usr/bin/env php /opt/librenms/poller.php -h 15”
ââ2059476 php /opt/librenms/poller.php -h 15
ââ2059547 sh -c “/usr/bin/rrdtool -”
ââ2059548 /usr/bin/rrdtool -
ââ2059550 sh -c “/usr/bin/rrdtool -”
ââ2059559 /usr/bin/rrdtool -
ââ2064057 /usr/bin/snmpbulkwalk -v2c -c “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” -OQUs -m CISCO-VTP-MIB -M /opt/librenms/mibs:/opt/librenm>

Apr 05 14:48:02 librenms CRON[2063662]: pam_unix(cron:session): session closed for user librenms
Apr 05 14:49:01 librenms CRON[2064029]: pam_unix(cron:session): session opened for user librenms(uid=998) by (uid=0)
Apr 05 14:49:01 librenms CRON[2064031]: pam_unix(cron:session): session opened for user librenms(uid=998) by (uid=0)
Apr 05 14:49:01 librenms CRON[2064032]: (librenms) CMD ( cd /opt/librenms/ && php artisan schedule:run >> /dev/null 2>&1)
Apr 05 14:49:01 librenms CRON[2064033]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
Apr 05 14:49:01 librenms CRON[2064030]: pam_unix(cron:session): session opened for user librenms(uid=998) by (uid=0)
Apr 05 14:49:01 librenms CRON[2064034]: (librenms) CMD ( /opt/librenms/ping.php >> /dev/null 2>&1)
Apr 05 14:49:01 librenms CRON[2064031]: pam_unix(cron:session): session closed for user librenms
Apr 05 14:49:01 librenms CRON[2064029]: pam_unix(cron:session): session closed for user librenms
Apr 05 14:49:02 librenms CRON[2064030]: pam_unix(cron:session): session closed for user librenms

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