Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 10 July 2020, 10:46:36 pm

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14010 Posts in 4270 Topics by 6109 Members
Latest Member: slavaby1970
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  HTTP proxy not starting
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: HTTP proxy not starting  (Read 7197 times)
Jr. Member
Offline Offline

Posts: 8

« on: Wednesday 28 May 2014, 03:07:29 am »

I cannot start http proxy.
I tried either on a fresh efw3.0 install and on an upgraded box coming from 2.5.2
The GUI says http proxy is UP, but TCP port 8080 is not opened.

It seems something related with the rock cache.

In cache.log I can find the following errors:

2014/05/27 11:17:18 kid1| commBind: Cannot bind socket FD 19 to [::]: (2) No such file or directory
2014/05/27 11:17:30 kid1| error: timeout
2014/05/27 11:17:30 kid1| Closing HTTP port
2014/05/27 11:17:30 kid1| Closing HTTP port
FATAL: Rock cache_dir at /var/spool/squid/rock failed to open db file: (2) No such file or directory
Squid Cache (Version 3.3.Cool: Terminated abnormally.

I checked that the file exists and has the right permissions:

-rw-------  1 squid squid 524288000 May 27 18:10 /var/spool/squid/rock

as well as the parent folder:

drwxr-x---  2 squid squid 4096 May 27 18:10 /var/spool/squid

Is this a bug of the new EFW 3.0?


Full Member
Offline Offline

Posts: 34

« Reply #1 on: Friday 02 January 2015, 11:09:42 am »

Change the template config file for squid to use diskd cache instead of rockstore

edit the file: /etc/squid/squid.conf.tmpl

and update the line which starts with "cache_dir"

cache_dir diskd /var/spool/squid $CACHE_SIZE 64 1024

restart squid
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.046 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com