Hello,
After updating debian 10, and installing python3, poller is not working anymore:
Everything seems ok :
./validate.php
Component | Version |
---|---|
LibreNMS | 1.64.1-3-gb6875b73c |
DB Schema | 2020_04_06_001048_the_great_index_rename (165) |
PHP | 7.3.14-1~deb10u1 |
Python | 3.7.3 |
MySQL | 10.3.22-MariaDB-0+deb10u1 |
RRDTool | 1.7.1 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.10.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
pip3 install -r requirements.txt
Requirement already satisfied: PyMySQL in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (0.9.3)
Requirement already satisfied: python-dotenv in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (0.9.1)
Requirement already satisfied: redis>=3.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (3.2.1)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (40.8.0)
/var/www/librenms/daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Output for the poller :
Cronic detected failure or error output for the command:
/var/www/librenms/poller-wrapper.py 6
RESULT CODE: 2
ERROR OUTPUT:
STANDARD OUTPUT:
ERROR: Could not connect to MySQL database!
ERROR: (2003, “Can’t connect to MySQL server on ‘localhost’ ([Errno 111] Connection refused)”)
Regards,