Squid does not start

Started by Newbiewifi, October 13, 2021, 12:49:48 AM

Previous topic - Next topic
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

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.

Thank you for your suggestion.

Unfortunately it doesn't work