nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Setup Squid problem

This is a discussion on Setup Squid problem within the Web servers forums, part of the Mastering Servers category; Hi folks, Ubuntu 6.05.3 server drake Following Configuration on; https://help.ubuntu.com/6.06/ubuntu/...e/C/squid.html encountered problem on running; $ sudo /etc/init.d/squid restart Code: * ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2008, 04:28 PM
Senior Member
User
 
Join Date: Sep 2007
OS: Debian
Posts: 112
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 3
satimis is on a distinguished road
Default Setup Squid problem

Hi folks,


Ubuntu 6.05.3 server drake


Following Configuration on;
https://help.ubuntu.com/6.06/ubuntu/...e/C/squid.html


encountered problem on running;
$ sudo /etc/init.d/squid restart
Code:
 * Restarting Squid HTTP proxy squid                                                                                  2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'acl'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'biz_hours'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'time'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'M'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'T'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'W'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'T'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: 'F'
2008/05/04 02:45:57| aclParseIpData: Bad host/IP: '9:00-17:00'
2008/05/04 02:45:57| ACL name 'biz_hours' not defined!
FATAL: Bungled squid.conf line 1896: http_access allow biz_network biz_hours
Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
                                                                                                               [fail]

$ ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:13:D4:FE:DA:87  
          inet addr:192.168.0.52  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::213:d4ff:fefe:da87/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6892 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4086 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1704476 (1.6 MiB)  TX bytes:1111100 (1.0 MiB)
          Interrupt:217 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:66 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5176 (5.0 KiB)  TX bytes:5176 (5.0 KiB)
Please advise where shall I check and how to rectify the problem? TIA


B.R.
satimis
Reply With Quote
  #2 (permalink)  
Old 13-05-2008, 04:39 PM
agn agn is offline
Member
User
 
Join Date: Feb 2008
OS: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
agn is on a distinguished road
Default

Code:
FATAL: Bungled squid.conf line 1896: http_access allow biz_network biz_hours
Log clearly says that it found a problem with line 1896 in your squid.conf. Something is wrong with your 'biz_hours' ACL.

Last edited by agn; 13-05-2008 at 04:47 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Squid Problem B!n@ry Linux software 3 15-04-2007 03:36 PM
problem with Squid puppen Linux software 4 04-01-2007 02:45 PM
squid problem dev_dks Linux software 1 01-08-2006 01:42 PM
SQUID ACL Problem kasimani Linux software 15 13-07-2006 05:29 PM
Problem with squid LRC Linux software 17 10-06-2006 07:52 PM


All times are GMT +5.5. The time now is 06:48 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38