Re: [squid-users] Squid Error Assistance Needed.

2009-08-21 Thread gn0m3

Schoolboy error.Will learn from this lesson!

Many thanks again.

Jakob Curdes wrote:
 
 tip: always make an initial copy of the original config file, in this 
 way you can always verify (with diff or whatever) the changes you made.
 
 jc
 
 

-- 
View this message in context: 
http://www.nabble.com/Squid-Error-Assistance-Needed.-tp25060332p25075747.html
Sent from the Squid - Users mailing list archive at Nabble.com.



Re: [squid-users] Squid Error Assistance Needed.

2009-08-20 Thread Jakob Curdes

gn0m3 schrieb:

Hi guys,

I added a new acl into the squid.conf file and now the service will not
start. I have taken out what I put in and re-saved then rebooted the server.
Still no joy. The error tells me it is in line 54 which is as follows

http_access allow manager localhost

When i launch squid directly in the terminal it tells me ACL localhost not
defined, yet it is (see below)

  

Where? I only see an ACL to_localhost ...

acl to_localhost dst 127.0.0.0/8



http_access allow manager localhost
  
that can't work ... remember that the items behind the acl keyword are 
not the system's interface names but just strings that might happen to 
have the name of an interface - and each must be defined separately. It 
is better to never rename existing things but instead make copies and 
leave the defaults.


HTH,
Jakob


Re: [squid-users] Squid Error Assistance Needed.

2009-08-20 Thread gn0m3

Thanks so much, problem fixed!!

I can now relax that 200 people are not on facebook, youtube, etc, etc.

Very much appreciated.

Joe

Jakob Curdes wrote:
 


 I hate to say it, but i am more confused!! All i did was add a new acl
 then tried to restart squid. It was then I got this error, I removed it
 and then re-saved so am unsure as to what else has changed. Are there any
 more pointers you can give me as to what I need to add to the .conf file? 
   
 just replace to_localhost (which you probably changed inadvertently) 
 to localhost. Then squid will be able to parse the config file.
 
 JC
 
 

-- 
View this message in context: 
http://www.nabble.com/Squid-Error-Assistance-Needed.-tp25060332p25062904.html
Sent from the Squid - Users mailing list archive at Nabble.com.



Re: [squid-users] Squid Error Assistance Needed.

2009-08-20 Thread Jakob Curdes
tip: always make an initial copy of the original config file, in this 
way you can always verify (with diff or whatever) the changes you made.


jc