Re: [squid-users] Squid won't debug

From: John Oliver <joliver@dont-contact.us>
Date: Thu, 6 Jul 2006 09:53:53 -0700

On Thu, Jul 06, 2006 at 09:44:10AM +0530, Visolve Squid wrote:
> John Oliver wrote:
>
> >[root@kira squid-2.5.STABLE14]# /usr/local/squid/sbin/squid -k debug
> >squid: ERROR: No running copy
> >
> >
> Squid is not running....
>
> Start Squid first then debug it
>
> #/usr/local/squid/sbin/squid
> #/usr/local/squid/sbin/squid -k debug

Huh! That's... counterintuitive :-)

> >ERROR
> >The requested URL could not be retrieved
> >
> >While trying to retrieve the URL: http://localhost:81/
> >
> >The following error was encountered:
> >
> > * Access Denied.
> >
> > Access control configuration prevents your request from being
> >allowed at this time. Please contact your service provider if you feel
> >this is incorrect.
> >
> >
> >I tried "http_access allow all" since I'm using Squid as an accelerator,
> >but that didn't work.
> >
> >
> >
> Check your iptables setting.
> #iptables -L
> If there is any rule set for denying port 81,remove it and then try it
> again.

I do not use iptables, or any other firewall software on this host.

But the message I get (above) is from Squid.

> Also you can check to know whether the port 81 is opened.
> #telnet localhost 81

Yes, that was the first thing I verified :-)

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************
Received on Thu Jul 06 2006 - 10:53:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT