Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Problem with squid after 2.1.5 fresh install

    Scheduled Pinned Locked Moved pfSense Packages
    16 Posts 3 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      firefox
      last edited by

      I tried this option
      It is the same situation
      No change

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Sorry, thought you were still on 2.2.

        What information is needed ?  Tell me and I will write

        Transparent or standard mode?  How does it not work, exactly?  Are there any error messages?  Did you change any options on any of the Squid tabs?  How are you testing?  Which browser are you using?

        1 Reply Last reply Reply Quote 0
        • F
          firefox
          last edited by

          Which browser are you using?

          I use Fire Fox

          Transparent or standard mode ?

          Transparent

          Are there any error messages?

          where can i see error messages ?

          Did you change any options on any of the Squid tabs?

          no
          It's just like the picture
          Just like before formatting when it worked

          How are you testing?

          I did not understand this question

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            where can i see error messages ?

            Status - System logs - General

            Also, look at the Squid logs that you can find in /var/squid/logs.  Do you have anything of note in either cache.log or access.log?

            1 Reply Last reply Reply Quote 0
            • F
              firefox
              last edited by

              Feb 5 20:01:59 	php: /diag_logs.php: Successful login for user 'admin' from: 192.168.0.2
              Feb 5 20:01:59 	php: /diag_logs.php: Successful login for user 'admin' from: 192.168.0.2
              Feb 5 20:01:39 	squid[54001]: Exiting due to repeated, frequent failures
              Feb 5 20:01:39 	kernel: pid 88906 (squid), uid 62: exited on signal 6
              Feb 5 20:01:39 	squid[54001]: Squid Parent: child process 88906 exited due to signal 6
              Feb 5 20:01:39 	squid[88906]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:01:38 	squid[54001]: Squid Parent: child process 88906 started
              Feb 5 20:01:35 	squid[54001]: Squid Parent: child process 88492 exited due to signal 6
              Feb 5 20:01:36 	kernel: pid 88492 (squid), uid 62: exited on signal 6
              Feb 5 20:01:35 	squid[88492]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:01:35 	squid[54001]: Squid Parent: child process 88492 started
              Feb 5 20:01:34 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:01:34 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:01:34 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:01:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:01:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:01:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:01:32 	kernel: pid 76606 (squid), uid 62: exited on signal 6
              Feb 5 20:01:32 	squid[54001]: Squid Parent: child process 76606 exited due to signal 6
              Feb 5 20:01:32 	squid[76606]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:01:32 	squid[54001]: Squid Parent: child process 76606 started
              Feb 5 20:01:30 	check_reload_status: Reloading filter
              Feb 5 20:01:29 	Squid_Alarm[72921]: Squid has resumed. Reconfiguring filter.
              Feb 5 20:01:29 	kernel: pid 71236 (squid), uid 62: exited on signal 6
              Feb 5 20:01:29 	squid[54001]: Squid Parent: child process 71236 exited due to signal 6
              Feb 5 20:01:29 	squid[71236]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:01:29 	check_reload_status: Reloading filter
              Feb 5 20:01:29 	squid[54001]: Squid Parent: child process 71236 started
              Feb 5 20:01:28 	Squid_Alarm[70911]: Reconfiguring filter...
              Feb 5 20:01:26 	kernel: pid 54327 (squid), uid 62: exited on signal 6
              Feb 5 20:01:26 	squid[54001]: Squid Parent: child process 54327 exited due to signal 6
              Feb 5 20:01:26 	squid[54327]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:01:25 	squid[54001]: Squid Parent: child process 54327 started
              Feb 5 20:01:25 	Squid_Alarm[52781]: Attempting restart...
              Feb 5 20:01:25 	Squid_Alarm[52575]: Squid has exited. Reconfiguring filter.
              Feb 5 20:00:39 	squid[17360]: Exiting due to repeated, frequent failures
              Feb 5 20:00:39 	kernel: pid 50065 (squid), uid 62: exited on signal 6
              Feb 5 20:00:39 	squid[17360]: Squid Parent: child process 50065 exited due to signal 6
              Feb 5 20:00:39 	squid[50065]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:00:39 	squid[17360]: Squid Parent: child process 50065 started
              Feb 5 20:00:36 	kernel: pid 49654 (squid), uid 62: exited on signal 6
              Feb 5 20:00:36 	squid[17360]: Squid Parent: child process 49654 exited due to signal 6
              Feb 5 20:00:36 	squid[49654]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:00:36 	squid[17360]: Squid Parent: child process 49654 started
              Feb 5 20:00:35 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:00:35 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:00:35 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:00:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:00:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:00:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 20:00:33 	kernel: pid 39792 (squid), uid 62: exited on signal 6
              Feb 5 20:00:33 	squid[17360]: Squid Parent: child process 39792 exited due to signal 6
              Feb 5 20:00:33 	squid[39792]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:00:32 	squid[17360]: Squid Parent: child process 39792 started
              Feb 5 20:00:30 	check_reload_status: Reloading filter
              Feb 5 20:00:29 	kernel: pid 37034 (squid), uid 62: exited on signal 6
              Feb 5 20:00:29 	squid[17360]: Squid Parent: child process 37034 exited due to signal 6
              Feb 5 20:00:29 	squid[37034]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:00:29 	Squid_Alarm[38910]: Squid has resumed. Reconfiguring filter.
              Feb 5 20:00:29 	squid[17360]: Squid Parent: child process 37034 started
              Feb 5 20:00:28 	check_reload_status: Reloading filter
              Feb 5 20:00:28 	Squid_Alarm[36468]: Reconfiguring filter...
              Feb 5 20:00:25 	kernel: pid 17722 (squid), uid 62: exited on signal 6
              Feb 5 20:00:25 	squid[17360]: Squid Parent: child process 17722 exited due to signal 6
              Feb 5 20:00:25 	squid[17722]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 20:00:25 	squid[17360]: Squid Parent: child process 17722 started
              Feb 5 20:00:25 	Squid_Alarm[16292]: Attempting restart...
              Feb 5 20:00:25 	Squid_Alarm[15926]: Squid has exited. Reconfiguring filter.
              Feb 5 20:00:02 	php: sarg.php: The command 'export LC_ALL=C && /usr/pbi/sarg-i386/bin/sarg ' returned exit code '1', the output was 'SARG: File not found: /var/log/squid/access.log'
              Feb 5 20:00:01 	php: sarg.php: Sarg: force refresh now with args, compress(on) and none action after sarg finish.
              Feb 5 19:59:38 	squid[91148]: Exiting due to repeated, frequent failures
              Feb 5 19:59:38 	kernel: pid 8568 (squid), uid 62: exited on signal 6
              Feb 5 19:59:38 	squid[91148]: Squid Parent: child process 8568 exited due to signal 6
              Feb 5 19:59:38 	squid[8568]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 19:59:38 	squid[91148]: Squid Parent: child process 8568 started
              Feb 5 19:59:35 	kernel: pid 7864 (squid), uid 62: exited on signal 6
              Feb 5 19:59:35 	squid[91148]: Squid Parent: child process 7864 exited due to signal 6
              Feb 5 19:59:35 	squid[7864]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 19:59:35 	squid[91148]: Squid Parent: child process 7864 started
              Feb 5 19:59:34 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 19:59:34 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 19:59:34 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 19:59:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 19:59:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 19:59:33 	php: rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt1).
              Feb 5 19:59:32 	kernel: pid 98141 (squid), uid 62: exited on signal 6
              Feb 5 19:59:32 	squid[91148]: Squid Parent: child process 98141 exited due to signal 6
              Feb 5 19:59:32 	squid[98141]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 19:59:31 	squid[91148]: Squid Parent: child process 98141 started
              Feb 5 19:59:30 	check_reload_status: Reloading filter
              Feb 5 19:59:29 	Squid_Alarm[96538]: Squid has resumed. Reconfiguring filter.
              Feb 5 19:59:28 	kernel: pid 95045 (squid), uid 62: exited on signal 6
              Feb 5 19:59:28 	squid[91148]: Squid Parent: child process 95045 exited due to signal 6
              Feb 5 19:59:28 	squid[95045]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              Feb 5 19:59:28 	check_reload_status: Reloading filter
              Feb 5 19:59:28 	squid[91148]: Squid Parent: child process 95045 started
              Feb 5 19:59:28 	Squid_Alarm[94263]: Reconfiguring filter...
              Feb 5 19:59:25 	kernel: pid 91391 (squid), uid 62: exited on signal 6
              Feb 5 19:59:25 	squid[91148]: Squid Parent: child process 91391 exited due to signal 6
              Feb 5 19:59:25 	squid[91391]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
              

              look at the Squid logs that you can find in /var/squid/logs.  Do you have anything of note in either cache.log or access.log?

              how do i see this ?

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                Feb 5 19:59:32 squid[98141]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.

                how do i see this ?

                pfSense is built on FreeeBSD.  Use the 8) Shell option from the console to get to a command prompt.  Never mind access.log and cache.log for now.  What happens when you shell in and run squid -z?

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  First screenshots show a running squid and havp stopped.

                  I suggest you testing a daemon/package at a time.

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • F
                    firefox
                    last edited by

                    @KOM:

                    Feb 5 19:59:32 squid[98141]: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.

                    how do i see this ?

                    pfSense is built on FreeeBSD.  Use the 8) Shell option from the console to get to a command prompt.  Never mind access.log and cache.log for now.  What happens when you shell in and run squid -z?

                    it worked
                    I remember this command
                    To my knowledge
                    I used the command after power failure

                    @marcelloc:

                    First screenshots show a running squid and havp stopped.

                    I suggest you testing a daemon/package at a time.

                    after i used```
                    squid -z

                    1 Reply Last reply Reply Quote 0
                    • F
                      firefox
                      last edited by

                      @marcelloc:

                      First screenshots show a running squid and havp stopped.

                      I suggest you testing a daemon/package at a time.

                      how do i do that ?

                      1 Reply Last reply Reply Quote 0
                      • marcellocM
                        marcelloc
                        last edited by

                        @firefox:

                        how do i do that ?

                        Disable HAVP integration and test squid package only.

                        Once you get it working, test havp.

                        Treinamentos de Elite: http://sys-squad.com

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • F
                          firefox
                          last edited by

                          @marcelloc:

                          @firefox:

                          how do i do that ?

                          Disable HAVP integration and test squid package only.

                          Once you get it working, test havp.

                          I guess I've done it
                          That's the only way I had Internet access
                          Only I did not know
                          The test is done like this

                          thank you both

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.