Networking Forums

Networking Forums > Computer Networking > Linux Networking > Ok, here is a weird one...

Reply
Thread Tools Display Modes

Ok, here is a weird one...

 
 
Noah Roberts
Guest
Posts: n/a

 
      01-18-2005, 11:12 PM
Trynig to learn how to get squid working...

Using gentoo.

squid.conf---------------------------
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 80
visible_hostname 192.168.0.2
-----------------------------------

result of /etc/init.d/squid restart

* Stopping squid...
[ ok ] * Starting squid...
2005/01/18 08:04:53| squid.conf line 8: http_access deny all
2005/01/18 08:04:53| aclParseAccessLine: ACL name 'all' not found.
2005/01/18 08:04:53| squid.conf line 8: http_access deny all
2005/01/18 08:04:53| aclParseAccessLine: Access line contains no ACL's,
skipping2005/01/18 08:04:53| squid.conf line 9: http_reply_access allow
all
2005/01/18 08:04:53| aclParseAccessLine: ACL name 'all' not found.
2005/01/18 08:04:53| squid.conf line 9: http_reply_access allow all
2005/01/18 08:04:53| aclParseAccessLine: Access line contains no ACL's,
skipping2005/01/18 08:04:53| squid.conf line 10: icp_access deny all
2005/01/18 08:04:53| aclParseAccessLine: ACL name 'all' not found.
2005/01/18 08:04:53| squid.conf line 10: icp_access deny all
2005/01/18 08:04:53| aclParseAccessLine: Access line contains no ACL's,
skipping2005/01/18 08:04:53| squid.conf line 11: ident_lookup_access
deny all
2005/01/18 08:04:53| aclParseAccessLine: ACL name 'all' not found.
2005/01/18 08:04:53| squid.conf line 11: ident_lookup_access deny all
2005/01/18 08:04:53| aclParseAccessLine: Access line contains no ACL's,
skipping2005/01/18 08:04:53| squid.conf line 12: reply_body_max_size 0
allow all
2005/01/18 08:04:53| aclParseAccessLine: ACL name 'all' not found.
2005/01/18 08:04:53| squid.conf line 12: reply_body_max_size 0 allow
all
2005/01/18 08:04:53| aclParseAccessLine: Access line contains no ACL's,
skipping2005/01/18 08:04:53| squid.conf line 14: snmp_access deny all
2005/01/18 08:04:53| aclParseAccessLine: ACL name 'all' not found.
2005/01/18 08:04:53| squid.conf line 14: snmp_access deny all
2005/01/18 08:04:53| aclParseAccessLine: Access line contains no ACL's,
[ ok ]

The main question being, if squid.conf only contains 6 lines how can it
have a problem on lines 8-14?!

 
Reply With Quote
 
 
 
 
Michael Fuhr
Guest
Posts: n/a

 
      01-19-2005, 12:14 AM
"Noah Roberts" <(E-Mail Removed)> writes:

> Trynig to learn how to get squid working...


A descriptive subject with words like "squid" and "configuration
file" would be more likely to draw the attention of people who can
help than "Ok, here is a weird one." Suppose everybody used subjects
like "Weird problem" or "Help!" -- faced with a list of two hundred
such messages, how would a person with limited time decide which
ones to read? It's chance that I read your message -- if I'd been
busier I would have skipped it.

[snip]

> The main question being, if squid.conf only contains 6 lines how can it
> have a problem on lines 8-14?!


Apparently squid is parsing the default lines it adds to the
configuration and complaining about something that's missing.
The missing line appears to be:

acl all src 0.0.0.0/0.0.0.0

Add the above to your configuration and see if the errors go away.
You might also need to add additional lines to get squid to work,
but that's another problem....

If you feel like digging into the source code, see the parseConfigFile()
function in cache_cf.c and follow its call to default_all(). The
latter function is in a file named cf_parser.h that's generated
during the build process.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
 
Reply With Quote
 
Noah Roberts
Guest
Posts: n/a

 
      01-19-2005, 12:15 AM
Michael Fuhr wrote:
> "Noah Roberts" <(E-Mail Removed)> writes:
>
>
>>Trynig to learn how to get squid working...

>
> It's chance that I read your message -- if I'd been
> busier I would have skipped it.


That would be fine since I hate being lectured about stupid shit. I
figured it out on my own anyway and you were pretty close. It's a silly
way of reporting an error, to complain about parsing lines that don't
exist, but whatever.
 
Reply With Quote
 
Noah Roberts
Guest
Posts: n/a

 
      01-19-2005, 12:19 AM
Paul Colquhoun wrote:
> On 18 Jan 2005 16:12:03 -0800, Noah Roberts <(E-Mail Removed)> wrote:
> | Trynig to learn how to get squid working...
> |
> | Using gentoo.
> |
> | squid.conf---------------------------
>
>
> What is the full path name to this version of squid.conf?
>
> Have you done a 'find' on the system to look for other files called squid.conf?


Yeah, I did. There was none, and I deleted all copies of anything even
remotely called squid.conf. Apparently squid does its default variables
by pretending that it read them from squid.conf, which seems rather
counterintuitive especially when you are trying to figure out why it
broke :P
 
