Squid suddenly won't start... (for reverse proxy)
-
/pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2020/03/21 02:09:10| FATAL: http_port: failed to resolve Host/IP: Array 2020/03/21 02:09:10| FATAL: Bungled /usr/local/etc/squid/squid.conf line 89: http_port Array:80 accel defaultsite=mysite.com vhost 2020/03/21 02:09:10| Squid Cache (Version 4.9): Terminated abnormally. CPU Usage: 0.007 seconds = 0.007 user + 0.000 sys Maximum Resident Size: 65728 KB Page faults with physical i/o: 0'
That's the error I am getting. There was no issues like 2 days ago. I checked the DNS in the firewall it's fine. What is the issue here?
-
@nafeasonto said in Squid suddenly won't start... (for reverse proxy):
/usr/local/etc/squid/squid.conf
Hi,
Consider comparing the config file with some sources on the net like http://www.sosst.sk/doc/squid/examples/squid.conf
It complain about the " http_port" setting ... not hard to find.
-
What?
-
@Gertjan The settings are right it seems on the latest version of pfsense devel, it broke it.
-
Latest squid or latest pfSense ?
What devel are your referring to ?The fatal error you mentioned above is 100 % Squid thing : it complaints about it's own config file.
-
Check also https://forum.netgate.com/topic/151523/reverse-squid-no-longer-working-on-latest-development-branch