Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 19 December 2024, 09:56:31 am

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  HTTP proxy not starting
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: HTTP proxy not starting  (Read 17078 times)
mnicolazzo
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 0.0.0.0:8080
2014/05/27 11:17:30 kid1| Closing HTTP port 0.0.0.0:18080
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?

Marco





Logged
Timmeh
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"

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

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

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