Pfsense 2.0.1 i386 and freeipmi version?
Has anyone gotten freeipmi.tgz to install under pfsense 2.0.1 release i386? if I issue this command:
pkg_add -r freeipmi.tgz
it reports that no version is available.
and if I try to install via this link:
and try to run ipmi-sensors, it returns a 'segmentation fault' error.
8-stable is packages for the most recent code in the 8 branch (at least 8.3). 2.0.1 is based on 8.1.
try this instead:
pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/freeipmi.tbz
Thanks Steve. Now it returns this:
[2.0.1-RELEASE][email@example.com]/usr/local/etc(18): pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/freeipmi.tbz
Fetching ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/freeipmi.tbz… Done.
pkg_add: warning: package 'freeipmi-0.7.1_1' requires 'argp-standalone-1.3_1', but 'argp-standalone-1.3_2' is installed
pkg_add: warning: package 'freeipmi-0.7.1_1' requires 'gettext-0.18_1', but 'gettext-0.18.1.1' is installed
pkg_add: warning: package 'freeipmi-0.7.1_1' requires 'libgpg-error-1.7_1', but 'libgpg-error-1.10' is installed
pkg_add: warning: package 'freeipmi-0.7.1_1' requires 'libgcrypt-1.4.5_1', but 'libgcrypt-1.5.0' is installed
But when I attempt to run: /usr/local/sbin/ipmi-sensors , it now returns the following:
/libexec/ld-elf.so.1: Shared object "libgcrypt.so.16" not found, required by "ipmi-sensors"
It's because you already installed a more recent, but incompatible, package. The 8-stable version pulled in all of it's dependencies which are also from 8-stable.
The 8.1 package doesn't install it's dependencies because more recent versions are present.
libgcrypt.so.16 is found in the 8.1 libgcrypt package, if you look in /lib you will probably find a more recent version.
You are now stuck with a horrible mix of modules! ::)
Try running pkg_info to see what you have installed. Then pkg_delete those that cause trouble, starting with libgcrypt, and add them from the 8.1 archive source.
Alternatively backup your config and reinstall clean. Of course that may not be easy for you. ;)
Stephen, thanks SO much for your patience and help. In the end, I was able to restore libgcrypt from the FreeBSD archive site and install the appropriate version of freeipmi. This restored both my bmc-watchdog functionality as well as added the ipmi-sensors function. I too was able to add the IPMI Sensor entry to pfsense Diagnostics drop-down so I can access from within the web UI. Much appreciated.