SquidGuard package install failure
-
Hi there,
I am getting an error when I try to install the squidGuard package.
Fatal error: Cannot redeclare is_iprange() (previously declared in /etc/inc/util.inc:194) in /usr/local/pkg/squidguard_configurator.inc on line 1800
I searched before posting and the only matching post (http://forum.pfsense.org/index.php?topic=23711.0) while had the exact error; the solution does not work for a new install. I tried editing the file suidguard_configurator.inc and re-installing but guess the package manager grabs a new copy of the file every time i hit install.
Any hints/tips/workarounds are much appreciated.
- Regards
-
http://forum.pfsense.org/index.php/topic,23711.0.html
-
umm yeah…. that's the post i referenced in my original message....
and as mentioned it does not apply.
anyone else?
-
umm yeah…. that's the post i referenced in my original message....
and as mentioned it does not apply.
anyone else?You edit files and then reinstall? Why ? New installation write old files with bug.
-
reinstall.. make sure you have pyhton installed..
http://ftp.cse.yzu.edu.tw/pub/BSD/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_1.tbz
pkg_add python25-2.5.4_1.tbz
cd /usr/local/lib/python2.5/site-packages/
cp -rp ../../python2.4/site-packages/DenyHosts* .then i just run run this sh
http://www.tomschaefer.org/temp/pfsense/denyhosts/1.2.3/install.sh
everything will work after that..
-
Thanks but had some errors:
# cd /usr/local/lib/python2.5/site-packages/ # cp -rp ../../python2.4/site-packages/DenyHosts* . cp: No match.
which likely cause this:
# chmod +x install.sh # ./install.sh starting touch hosts.deniedssh copy config file denyhosts.conf 100% of 20 kB 73 kBps install daemon denyhosts.sh 100% of 481 B 678 Bps remove old hosts.allow rm: denyhosts: No such file or directory hosts.allow 100% of 124 B 283 kBps set permissions starting denyhosts denyhosts is not running. ./denyhosts.sh: WARNING: run_rc_command: cannot run /usr/local/bin/denyhosts.py Success #
should i install python 2.4 as well?
-
pkg_add -r pyhton
-
-
so i got denyhosts working by installing it by itself but guess what, the original issue remains :(
-
nevermind, got around it by editing the other offending file; pkg installed but with errors - changed the util.inc back to original and edited squidguard configurator this time and done :)
-
good to hear it that worked..i got mine works after fresh install..