SquidGuard problems in 2.0-RC3 (i386) Jul 25 12:11:13
I made two clean installs, both with the same problems, both with 2.0-RC3 (i386) Jul 25 12:11:13
After initial setup, I configured WAN, LAN and DNS as usual, add packages Squid and SquidGuard, configured Squid for non transparent, created a target category and a simple ACL for SquidGuard.
When I try to enable SquidGuard it doesn't start :(
In the logs
Jul 26 02:50:09 squid: The url_rewriter helpers are crashing too rapidly, need help! Jul 26 02:50:09 squid: Squid Parent: child process 62196 exited due to signal 6 Jul 26 02:50:09 kernel: pid 62196 (squid), uid 62: exited on signal 6 Jul 26 02:50:09 squid: Exiting due to repeated, frequent failures
If I try to start SquidGuard from command line I get this:
/usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf /libexec/ld-elf.so.1: /usr/local/lib/libdb-4.2.so.2: unsupported file layout
Is package db42-4.2.52_5 broken?
I guess so. I'm on 2.0-RC3 built on Jun 21 17:40:54 EDT 2011, and I have the same issue today.
But I did installed squidguard on the same pfSense release last friday without any issue.
I think that gives us a good answer:
elfdump -a libdb-4.2.so.2
e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
The package has been compiled 64 bits….
I really don't know why 64 bit executables ended on my system… all I have done is to upgrade 1.2.3 to 2.0 RC3.
But, running this command fixes the problem:
pkg_add -f -r http://files.pfsense.org/packages/8/All/db42-4.2.52_5.tbz
On another system, I also had other libraries broken that had more severe consequences, so I will investigate.
I just reverted my VMWare snapshot to pfSense 1.2.3 and redone the upgrade with the same RC3 release, and now SquidGuard was okay after the reboot.
jimp Rebel Alliance Developer Netgate
Try to reinstall it again now. There were some binary updates to the packages that didn't go quite right. Though the correct files should be up now.