Re: Squid -k Reconfigure not Working

Tony Nugent <[email protected]> Fri, 02 Aug 2002 21:23:53 +1000
Newsgroups gmane.linux.redhat.release.zoot
Organization Linux Works for network
Message-ID <[email protected]>
On Wed Jul 31 2002 at 12:15, "DineshKumarG" wrote:

> I want to run squid -k reconfigure,

You need to do that as root.  The logrotate scripts use (or should
be using) a similar command (-k rotate) to do regular rotations of
the squid log files (it runs as root).

> If i run this command now whole squid is not working that is ,Internet
> Rights does not restrict to some person ,Rights is allowed for all.

As I said, you can only do that as root.

> Then the whole process of using squid is not usefull to us.
> even i tried using /etc/rc.d/init.d/squid reload same thing happens
> Internet Rights is allowed for all.

Yes, that's right.  It is a network daemon, it need be run by root,
and (at least initially) run with root privileges.  This is unix,
not microslop land.

> With Regards,
> 
> Dinesh Kumar G

Make sure that you are using the latest release redhat security
bugfix update package for squid (there was new one released only
recently), you are likely to get it spammed if you don't (believe
me, I've seen it happen).

Also make sure that your zoot box is running the latest updates for
bind, lpd, portmap, nfs, apache, sendmail, imap/pop and whatever
other daemons and services that you intend to run on it.  Redhat 6.2
is very stable (a real gem), but it has a number of very well-known
security exploits if it isn't updated (and kept that way).

Cheers
Tony