EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Friday 22 November 2024, 09:20:51 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Download the latest community FREE version
HERE
14258
Posts in
4377
Topics by
6516
Members
Latest Member:
DaveH
Search:
Advanced search
EFW Support
Support
EFW SMTP, HTTP, SIP, FTP Proxy Support
squid fails to start due to squid.conf
0 Members and 2 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: squid fails to start due to squid.conf (Read 21406 times)
sawilla
Full Member
Offline
Posts: 12
squid fails to start due to squid.conf
«
on:
Monday 24 May 2010, 10:54:58 am »
I'm using EFW 2.3. When I enable the HTTP Proxy (transparent) in the web interface, it looks like it succeeds (the switch goes green) but all clients receive the error: (111) Connection refused. On the status page "Content filter" is shown as STOPPED, and the dashboard shows HTTP Proxy as OFF. The log at /var/log/squid/squid.out has the following errors:
FATAL: Bungled squid.conf line 87: acl allowed_ports port "/etc/squid/acls/ports.acl"
Squid Cache (Version 2.6.STABLE22): Terminated abnormally.
FATAL: Bungled squid.conf line 87: acl allowed_ports port "/etc/squid/acls/ports.acl"
Squid Cache (Version 2.6.STABLE22): Terminated abnormally.
2010/05/23 18:29:28| Creating Swap Directories
FATAL: Bungled squid.conf line 90: acl allowed_ports port "/etc/squid/acls/ports.acl"
Squid Cache (Version 2.6.STABLE22): Terminated abnormally.
(last 2 lines repeat many times, then there are many repeats of:)
FATAL: Bungled squid.conf line 91: acl allowed_ports port "/etc/squid/acls/ports.acl"
Squid Cache (Version 2.6.STABLE22): Terminated abnormally.
/etc/squid/squid.conf lines 87-91 are:
87: acl from_green src "/etc/squid/acls/green_subnets.acl"
88: acl to_green dst "/etc/squid/acls/green_subnets.acl"
89:
90: # allowed ports - acls
91: acl allowed_ports port "/etc/squid/acls/ports.acl"
I've tried starting squid at the command prompt but it fails:
root@EndianFW:/etc/squid # /etc/init.d/squid start
init_cache_dir /var/spool/squid... Starting squid: [FAILED]
I haven't modified the squid.conf file and I'm not sure what to try next. Thanks for your help.
Reg
Logged
sawilla
Full Member
Offline
Posts: 12
Re: squid fails to start due to squid.conf
«
Reply #1 on:
Saturday 29 May 2010, 01:44:52 am »
The problem turned out to be due to the comments following the allowed ports. I removed all the comments (e.g.: "80+#+http" was changed to "80") in the "Allowed ports and ssl ports" section of the "HTTP proxy: Configuration" page and then the service started OK.
Logged
Blazer79
Jr. Member
Offline
Posts: 1
Re: squid fails to start due to squid.conf
«
Reply #2 on:
Friday 14 February 2014, 09:11:10 am »
Thank you for this reply. I had this exact problem today. I can't understand why this problem is still arising almost 4 years later. I'm using version 2.5.1.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com