----- Original Message -----
From: Josef Hauern <linux@gabo.de>
To: <squid-users@squid-cache.org>
Sent: Thursday, April 05, 2001 1:05 PM
Subject: [squid-users] FATAL: Failed to start any dnsservers
> hi,
>
> i have suse 6.1 and squid version 1.novm22 on my testserver.
> i got the error: FATAL Failed to start any dnsservers
> when i start squid.
>
> i thought this would be a permission problem. so i looked to the
permission
> of
> /usr/sbin/dnsserver > -rwxr-xr-x
> but the permission settings are also ok.
>
> could you give me an advice?
Have you tried setting setting the Group that the file belongs to? Make sure
that the owner is root.
> another question:
> on our working proxyserver there some old contents of pages in the cache.
so
> if a web-site changes the layout or the contents our proxyserver does not
> change the contents of it´s cache . my only choice is to rebuild the cache
> with squid -z. is there any other choice to let squid look after several
> period of time to delete the old contents of it´s cache?
You could write a cron job which then executes a shell script that would
periodically (depending upon the time you specify in the cron job) delete
the contents of the cache, thus:
#!/bin/bash
cd /var/squid/cache
rm -f *
If you saved this script as "cacheclear" in your "/usr/bin" folder and then
type in:
chmod 700 /usr/bin/cacheclear
and then run it, this will clear you cache
does this help?
Regards,
Thomas Adam
> thanks in advance.
>
> josef
>
>
>
>
>
>
>
Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender.
If you have any complaints about this message please reply to:
office@purbeck.dorset.sch.uk
The Purbeck School E-Mail server running:
users.purbeck.dorset.sch.uk
Received on Thu Apr 05 2001 - 06:10:39 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:09 MST