Author Topic: HTTP proxy won't start with transparent proxy enabled  (Read 791 times)

Barrydocks

  • Zen Warrior
  • ***
  • Posts: 145
  • Karma: +4/-0
    • View Profile
HTTP proxy won't start with transparent proxy enabled
« on: April 18, 2023, 02:23:38 pm »
new install of Zentyal 7.

Problem is that the HTTP proxy will only start fo the transparent proxy option is disabled.  On restarting the module from either the WebAdmin the CLI, it appears to start but then does not.

Code: [Select]
sysadmin@axiom:~$ sudo zs squid start
 * Restarting Zentyal module: squid                                                                                                                                                                       [ OK ]
sysadmin@axiom:~$ sudo zs squid status
Zentyal: status module squid:                   [ STOPPED ]

Here is the entry in syslog
Code: [Select]
Apr 18 13:13:30 axiom squid[4927]: 2023/04/18 13:13:30| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:30 axiom squid[4927]: 2023/04/18 13:13:30| Created PID file (/run/squid.pid)
Apr 18 13:13:30 axiom squid[4927]: Squid Parent: will start 1 kids
Apr 18 13:13:30 axiom squid[4927]: Squid Parent: (squid-1) process 4937 started
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Set Current Directory to /var/spool/squid
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Creating missing swap directories
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/00 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/00
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/01 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/01
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/02 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/02
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/03 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/03
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/04 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/04
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/05 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/05
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/06 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/06
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/07 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/07
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/08 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/08
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/09 exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/09
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/0A exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/0A
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/0B exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/0B
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/0C exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/0C
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/0D exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/0D
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/0E exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/0E
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| /var/spool/squid/0F exists
Apr 18 13:13:30 axiom squid[4937]: 2023/04/18 13:13:30 kid1| Making directories in /var/spool/squid/0F
Apr 18 13:13:30 axiom squid[4927]: Squid Parent: squid-1 process 4937 exited with status 0
Apr 18 13:13:30 axiom squid[4927]: 2023/04/18 13:13:30| Removing PID file (/run/squid.pid)
Apr 18 13:13:30 axiom squid[4938]: 2023/04/18 13:13:30| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:30 axiom squid: WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:30 axiom systemd[1]: squid.service: Can't open PID file /run/squid.pid (yet?) after start: Operation not permitted
Apr 18 13:13:30 axiom squid[4939]: Created PID file (/run/squid.pid)
Apr 18 13:13:30 axiom squid[4939]: Squid Parent: will start 1 kids
Apr 18 13:13:30 axiom systemd[1]: Started Squid Web Proxy Server.
Apr 18 13:13:30 axiom squid[4939]: Squid Parent: (squid-1) process 4941 started
Apr 18 13:13:30 axiom (squid-1): WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:30 axiom squid[4941]: Set Current Directory to /var/spool/squid
Apr 18 13:13:30 axiom squid[4941]: Starting Squid Cache version 4.10 for x86_64-pc-linux-gnu...
Apr 18 13:13:30 axiom squid[4941]: Service Name: squid
Apr 18 13:13:30 axiom squid[4941]: Process ID 4941
Apr 18 13:13:30 axiom squid[4941]: Process Roles: worker
Apr 18 13:13:30 axiom squid[4941]: With 1024 file descriptors available
Apr 18 13:13:30 axiom squid[4941]: Initializing IP Cache...
Apr 18 13:13:30 axiom squid[4941]: DNS Socket created at 0.0.0.0, FD 5
Apr 18 13:13:30 axiom squid[4941]: Adding nameserver 127.0.0.1 from squid.conf
Apr 18 13:13:30 axiom squid[4941]: Logfile: opening log /var/log/squid/access.log
Apr 18 13:13:30 axiom squid[4941]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
Apr 18 13:13:30 axiom systemd[1]: Reloading.
Apr 18 13:13:30 axiom squid[4941]: Unlinkd pipe opened on FD 13
Apr 18 13:13:30 axiom squid[4941]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Apr 18 13:13:30 axiom squid[4941]: Logfile: opening log /var/log/squid/store.log
Apr 18 13:13:30 axiom squid[4941]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/store.log'
Apr 18 13:13:30 axiom squid[4941]: Swap maxSize 1024000 + 131072 KB, estimated 88851 objects
Apr 18 13:13:30 axiom squid[4941]: Target number of buckets: 4442
Apr 18 13:13:30 axiom squid[4941]: Using 8192 Store buckets
Apr 18 13:13:30 axiom squid[4941]: Max Mem  size: 131072 KB
Apr 18 13:13:30 axiom squid[4941]: Max Swap size: 1024000 KB
Apr 18 13:13:30 axiom squid[4941]: Rebuilding storage in /var/spool/squid (dirty log)
Apr 18 13:13:30 axiom squid[4941]: Using Least Load store dir selection
Apr 18 13:13:30 axiom squid[4941]: Set Current Directory to /var/spool/squid
Apr 18 13:13:30 axiom squid[4941]: ERROR: No forward-proxy ports configured.
Apr 18 13:13:30 axiom squid[4941]: message repeated 176 times: [ ERROR: No forward-proxy ports configured.]
Apr 18 13:13:30 axiom squid[4941]: Not currently OK to rewrite swap log.
Apr 18 13:13:30 axiom squid[4941]: storeDirWriteCleanLogs: Operation aborted.
Apr 18 13:13:30 axiom squid[4941]: FATAL: mimeLoadIcon: cannot parse internal URL: http://axiom.myserver.com:0/squid-internal-static/icons/silk/image.png
Apr 18 13:13:30 axiom squid[4941]: Squid Cache (Version 4.10): Terminated abnormally.
Apr 18 13:13:30 axiom squid[4939]: Squid Parent: squid-1 process 4941 exited with status 1
Apr 18 13:13:30 axiom squid[4939]: Squid Parent: (squid-1) process 4969 started
Apr 18 13:13:30 axiom (squid-1): WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:30 axiom squid[4969]: Set Current Directory to /var/spool/squid
Apr 18 13:13:30 axiom squid[4969]: Starting Squid Cache version 4.10 for x86_64-pc-linux-gnu...
Apr 18 13:13:30 axiom squid[4969]: Service Name: squid
Apr 18 13:13:30 axiom squid[4969]: Process ID 4969
Apr 18 13:13:30 axiom squid[4969]: Process Roles: worker
Apr 18 13:13:30 axiom squid[4969]: With 1024 file descriptors available
Apr 18 13:13:30 axiom squid[4969]: Initializing IP Cache...
Apr 18 13:13:30 axiom squid[4969]: DNS Socket created at 0.0.0.0, FD 5
Apr 18 13:13:30 axiom squid[4969]: Adding nameserver 127.0.0.1 from squid.conf
Apr 18 13:13:30 axiom squid[4969]: Logfile: opening log /var/log/squid/access.log
Apr 18 13:13:30 axiom squid[4969]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
Apr 18 13:13:30 axiom systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr 18 13:13:30 axiom squid[4969]: Unlinkd pipe opened on FD 13
Apr 18 13:13:30 axiom squid[4969]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Apr 18 13:13:30 axiom squid[4969]: Logfile: opening log /var/log/squid/store.log
Apr 18 13:13:30 axiom squid[4969]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/store.log'
Apr 18 13:13:30 axiom squid[4969]: Swap maxSize 1024000 + 131072 KB, estimated 88851 objects
Apr 18 13:13:30 axiom squid[4969]: Target number of buckets: 4442
Apr 18 13:13:30 axiom squid[4969]: Using 8192 Store buckets
Apr 18 13:13:30 axiom squid[4969]: Max Mem  size: 131072 KB
Apr 18 13:13:30 axiom squid[4969]: Max Swap size: 1024000 KB
Apr 18 13:13:30 axiom squid[4969]: Rebuilding storage in /var/spool/squid (dirty log)
Apr 18 13:13:30 axiom squid[4969]: Using Least Load store dir selection
Apr 18 13:13:30 axiom squid[4969]: Set Current Directory to /var/spool/squid
Apr 18 13:13:30 axiom squid[4969]: ERROR: No forward-proxy ports configured.
Apr 18 13:13:30 axiom squid[4969]: message repeated 176 times: [ ERROR: No forward-proxy ports configured.]
Apr 18 13:13:30 axiom squid[4969]: Not currently OK to rewrite swap log.
Apr 18 13:13:30 axiom squid[4969]: storeDirWriteCleanLogs: Operation aborted.
Apr 18 13:13:30 axiom squid[4969]: FATAL: mimeLoadIcon: cannot parse internal URL: http://axiom.myserver.com:0/squid-internal-static/icons/silk/image.png
Apr 18 13:13:30 axiom squid[4969]: Squid Cache (Version 4.10): Terminated abnormally.
Apr 18 13:13:30 axiom squid[4939]: Squid Parent: squid-1 process 4969 exited with status 1
Apr 18 13:13:30 axiom squid[4939]: Squid Parent: (squid-1) process 4994 started
Apr 18 13:13:31 axiom (squid-1): WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:31 axiom squid[4994]: Set Current Directory to /var/spool/squid
Apr 18 13:13:31 axiom squid[4994]: Starting Squid Cache version 4.10 for x86_64-pc-linux-gnu...
Apr 18 13:13:31 axiom squid[4994]: Service Name: squid
Apr 18 13:13:31 axiom squid[4994]: Process ID 4994
Apr 18 13:13:31 axiom squid[4994]: Process Roles: worker
Apr 18 13:13:31 axiom squid[4994]: With 1024 file descriptors available
Apr 18 13:13:31 axiom squid[4994]: Initializing IP Cache...
Apr 18 13:13:31 axiom squid[4994]: DNS Socket created at 0.0.0.0, FD 5
Apr 18 13:13:31 axiom squid[4994]: Adding nameserver 127.0.0.1 from squid.conf
Apr 18 13:13:31 axiom squid[4994]: Logfile: opening log /var/log/squid/access.log
Apr 18 13:13:31 axiom squid[4994]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
Apr 18 13:13:31 axiom systemd[1]: Reloading.
Apr 18 13:13:31 axiom squid[4994]: Unlinkd pipe opened on FD 13
Apr 18 13:13:31 axiom squid[4994]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Apr 18 13:13:31 axiom squid[4994]: Logfile: opening log /var/log/squid/store.log
Apr 18 13:13:31 axiom squid[4994]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/store.log'
Apr 18 13:13:31 axiom squid[4994]: Swap maxSize 1024000 + 131072 KB, estimated 88851 objects
Apr 18 13:13:31 axiom squid[4994]: Target number of buckets: 4442
Apr 18 13:13:31 axiom squid[4994]: Using 8192 Store buckets
Apr 18 13:13:31 axiom squid[4994]: Max Mem  size: 131072 KB
Apr 18 13:13:31 axiom squid[4994]: Max Swap size: 1024000 KB
Apr 18 13:13:31 axiom squid[4994]: Rebuilding storage in /var/spool/squid (dirty log)
Apr 18 13:13:31 axiom squid[4994]: Using Least Load store dir selection
Apr 18 13:13:31 axiom squid[4994]: Set Current Directory to /var/spool/squid
Apr 18 13:13:31 axiom squid[4994]: ERROR: No forward-proxy ports configured.
Apr 18 13:13:31 axiom squid[4994]: message repeated 176 times: [ ERROR: No forward-proxy ports configured.]
Apr 18 13:13:31 axiom squid[4994]: Not currently OK to rewrite swap log.
Apr 18 13:13:31 axiom squid[4994]: storeDirWriteCleanLogs: Operation aborted.
Apr 18 13:13:31 axiom squid[4994]: FATAL: mimeLoadIcon: cannot parse internal URL: http://axiom.myserver.com:0/squid-internal-static/icons/silk/image.png
Apr 18 13:13:31 axiom squid[4994]: Squid Cache (Version 4.10): Terminated abnormally.
Apr 18 13:13:31 axiom squid[4939]: Squid Parent: squid-1 process 4994 exited with status 1
Apr 18 13:13:31 axiom squid[4939]: Squid Parent: (squid-1) process 4999 started
Apr 18 13:13:31 axiom (squid-1): WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:31 axiom squid[4999]: Set Current Directory to /var/spool/squid
Apr 18 13:13:31 axiom squid[4999]: Starting Squid Cache version 4.10 for x86_64-pc-linux-gnu...
Apr 18 13:13:31 axiom squid[4999]: Service Name: squid
Apr 18 13:13:31 axiom squid[4999]: Process ID 4999
Apr 18 13:13:31 axiom squid[4999]: Process Roles: worker
Apr 18 13:13:31 axiom squid[4999]: With 1024 file descriptors available
Apr 18 13:13:31 axiom squid[4999]: Initializing IP Cache...
Apr 18 13:13:31 axiom squid[4999]: DNS Socket created at 0.0.0.0, FD 5
Apr 18 13:13:31 axiom squid[4999]: Adding nameserver 127.0.0.1 from squid.conf
Apr 18 13:13:31 axiom squid[4999]: Logfile: opening log /var/log/squid/access.log
Apr 18 13:13:31 axiom squid[4999]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
Apr 18 13:13:31 axiom squid[4999]: Unlinkd pipe opened on FD 13
Apr 18 13:13:31 axiom squid[4999]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Apr 18 13:13:31 axiom squid[4999]: Logfile: opening log /var/log/squid/store.log
Apr 18 13:13:31 axiom squid[4999]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/store.log'
Apr 18 13:13:31 axiom squid[4999]: Swap maxSize 1024000 + 131072 KB, estimated 88851 objects
Apr 18 13:13:31 axiom squid[4999]: Target number of buckets: 4442
Apr 18 13:13:31 axiom squid[4999]: Using 8192 Store buckets
Apr 18 13:13:31 axiom squid[4999]: Max Mem  size: 131072 KB
Apr 18 13:13:31 axiom squid[4999]: Max Swap size: 1024000 KB
Apr 18 13:13:31 axiom squid[4999]: Rebuilding storage in /var/spool/squid (dirty log)
Apr 18 13:13:31 axiom squid[4999]: Using Least Load store dir selection
Apr 18 13:13:31 axiom squid[4999]: Set Current Directory to /var/spool/squid
Apr 18 13:13:31 axiom squid[4999]: ERROR: No forward-proxy ports configured.
Apr 18 13:13:31 axiom squid[4999]: message repeated 90 times: [ ERROR: No forward-proxy ports configured.]
Apr 18 13:13:31 axiom systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr 18 13:13:31 axiom squid[4999]: ERROR: No forward-proxy ports configured.
Apr 18 13:13:31 axiom squid[4999]: message repeated 85 times: [ ERROR: No forward-proxy ports configured.]
Apr 18 13:13:31 axiom squid[4999]: Not currently OK to rewrite swap log.
Apr 18 13:13:31 axiom squid[4999]: storeDirWriteCleanLogs: Operation aborted.
Apr 18 13:13:31 axiom squid[4999]: FATAL: mimeLoadIcon: cannot parse internal URL: http://axiom.myserver.com:0/squid-internal-static/icons/silk/image.png
Apr 18 13:13:31 axiom squid[4999]: Squid Cache (Version 4.10): Terminated abnormally.
Apr 18 13:13:31 axiom squid[4939]: Squid Parent: squid-1 process 4999 exited with status 1
Apr 18 13:13:31 axiom squid[4939]: Squid Parent: (squid-1) process 5026 started
Apr 18 13:13:31 axiom (squid-1): WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
Apr 18 13:13:31 axiom squid[5026]: Set Current Directory to /var/spool/squid
Apr 18 13:13:31 axiom squid[5026]: Starting Squid Cache version 4.10 for x86_64-pc-linux-gnu...
Apr 18 13:13:31 axiom squid[5026]: Service Name: squid
Apr 18 13:13:31 axiom squid[5026]: Process ID 5026
Apr 18 13:13:31 axiom squid[5026]: Process Roles: worker
Apr 18 13:13:31 axiom squid[5026]: With 1024 file descriptors available
Apr 18 13:13:31 axiom squid[5026]: Initializing IP Cache...
Apr 18 13:13:31 axiom squid[5026]: DNS Socket created at 0.0.0.0, FD 5
Apr 18 13:13:31 axiom squid[5026]: Adding nameserver 127.0.0.1 from squid.conf
Apr 18 13:13:31 axiom squid[5026]: Logfile: opening log /var/log/squid/access.log
Apr 18 13:13:31 axiom squid[5026]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
Apr 18 13:13:32 axiom systemd[1]: Reloading.
Apr 18 13:13:32 axiom squid[5026]: Unlinkd pipe opened on FD 13
Apr 18 13:13:32 axiom squid[5026]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Apr 18 13:13:32 axiom squid[5026]: Logfile: opening log /var/log/squid/store.log
Apr 18 13:13:32 axiom squid[5026]: WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/store.log'
Apr 18 13:13:32 axiom squid[5026]: Swap maxSize 1024000 + 131072 KB, estimated 88851 objects
Apr 18 13:13:32 axiom squid[5026]: Target number of buckets: 4442
Apr 18 13:13:32 axiom squid[5026]: Using 8192 Store buckets
Apr 18 13:13:32 axiom squid[5026]: Max Mem  size: 131072 KB
Apr 18 13:13:32 axiom squid[5026]: Max Swap size: 1024000 KB
Apr 18 13:13:32 axiom squid[5026]: Rebuilding storage in /var/spool/squid (dirty log)
Apr 18 13:13:32 axiom squid[5026]: Using Least Load store dir selection
Apr 18 13:13:32 axiom squid[5026]: Set Current Directory to /var/spool/squid
Apr 18 13:13:32 axiom squid[5026]: ERROR: No forward-proxy ports configured.
Apr 18 13:13:32 axiom squid[5026]: message repeated 176 times: [ ERROR: No forward-proxy ports configured.]
Apr 18 13:13:32 axiom squid[5026]: Not currently OK to rewrite swap log.
Apr 18 13:13:32 axiom squid[5026]: storeDirWriteCleanLogs: Operation aborted.
Apr 18 13:13:32 axiom squid[5026]: FATAL: mimeLoadIcon: cannot parse internal URL: http://axiom.myserver.com:0/squid-internal-static/icons/silk/image.png
Apr 18 13:13:32 axiom squid[5026]: Squid Cache (Version 4.10): Terminated abnormally.
Apr 18 13:13:32 axiom squid[4939]: Squid Parent: squid-1 process 5026 exited with status 1
Apr 18 13:13:32 axiom squid[4939]: Squid Parent: squid-1 process 5026 will not be restarted for 3600 seconds due to repeated, frequent failures
Apr 18 13:13:32 axiom squid[4939]: Exiting due to repeated, frequent failures
Apr 18 13:13:32 axiom squid[4939]: Removing PID file (/run/squid.pid)
Apr 18 13:13:32 axiom systemd[1]: named.service: Wants dependency dropin /etc/systemd/system/named.service.wants/fix-744304.conf is not a symlink, ignoring.
Apr 18 13:13:32 axiom systemd[1]: squid.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 13:13:32 axiom systemd[1]: squid.service: Failed with result 'exit-code'.

Any help would be welcome


mdtech

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: HTTP proxy won't start with transparent proxy enabled
« Reply #1 on: May 24, 2023, 04:29:13 am »
Any luck with this?  I've got the same exact problem.  I even tried changing the port.  Did no good.

But after kicking it around.   I had to enable ip6 in the sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0

Then I found out it is working up until I make use of Domain Categories in Filter Profiles and denied one category and assign it to an access rule..  That's when Transparent Proxy stops working.
Everything else works.  Domains, Extensions and MIME.

You can test using squid -k check

Also I had tried removing the module but for some reason the zentyal-squid-SERVER was not removed.  It then would not configure properly when reinstalling.  I was able to over come this by removing the object from samba with samba-tool group removemembers 'Domain Admins' zentyal-squid-MYSERVERNAME.

If you get errors dealing with ports look into /etc/e2guardian.conf

Hope this helps.
« Last Edit: May 25, 2023, 04:19:26 am by mdtech »