OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: LoZ on December 30, 2024, 10:04:47 AM

Title: Squid does not start after OPN update: /usr/local/etc/rc.d/squid: not found
Post by: LoZ on December 30, 2024, 10:04:47 AM
Hi all,

Since the last OPNsense update (OPNsense 24.7.11_2-amd64) Squid has stopped working on my router.

I've tried: Disabling/enabling, checking forward proxy/ACL/allowed ports, support/reset, rebooting.

The error logged is as follows:

Error   configd.py   [2106dc42-b74e-477e-ae2b-ddf96643c5fa] Script action stderr returned "b'/bin/sh: /usr/local/etc/rc.d/squid: not found'"

SSH/Shell indicates that this file is indeed missing from the filesystem. Only the following 'squid' files are present:

~ # find / -iname squid
/usr/local/sbin/squid
/usr/local/libexec/squid
/usr/local/etc/squid
/usr/local/opnsense/version/squid
/etc/pam.d/squid
/etc/rc.conf.d/squid
/etc/rc.conf.d/squid/squid
/etc/newsyslog.conf.d/squid
/var/mail/squid
/var/run/squid
/var/squid
/var/log/squid

A search of this forum doesn't seem to give any similar matches on the problem. Has anyone else seen this?

I assume that, if someone could print the contents of their rc.d/squid file here, I could recreate and it would work.
Title: Re: Squid does not start after OPN update: /usr/local/etc/rc.d/squid: not found
Post by: gu6884 on January 02, 2025, 11:29:13 AM
you're not alone.
Same here. Following update to the same version squid does not start anymore with the same error about that missing file
Title: Re: Squid does not start after OPN update: /usr/local/etc/rc.d/squid: not found
Post by: gu6884 on January 02, 2025, 11:31:34 AM
there was actually an update available, squid: 6.10 -> 6.12, which solved the issue for me
Title: Re: Squid does not start after OPN update: /usr/local/etc/rc.d/squid: not found
Post by: LoZ on January 02, 2025, 10:54:22 PM
Brilliant, thanks - I didn't get notified of an update but when I refreshed it was available. After installing the update then disabling and enabling Squid in the GUI it started working again. I appreciate the heads-up!

Quote from: gu6884 on January 02, 2025, 11:31:34 AMthere was actually an update available, squid: 6.10 -> 6.12, which solved the issue for me