I run a script to clear squid log files:
/bin/kill -9 `cat /local/squid/etc/squid.pid`
cd /local/squid/logs
/local/bin/gzip access.log
/local/bin/gzip cache.log
/local/bin/gzip hierarchy.log
/local/bin/gzip store.log
cat /dev/null >/local/squid/logs/access.log
cat /dev/null >/local/squid/logs/cache.log
cat /dev/null >/local/squid/logs/hierarchy.log
cat /dev/null >/local/squid/logs/store.log
chown nobody.nobody /local/squid/logs/access.log
chown nobody.nobody /local/squid/logs/cache.log
chown nobody.nobody /local/squid/logs/hierarchy.log
chown nobody.nobody /local/squid/logs/store.log
/local/squid/bin/RunCache &
it worked only one day, then no log file is used by httpd but cache.log
what is the problem.
Any commends will be appreciated
thanks in advance
Julie Xu
email: j.xu@uws.edu.au
Received on Thu Feb 13 1997 - 15:52:23 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:27 MST