Mohan Jayaweera wrote: > Hi all, my squid (direct) proxy serves clients well, but I can't > execute following commands. can anybody help me. the box is Intel P4, > Redhat Enterprise Edition 4 WS. > Thanking You > Mohan Jayaweera > > [kumara@proxy ~]$ squid -k reconfigure > bash: squid: command not found > [kumara@proxy ~]$ squid -k restart > bash: squid: command not found > [kumara@proxy ~]$ squid -k shutdown > bash: squid: command not found > [kumara@proxy ~]$ > Try running "su -" first. I would think that you would need to be root to modify/shutdown squid. I would also consider using the service command instead of running squid directly to start/stop/restart squid. (By default, a user's prompt ends in $, and root's prompt ends in #, to make it easy to detect when you are running as root.) Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!
Attachment:
signature.asc
Description: OpenPGP digital signature