Squid starting problem??
Hi,
I am in the process of setting up Squid proxy-server on my linux computer but squid doesn't start. I tried to run it with default configuration that comes with squid*.rpm and got below error. root@RH80 deepika]# service squid start init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 3764 Aborted $SQUID -z -F 2>/dev/null Starting squid: /etc/init.d/squid: line 162: 3765 Aborted $SQUID $SQUID_OPTS 2>/dev/null [FAILED] Any idea what is the problem? Thanks, Deepika |
Hi, I discovered the problem was because I hadn't specified 'visible_hostname' option. After I set this option to my m/c hostname it doesn't give this error any more. But I don't understand why does one HAS TO specify this since according to below statement in "squid.conf" file
Quote:
Can anyone please explain this to me. Thanks, Deepika |
Well that's not due to the problem that u are specifying..
I will tell you why the problem due to if give the content of cache.log here.. found in logs directory under the /etc/squid/ |
Thanks Ricky for offering help.
I also found that I hadn't set my hostname to IP address mapping in /etc/hosts file. Once I specified my hostname there it no longer needed my to define visible_hostname in 'squid.conf' file. Thanks, Deepika |
I believe they make you set it because if gethostname fails and for some reason your proxy is exposed to the Internet (as an open proxy), they want people on the net to be able to contact you and tell you your an open proxy. That is just a guess but it makes sense to me. :-)
|
All times are GMT -5. The time now is 04:38 AM. |