SquidGuard Filter update fails on ALIX
-
Hey guys,
I have switched to 2.0-RC2 (i386, nanoBSD 1GB, Built On: Mon May 23 03:00:00 EDT 2011) on my ALIX (former IPCOP).
Most things are working fine.But now i got stuck since days setting up SquidGuard.
When I try to download and update the Blacklist, it doesn't work at all and I get some errors in the system.log like:
… out of swap space ...
... /tmp disk full ...I've tried several thing, including resizing /dev/md0 from boot (/tmp) up to 200m.
It seems to me, that either I can have enough space on /tmp to download an unpack the blacklist file or have enough free mem. I haven't found a size of /tmp which will work.I have also seen error messages in the log related to the SquidGuard update script (.../dev/md15 is not mounted, /tmp/SquidGuard is not found) but I have solved these problems by manually mkdir the folder in /tmp before I start the download/update of Blacklists.
May using a USB stick as /tmp in a certain size solve my problem, or have I made something different wrong...
Every help is highly appreciated. I have not planned to go back to IPCOP ;-)
Frank
-
Here are the related system.log parts:
(standard size for /var and /tmp)May 24 08:49:11 stargate php: : The command '/sbin/mdmfs -s 200M md15 /tmp/squidGuard' returned exit code '1', the output was 'mdmfs: mount exited with error code 64' May 24 08:49:11 stargate php: : The command 'chmod 1777 /tmp/squidGuard' returned exit code '1', the output was 'chmod: /tmp/squidGuard: No such file or directory' May 24 08:52:58 stargate kernel: pid 40322 (php), uid 0, was killed: out of swap space May 24 08:52:58 stargate kernel: pid 11473 (squid), uid 62, was killed: out of swap space May 24 08:52:58 stargate squid[59601]: Squid Parent: child process 11473 exited due to signal 9 May 24 08:52:59 stargate kernel: pid 56727 (dhcpd), uid 1002, was killed: out of swap space May 24 08:52:59 stargate kernel: pid 23605 (cp), uid 0 inumber 4021 on /var: filesystem full May 24 08:52:59 stargate kernel: pid 32797 (lighttpd), uid 0, was killed: out of swap space May 24 08:53:01 stargate kernel: pid 56446 (php), uid 0, was killed: out of swap space May 24 08:53:36 stargate Squid_Alarm[47272]: Squid has exited. Reconfiguring filter. May 24 08:53:36 stargate Squid_Alarm[47787]: Attempting restart... May 24 08:53:37 stargate squid[49050]: Squid Parent: child process 49488 started May 24 08:53:37 stargate kernel: pid 49488 (squid), uid 62 inumber 2013 on /var: filesystem full May 24 08:53:38 stargate kernel: pid 49488 (squid), uid 62 inumber 2013 on /var: filesystem full May 24 08:53:40 stargate Squid_Alarm[50426]: Reconfiguring filter... May 24 08:53:42 stargate squid[49050]: Squid Parent: child process 49488 exited due to signal 9 May 24 08:53:42 stargate kernel: pid 49488 (squid), uid 62, was killed: out of swap space May 24 08:53:43 stargate kernel: pid 50519 (php), uid 0, was killed: out of swap space
-
It is unlikely you will ever get blacklists to work on ALIX.
The error messages you show indicate a lack of RAM and other related errors (/tmp is a RAM disk and it's also probably full)