On Wed, Apr 02, 2003 at 09:14:33AM +0530, Sandip Bhattacharya wrote: > > Small correction. Its /var/log/squid/cache.log for squid related issues. > > Not I think, when the mother squid process is itself facing > problems. In those cases error messages go to syslog. As an example, > try changing the squid HTTP port to a port which an existing process > is using, and then restart squid. Squid would complain about the > failure to bind in the syslog.
I checked. It logs in *both* places this particular event. cache.log has more information logged, though (like errno and strerror). (Port 5001 is in use, by iperf). [EMAIL PROTECTED]/var/log/squid]:(7) head -20 cache.log [snip] 2003/04/02 16:45:58| commBind: Cannot bind socket FD 10 to *:5001: (98) Address already in use FATAL: Cannot open HTTP Port Squid Cache (Version 2.4.STABLE6): Terminated abnormally. [EMAIL PROTECTED]/var/log/squid]:(10) tail -20 ../messages [snip] Apr 2 16:46:08 zeus squid[19706]: Squid Parent: child process 19719 started Apr 2 16:46:08 zeus (squid): Cannot open HTTP Port Binand -- Russian Roulette with Unix: while :; do kill $RANDOM &> /dev/null && break || sleep 1; done ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
