[Bug 248255] net-mgmt/librenms: ./validate.php script cannot find python3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 25 07:52:25 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248255

            Bug ID: 248255
           Summary: net-mgmt/librenms: ./validate.php script cannot find
                    python3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dvl at FreeBSD.org
          Reporter: moiseev at mezonplus.ru
             Flags: maintainer-feedback?(dvl at FreeBSD.org)
          Assignee: dvl at FreeBSD.org

# /usr/local/www/librenms/validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.65.1
DB Schema | 2020_06_23_00522_alter_availability_perc_column (170)
PHP       | 7.2.31
Python    |
MySQL     | 5.7.31
RRDTool   | 1.7.2
SNMP      | NET-SNMP 5.7.3
====================================

[OK]    Installed from package; no Composer required
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  fping FAILURES can be ignored if running LibreNMS in a jail without
::1. You may want to test it manually: fping ::1
[FAIL]  /usr/local/sbin/fping could not be executed. /usr/local/sbin/fping must
have CAP_NET_RAW capability (getcap) or suid. Selinux exclusions may be
required.
 (This account is currently not available.)
[WARN]  fping FAILURES can be ignored if running LibreNMS in a jail without
::1. You may want to test it manually: fping ::1
[FAIL]  /usr/local/sbin/fping6 could not be executed. /usr/local/sbin/fping6
must have CAP_NET_RAW capability (getcap) or suid. Selinux exclusions may be
required.
 (This account is currently not available.)
[FAIL]  python3 not found
        [FIX]:
        Install Python 3 for your system.

# pkg info -ox pyth
py37-python-dotenv-0.14.0      www/py-python-dotenv
python37-3.7.8_1               lang/python37

# whereis python37
python37: /usr/ports/lang/python37

# /usr/local/bin/python3.7 --version
Python 3.7.8

Creating soft link fixes the issue:
# ln -s /usr/local/bin/python3.7 /usr/local/bin/python3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list