OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: Newbiewifi on October 13, 2021, 12:49:48 am

Title: Squid does not start
Post by: Newbiewifi on October 13, 2021, 12:49:48 am
Hi,
I looked for the solution to this problem but I don't seem to find the solution.

Here is the error message:

sudo squid -k debug -f /usr/local/etc/squid/squid.conf
2021/10/12 23:33:45| FATAL: failed to open /var/run/squid/squid.pid: (2) No such file or directory
    exception location: File.cc(190) open

I've tried to edit squid.conf
But it only find these two file

find / -name squid.conf
/usr/local/etc/squid/squid.conf
/usr/local/opnsense/service/templates/OPNsense/Proxy/squid.conf

Neither of these have line

debug_options ALL,1 33,2 28,9

Also both file says that they are auto generated.

I would appreciate some help
Title: Re: Squid does not start
Post by: fabian on October 13, 2021, 06:56:26 am
The one in the template directory is rendered to the etc directory. If you want to temporarily adjust it, change the etc one and it will be overwritten the next time you change something in the gui.
Title: Re: Squid does not start
Post by: Newbiewifi on October 13, 2021, 12:55:27 pm
Thank you for your suggestion.

Unfortunately it doesn't work