Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2017 21:04:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221487] [bsnmpd] crashes on startup with the enabled module begemotSnmpdModulePath."pf"
Message-ID:  <bug-221487-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221487

            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: admin@support.od.ua

Bsnmpd crashes on startup with the enabled module begemotSnmpdModulePath."p=
f"

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

I uncomment string
#begemotSnmpdModulePath."pf"    =3D "/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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221487-8>