Squid 0.4.46 ERRORs with error path
-
Hello All:
Suffering the same issue with Squid 0.4.46 after having done an uninstall and complete cleanup following:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/squid.htmlIncluding backing up config to .xml and then editing it to remove any squid tags then finally restoring that config file.
This followed by a squid reinstall.
The problem is that "Real Time" "Squid Cache Table" has numerous errors for the path for the ERROR message files.
Example:
"ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_ACCESS_DENIED': (2) No such file or directory"When I SSH in, the path "/usr/local/etc/squid/errors/en" does not exist.
But I do see the same named files located at this path:
"/usr/local/etc/squid/errors/templates"There seems to be a problem that the install is not able to "Unable to load default error language files".
Have not found any fix on Netgate forum or after Internet searching.
Any help appreciated.
Thank you,
Eric
-
Not sure it is the proper thing do to but in the SSH windows, I went to :
/usr/local/etc/squid/errors
then issued "cp -Rp templates/ en/
It created the "/usr/local/etc/squid/errors/en" directory and copied all the files into it.
I restarted Squid.
The Real Time Squid Cache Table now shows:
Date-Time Message
28.06.2023 17:00:49 pinger: Initialising ICMP pinger ...
28.06.2023 17:00:49 Service Name: squid
28.06.2023 17:00:49 Starting Squid Cache version 5.8 for amd64-portbld-freebsd14.0...
28.06.2023 16:59:31 Creating missing swap directories
31.12.1969 19:00:00
31.12.1969 19:00:00
31.12.1969 19:00:00
28.06.2023 16:59:25 Shutdown: Basic authentication.
28.06.2023 16:59:25 Shutdown: Digest authentication.
28.06.2023 16:59:25 Shutdown: Negotiate authentication.
28.06.2023 16:59:25 Shutdown: NTLM authentication.No errors such as what I was seeing before like this:
28.06.2023 15:05:10 Unable to load default error language files. Reset to backups.
28.06.2023 15:05:10 ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_NO_RELAY';: (2) No such file or directory
28.06.2023 15:05:10 Unable to load default error language files. Reset to backups.
28.06.2023 15:05:10 ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_FORWARDING_DENIED': (2) No such file or directory
28.06.2023 15:05:10 Unable to load default error language files. Reset to backups.
28.06.2023 15:05:10 ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_CACHE_MGR_ACCESS_DENIED': (2) No such file or directory
28.06.2023 15:05:10 Unable to load default error language files. Reset to backups.
28.06.2023 15:05:10 ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_CACHE_ACCESS_DENIED': (2) No such file or directory
28.06.2023 15:05:10 Unable to load default error language files. Reset to backups.
28.06.2023 15:05:10 ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_ACCESS_DENIED': (2) No such file or directory
28.06.2023 15:05:10 Service Name: squid
28.06.2023 15:05:10 Starting Squid Cache version 5.8 for amd64-portbld-freebsd14.0...
31.12.1969 19:00:00
31.12.1969 19:00:00
31.12.1969 19:00:00
28.06.2023 15:04:30 Shutdown: Basic authentication.
28.06.2023 15:04:30 Shutdown: Digest authentication.
28.06.2023 15:04:30 Shutdown: Negotiate authentication.Still hoping someone has thoughts about why they are missing to begin with.
~Eric