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

            Bug ID: 221487
           Summary: [bsnmpd] crashes on startup with the enabled module
                    begemotSnmpdModulePath."pf"
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ad...@support.od.ua

Bsnmpd crashes on startup with the enabled module begemotSnmpdModulePath."pf"

FreeBSD tank1.storage.com 11.1-STABLE FreeBSD 11.1-STABLE #0 r322164: Mon Aug 
7 15:33:19 UTC 2017    
r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

I uncomment string
#begemotSnmpdModulePath."pf"    = "/usr/lib/snmp_pf.so"
in the file /etc/snmpd.config

And after running command service bsnmpd onestart received errors:
...
Aug 12 14:02:19 tank1 snmpd[819]: disk_OS_get_disks: adding device 'ada0' to
device list
Aug 12 14:02:19 tank1 snmp_lm75[819]: pf_init(): open(): No such file or
directory
Aug 12 14:02:19 tank1 kernel: Aug 12 14:02:19 tank1 snmp_lm75[819]: pf_init():
open(): No such file or directory
Aug 12 14:02:19 tank1 snmp_lm75[819]: lm_load: init failed: -1
Aug 12 14:02:19 tank1 kernel: Aug 12 14:02:19 tank1 snmp_lm75[819]: lm_load:
init failed: -1
Aug 12 14:02:19 tank1 snmp_lm75[819]: init dep failed: 13
1.3.6.1.4.1.12325.1.1.1.6 2.112.102
Aug 12 14:02:19 tank1 kernel: Aug 12 14:02:19 tank1 snmp_lm75[819]: init dep
failed: 13 1.3.6.1.4.1.12325.1.1.1.6 2.112.102
Aug 12 14:02:19 tank1 kernel: pid 819 (bsnmpd), uid 0: exited on signal 11
(core dumped)

I understand that you need to load the kernel module PF (/boot/kernel/pf.ko)
And then bsnmpd with this module will not crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to