always show icmpSend: send: (96) Destination address required

this is another history that i use squid. after install squid on my solaris box. i'm facing another problem. my cache.log always show warning like this,

2010/12/28 18:22:01| icmpSend: send: (96) Destination address required
2010/12/28 18:22:02| icmpSend: send: (96) Destination address required
2010/12/28 18:22:02| icmpSend: send: (96) Destination address required
2010/12/28 18:22:02| icmpSend: send: (96) Destination address required
2010/12/28 18:22:03| icmpSend: send: (96) Destination address required



oh no, with this, i can not see more information in log. I have to find why this happen, and how to make this solve.

after asking to friend and also googling it, I found the problem.
problem come from file that call pinger. this is one of squid program that you can find in libexec directory. by default, this program is in read and executable permission. so, it need to be change into 4555 permission.
here is the step
go to libexec on your squid directory, and make sure pinger is exis in there. after that, change the permission. remember, you must login as a root.
chmod 4555 pinger
after change the permission, you have to restart your squid. since i'm using solaris, there is a litle bit different to change it. i use this command to restart squid.

svcadm restart sun-squid

so simple and easy.

done, wait for a while until squid finish restart. and try again check your cache.log. you will find no more warning
icmpSend: send: (96) Destination address required

Komentar

Postingan Populer