Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: irule on January 05, 2005, 09:59:04 AM
-
I keep getting this daily mail, anyone a solution?
/etc/cron.daily/supdate.cron:
tar (child): *: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
cp: cannot stat blacklists/*': No such file or directory
supdate.cron looks like this:
!/bin/sh
#
# Trigger supdate for SquidGuard
cd /usr/local/squidGuard
./supdate >> /var/log/messages
rm -Rf /usr/local/squidGuard/log/squidGuard.log
touch /usr/local/squidGuard/log/squidGuard.log
chmod 644 /usr/local/squidGuard/log/squidGuard.log
chown squid /usr/local/squidGuard/log/squidGuard.log
chgrp squid /usr/local/squidGuard/log/squidGuard.log
-
Try changing the update blacklist in server manager to:
http://ftp.teledanmark.no/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz
hope this helps
Rob
-
I can't find where I have to fill in the blacklist, there is no panel for that.......
-
OK web browse to server-manager. You should have a "Content Filtering" Link in the left frame. The blacklist is there. Edit and submit
Rob
-
stupid me, didn't see it...
found it now, but can't change the field, when I press submit I get;
You didn't enter ANY data in the Blacklist field!
???
-
Mmmm, youve got me there - Ive never had that problem.
Are you running SME 6.0+??
Are you using SquidGuard3.2??
If not I recommend this :
http://mirror.contribs.org/smeserver/contribs/cbharda/contrib/squidGuard/squidguard3.2.tar.gz
Good Luck
Rob
-
I'm using the 6.0.1 contribs version.
I've installed the squidguard version from the location you gave, but still can't change the settings.
I've changed this manually in /home/e-smith/squidguard/blacklist_loc
Hope this is allright, let's say what kind of mail I will get tomorrow.....
-
The mail now changed to this:
/etc/cron.daily/supdate.cron:
04:05:16 URL:http://ftp.teledanmark.no/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz [345369/345369] -> "blacklists.tar.gz" [1]
chgrp: getting attributes of *': No such file or directory
chmod: getting attributes of *': No such file or directory
chgrp: getting attributes of *': No such file or directory
chmod: getting attributes of *': No such file or directory
touch: creating /usr/local/squidGuard/log/squidGuard.log': No such file or directory
chmod: getting attributes of /usr/local/squidGuard/log/squidGuard.log': No such file or directory
chown: getting attributes of /usr/local/squidGuard/log/squidGuard.log': No such file or directory
chgrp: getting attributes of /usr/local/squidGuard/log/squidGuard.log': No such file or directory
ideas anyone?