Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Dave Helmuth on August 22, 2001, 04:08:46 PM
-
I followed the instructions for downloading/installing e-Smith squidGuard at:
http://www.mail-archive.com/devinfo%40lists.e-smith.org/msg04718.html
All appeared to go well until the end of the install when a few errors popped up about not being able to open a file.
However after booting, sites are being blocked. I am however getting the following error message e-mailed to the admin account:
/etc/cron.daily/supdate.cron:
04:06:10 URL:http://ftp.ost.eltele.no:80/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz%7E [1420983/1420983] -> "blacklists.tar.gz~" [1]
tar (child): blacklists.tar.gz: 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
It appears that the supdate.cron file is trying to get the most current blacklists from squidGuard. Here are the contents of supdate.cron
#!/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
Does anyone know what would cause it to bomb out??
Thanks for the help!!!
-
The squidGuard blacklist tar file has moved.
Trevor Oulette mentioned it on the devinfo mailing list and is liasing with the squidGuard people.
-
Ok,
The blacklist update will work with a few changes:
1. Log in as root/password in the console (ALT-F2)
2. cd /usr/local/squidGuard
3. vi supdate
Ok, now press "i" for Insert mode and use your arrow keys to make the following changes:
- Add a "~" to the end of the line line, like this:
wget -nv http://ftp.ost.eltele.no/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz~
- Add a "~" to the end of this line as well, like this:
tar -zxf blacklists.tar.gz~
Now, to save your file, press ESC once, and now enter :wq!
to do an update manually, ./supdate from the squidGuard directory.
Good LUCK! There will be a version 2 coming soon.
-
Worked like a champ!!! Thanks a ton Trevor. I really like this feature. I hope that the same capability gets incorporated back in to the normal distribution.