transparent proxy not running

Started by JJ, May 01, 2024, 05:58:15 PM

Previous topic - Next topic
When setting forward proxy and restat the proxy service had message as bottom.



template reload Deciso/Proxy: OK
Segmentation fault
Performing sanity check on squid configuration.
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2024/05/01 18:25:16| Starting Authentication on port 127.0.0.1:3128
2024/05/01 18:25:16| Disabling Authentication on port 127.0.0.1:3128 (interception enabled)
2024/05/01 18:25:16| Starting Authentication on port [::1]:3128
2024/05/01 18:25:16| Disabling Authentication on port [::1]:3128 (interception enabled)
2024/05/01 18:25:16| Starting Authentication on port 127.0.0.1:3129
2024/05/01 18:25:16| Disabling Authentication on port 127.0.0.1:3129 (interception enabled)
2024/05/01 18:25:16| Starting Authentication on port [::1]:3129
2024/05/01 18:25:16| Disabling Authentication on port [::1]:3129 (interception enabled)
2024/05/01 18:25:16| WARNING: empty ACL: acl bump_nobumpsites ssl::server_name "/usr/local/etc/squid/nobumpsites.acl"
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/pre-auth/40-snmp.conf (depth 1)
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/pre-auth/dummy.conf (depth 1)
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/pre-auth/parentproxy.conf (depth 1)
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/auth/10-opnproxy-ext.auth.conf (depth 1)
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/auth/dummy.conf (depth 1)
2024/05/01 18:25:16| Processing Configuration File: /usr/local/etc/squid/post-auth/dummy.conf (depth 1)
2024/05/01 18:25:16| WARNING: HTTP requires the use of Via
2024/05/01 18:25:16| Set Current Directory to /var/squid/cache
Segmentation fault

Starting squid.
CPU Usage: 14.929 seconds = 14.637 user + 0.291 sys
Maximum Resident Size: 1371968 KB
Page faults with physical i/o: 0
2024/05/01 22:45:13| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2024/05/01 22:45:13| Starting Authentication on port 127.0.0.1:3128
2024/05/01 22:45:13| Disabling Authentication on port 127.0.0.1:3128 (interception enabled)
2024/05/01 22:45:13| Starting Authentication on port [::1]:3128
2024/05/01 22:45:13| Disabling Authentication on port [::1]:3128 (interception enabled)
2024/05/01 22:45:13| Starting Authentication on port 127.0.0.1:3129
2024/05/01 22:45:13| Disabling Authentication on port 127.0.0.1:3129 (interception enabled)
2024/05/01 22:45:13| Starting Authentication on port [::1]:3129
2024/05/01 22:45:13| Disabling Authentication on port [::1]:3129 (interception enabled)
2024/05/01 22:45:28| Processing Configuration File: /usr/local/etc/squid/pre-auth/40-snmp.conf (depth 1)
2024/05/01 22:45:28| Processing Configuration File: /usr/local/etc/squid/pre-auth/dummy.conf (depth 1)
2024/05/01 22:45:28| Processing Configuration File: /usr/local/etc/squid/pre-auth/parentproxy.conf (depth 1)
2024/05/01 22:45:28| ERROR: ACL not found: Safe_ports
2024/05/01 22:45:28| Not currently OK to rewrite swap log.
2024/05/01 22:45:28| storeDirWriteCleanLogs: Operation aborted.
2024/05/01 22:45:28| FATAL: Bungled /usr/local/etc/squid/squid.conf line 91: http_access deny !Safe_ports
2024/05/01 22:45:28| Squid Cache (Version 6.9): Terminated abnormally.
/usr/local/etc/rc.d/squid: WARNING: failed to start squid

These do not look like they are related. @kapilbhartiya you must define at least one safe port, commonly that's 443.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)