Error installing os-nut plug-in.

Started by ehoitinga, May 03, 2020, 03:49:01 PM

Previous topic - Next topic
Hi,

Has anyone experienced errors while installing the os-nut plugin on opnsense 20.1? Apparently the installer can not find the directory /usr/local/etc/syslog.d/nut.

***GOT REQUEST TO INSTALL: os-nut***
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
os-nut: 1.7
nut: 2.7.4_13
neon: 0.30.2_4
net-snmp: 5.7.3_20,1

Number of packages to be installed: 4

The process will require 18 MiB more space.
3 MiB to be downloaded.
[1/4] Fetching os-nut-1.7.txz: . done
[2/4] Fetching nut-2.7.4_13.txz: .......... done
[3/4] Fetching neon-0.30.2_4.txz: .......... done
[4/4] Fetching net-snmp-5.7.3_20,1.txz: .......... done
Checking integrity... done (0 conflicting)
[1/4] Installing neon-0.30.2_4...
[1/4] Extracting neon-0.30.2_4: .......... done
[2/4] Installing net-snmp-5.7.3_20,1...
[2/4] Extracting net-snmp-5.7.3_20,1: .......... done
[3/4] Installing nut-2.7.4_13...
[b][3/4] Extracting nut-2.7.4_13: .......... done
cp: /usr/local/etc/syslog.d/nut: No such file or directory
pkg: POST-INSTALL script failed[/b]
[4/4] Installing os-nut-1.7...
[4/4] Extracting os-nut-1.7: .......... done
Stopping configd...done
Starting configd.
Migrated OPNsense\Nut\Nut from 0.0.0 to 1.0.3
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Nut: OK
=====
Message from net-snmp-5.7.3_20,1:

--
**** This port installs snmpd, header files and libraries but does not
     start snmpd by default.
     If you want to auto-start snmpd and snmptrapd:, add the following to
     /etc/rc.conf:

snmpd_enable="YES"
snmpd_flags="-a"
snmpd_conffile="/usr/local/share/snmp/snmpd.conf /etc/snmpd.conf"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"

**** You may also specify the following make variables:

NET_SNMP_SYS_CONTACT="zi@FreeBSD.org"
NET_SNMP_SYS_LOCATION="USA"
DEFAULT_SNMP_VERSION=3
NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio"
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp

     to define default values (or to override the defaults).  To avoid being
     prompted during the configuration process, you should (minimally) define
     the first two variables. (NET_SNMP_SYS_*)

     You may also define the following to avoid all interactive configuration:

BATCH="yes"
Checking integrity... done (0 conflicting)
Nothing to do.
***DONE***


Thanks,

Erik