Operating System - Linux
1752790 Members
6473 Online
108789 Solutions
New Discussion юеВ

Re: Squid restart problem

 
SOLVED
Go to solution
amzad
Occasional Contributor

Squid restart problem

Hi Dear

1. I am using RHEL AS3 and squid proxy and it was working well. I just inserted a resticted_host in /etc/squid/squid.conf file, then restarted .It was failed with the following error:

" /etc/init.d/squid = line 162 5072 aborted
$SQUID -K check > /dev/null 2>&1
/etc/init.d/squid = line 162 5073 aborted
$SQUID $SQUID_OPTS 2> /dev/null
"
Then I add 2 lines one after another. no result. then i removed rpm and reinstalled. then it shows that message.

how can i solve this problem and squid run properely ?

2. My external IP is 192.168.0.10 in eth0. A broadcast message like " IN= eth0 out =MAC=src=192.168.0.10 DST 192.168.0.255 LN=96 Tos=0X00 PREC =0X00 TTL=0...." apear 40/50 times in a minute. I am exosted

how can i stop broadcast . Please help me

sincerely
amzad



2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Squid restart problem

Shalom amzad,

1) Take out the restricted host and see if it fixes the problem. I don't think this was done right.

2) net.ipv4.icmp_echo_ignore_broadcasts = 0

Thats the default, set it to 1 in /etc/sysctl.conf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: Squid restart problem

Run:

squid -k parse

To check the configuration file syntaxis.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?