OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: rabo on March 13, 2024, 10:33:55 AM

Title: [solved] Squid Web Proxy services error
Post by: rabo on March 13, 2024, 10:33:55 AM
Dear Team,
i am new here, i just installed opnsense and want to enable c-icap, but whenever i try to enable  Squid Web Proxy services, i am getting the following error message by restart:

Segmentation fault
Performing sanity check on squid configuration.
2024/03/13 10:29:28| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2024/03/13 10:29:28| Starting Authentication on port 127.0.0.1:3128
2024/03/13 10:29:28| Disabling Authentication on port 127.0.0.1:3128 (interception enabled)
2024/03/13 10:29:28| Starting Authentication on port [::1]:3128
2024/03/13 10:29:28| Disabling Authentication on port [::1]:3128 (interception enabled)
2024/03/13 10:29:28| Starting Authentication on port 127.0.0.1:3129
2024/03/13 10:29:28| Disabling Authentication on port 127.0.0.1:3129 (interception enabled)
2024/03/13 10:29:28| Starting Authentication on port [::1]:3129
2024/03/13 10:29:28| Disabling Authentication on port [::1]:3129 (interception enabled)
2024/03/13 10:29:28| WARNING: empty ACL: acl bump_nobumpsites ssl::server_name "/usr/local/etc/squid/nobumpsites.acl"
2024/03/13 10:29:28| Processing Configuration File: /usr/local/etc/squid/pre-auth/40-snmp.conf (depth 1)
2024/03/13 10:29:28| Processing Configuration File: /usr/local/etc/squid/pre-auth/dummy.conf (depth 1)
2024/03/13 10:29:28| Processing Configuration File: /usr/local/etc/squid/pre-auth/parentproxy.conf (depth 1)
2024/03/13 10:29:28| Processing Configuration File: /usr/local/etc/squid/auth/dummy.conf (depth 1)
2024/03/13 10:29:28| Processing Configuration File: /usr/local/etc/squid/post-auth/dummy.conf (depth 1)
2024/03/13 10:29:30| Set Current Directory to /var/squid/cache
Segmentation fault


by start:
Segmentation fault
Starting squid.
Segmentation fault (core dumped)
/usr/local/etc/rc.d/squid: WARNING: failed to start squid
Title: Re: [solved] Squid Web Proxy services error
Post by: naxi on March 21, 2024, 07:22:38 PM
how solved?
i have the:
------
Segmentation fault
Performing sanity check on squid configuration.
2024/03/21 17:38:22| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2024/03/21 17:38:22| Starting Authentication on port 127.0.0.1:3128
2024/03/21 17:38:22| Disabling Authentication on port 127.0.0.1:3128 (interception enabled)
2024/03/21 17:38:22| Starting Authentication on port [::1]:3128
2024/03/21 17:38:22| Disabling Authentication on port [::1]:3128 (interception enabled)
2024/03/21 17:38:22| Starting Authentication on port 127.0.0.1:3129
2024/03/21 17:38:22| Disabling Authentication on port 127.0.0.1:3129 (interception enabled)
2024/03/21 17:38:22| Starting Authentication on port [::1]:3129
2024/03/21 17:38:22| Disabling Authentication on port [::1]:3129 (interception enabled)
2024/03/21 17:38:22| Processing Configuration File: /usr/local/etc/squid/pre-auth/40-snmp.conf (depth 1)
2024/03/21 17:38:22| Processing Configuration File: /usr/local/etc/squid/pre-auth/dummy.conf (depth 1)
2024/03/21 17:38:22| Processing Configuration File: /usr/local/etc/squid/pre-auth/parentproxy.conf (depth 1)
2024/03/21 17:38:22| Processing Configuration File: /usr/local/etc/squid/auth/dummy.conf (depth 1)
2024/03/21 17:38:22| Processing Configuration File: /usr/local/etc/squid/post-auth/dummy.conf (depth 1)
2024/03/21 17:38:22| WARNING: HTTP requires the use of Via
2024/03/21 17:38:23| Set Current Directory to /var/squid/cache
Segmentation fault
----
on resrart and
----
Segmentation fault
Starting squid.
Segmentation fault (core dumped)
/usr/local/etc/rc.d/squid: WARNING: failed to start squid
----
on start


in addition, i need to wait 5 minutes after Opnsense started before squid starts to work properly. before that i will no error page from squid
Title: Re: [solved] Squid Web Proxy services error
Post by: rpkicons on December 13, 2024, 11:08:32 AM
Hi folks!
Can you kindly provide any feedback regarding "segmantation fault" error please?
Thanks in advance,
Radek
Title: Re: [solved] Squid Web Proxy services error
Post by: Patrick M. Hausen on December 13, 2024, 11:32:36 AM
This is not an official support channel but the community forum. Looks like nobody else is either experiencing that problem or using squid at all - like myself for example. So I have no idea what's wrong even though I frequently help folks here on the forum.

Open an issue on github to address the development team directly or if this is business critical, buy business support.