Reply With Quote
 
Paul Colquhoun
Guest
Posts: n/a

 
      01-19-2005, 12:20 AM
On 18 Jan 2005 16:12:03 -0800, Noah Roberts <(E-Mail Removed)> wrote:
| Trynig to learn how to get squid working...
|
| Using gentoo.
|
| squid.conf---------------------------


What is the full path name to this version of squid.conf?

Have you done a 'find' on the system to look for other files called squid.conf?


--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
 
Reply With Quote
 
Michael Fuhr
Guest
Posts: n/a

 
      01-19-2005, 01:04 AM
Noah Roberts <(E-Mail Removed)> writes:

> I figured it out on my own anyway and you were pretty close.


What was different?

> It's a silly way of reporting an error, to complain about parsing
> lines that don't exist, but whatever.


Agreed -- consider filing a bug report with the Squid folks.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
 
Reply With Quote
 
Michael Fuhr
Guest
Posts: n/a

 
      01-19-2005, 01:15 AM
Noah Roberts <(E-Mail Removed)> writes:
> Michael Fuhr wrote:
> >
> > It's chance that I read your message -- if I'd been
> > busier I would have skipped it.

>
> That would be fine since I hate being lectured about stupid shit.


Learning a better way to ask for help isn't "stupid shit." My
advice to use a more descriptive subject and the explanation of why
was intended to benefit you.

http://www.catb.org/~esr/faqs/smart-questions.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
 
Reply With Quote
 
Noah Roberts
Guest
Posts: n/a

 
      01-19-2005, 03:43 PM

Michael Fuhr wrote:
> Noah Roberts <(E-Mail Removed)> writes:
> > Michael Fuhr wrote:
> > >
> > > It's chance that I read your message -- if I'd been
> > > busier I would have skipped it.

> >
> > That would be fine since I hate being lectured about stupid shit.

>
> Learning a better way to ask for help isn't "stupid shit." My
> advice to use a more descriptive subject and the explanation of why
> was intended to benefit you.


I have been using usenet and internet forums (including this one) for
over a decade.

 
Reply With Quote
 
Lawrence D¹Oliveiro
Guest
Posts: n/a

 
      01-20-2005, 09:44 PM
In article <41edb479$(E-Mail Removed)>,
(E-Mail Removed) (Michael Fuhr) wrote:

>A descriptive subject with words like "squid" and "configuration
>file" would be more likely to draw the attention of people who can
>help than "Ok, here is a weird one." Suppose everybody used subjects
>like "Weird problem" or "Help!" -- faced with a list of two hundred
>such messages, how would a person with limited time decide which
>ones to read?


The usual way--at random. And given enough people reading this
noisegroup, the odds are good that at least a few people would read any
particular posting.

>It's chance that I read your message -- if I'd been
>busier I would have skipped it.


So what? There are lots of other people reading this forum. What does
anybody else care what postings you personally might or might not want
to read?
 
Reply With Quote
 
Michael W Cocke
Guest
Posts: n/a

 
      01-21-2005, 01:34 AM
On Fri, 21 Jan 2005 11:44:26 +1300, Lawrence D¹Oliveiro
<(E-Mail Removed)_zealand> wrote:

>In article <41edb479$(E-Mail Removed)>,
> (E-Mail Removed) (Michael Fuhr) wrote:
>
>>A descriptive subject with words like "squid" and "configuration
>>file" would be more likely to draw the attention of people who can
>>help than "Ok, here is a weird one." Suppose everybody used subjects
>>like "Weird problem" or "Help!" -- faced with a list of two hundred
>>such messages, how would a person with limited time decide which
>>ones to read?

>
>The usual way--at random. And given enough people reading this
>noisegroup, the odds are good that at least a few people would read any
>particular posting.
>
>>It's chance that I read your message -- if I'd been
>>busier I would have skipped it.

>
>So what? There are lots of other people reading this forum. What does
>anybody else care what postings you personally might or might not want
>to read?


That attitude will take you far. With luck, it will take you far
enough to learn that being nasty accomplishes very little when you're
asking for help.

And the solution to a time variable config for squid is very simple -
I did it some years ago to disable YIM during school hours. Good luck
with it.

Mike-

--
If you can keep your head while those around you are losing theirs...
You may have a great career as a network administrator ahead!
--
Please note - Due to the intense volume of spam, we have installed
site-wide spam filters at catherders.com. If email from you bounces,
try non-HTML, non-encoded, non-attachments,
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
weird one way terryob Wireless Networks 0 06-24-2007 09:46 AM
Weird !!! =?Utf-8?B?QW5keQ==?= Windows Networking 3 02-03-2005 04:22 PM
Weird one for you Bob Smith Wireless Internet 4 06-22-2004 06:14 PM
weird! Dill Broadband 2 05-13-2004 06:45 AM
Now this is weird... any ideas?? Not me Linux Networking 1 07-16-2003 01:35 AM



1 2 3 4 5 6 7 8 9 10 11