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

    Squid upgrade to 2.2.3 full crash report

    Scheduled Pinned Locked Moved Cache/Proxy
    40 Posts 5 Posters 5.7k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Which Squid version are you running?

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        also, do you know if it's only 32 bit, or have you tried 64?

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          squid3 0.2.8
          that was there on 2.2.2 and after upgrade it reinstalled it fine but all those issues so didnt start.
          its a 32bit machine, dont have any 64bit to try

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            64bit is affected as well.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Hmm, I just updated my test box here from 2.2.2 to 2.2.3 and it updated OK. It's running 32bit, Squid 0.2.8 and Squidguard 1.9.14. The only thing I had to do was re-download the Blacklists to get Squidguard going.

              Steve

              1 Reply Last reply Reply Quote 0
              • X
                xbipin
                last edited by

                i went to packages and reinstalled and rebooted a couple of times but still same, my box has both lightsquid and squid3

                once i created errors directory then i was able to open squid config page and hit save there also just to update the config but that too didnt help

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  What did you do to trigger those errors? Where are you seeing them?

                  1 Reply Last reply Reply Quote 0
                  • X
                    xbipin
                    last edited by

                    after upgrade, it rebooted, installs the packages and then i started getting crash reports and squid wasnt running, so i reinstalled it and rebooted but still same

                    1 Reply Last reply Reply Quote 0
                    • S
                      Supermule Banned
                      last edited by

                      Jun 25 12:21:26 php-fpm[99958]: /pkg_edit.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: No running copy'
                      Jun 25 12:21:26 php-fpm[99958]: /pkg_edit.php: Reloading Squid for configuration sync
                      Jun 25 12:21:26 check_reload_status: Reloading filter
                      Jun 25 12:21:26 check_reload_status: Syncing firewall
                      Jun 25 12:21:26 check_reload_status: Reloading filter
                      Jun 25 12:21:26 php-fpm[99958]: /pkg_edit.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: No running copy'
                      Jun 25 12:21:26 php-fpm[99958]: /pkg_edit.php: Reloading Squid for configuration sync

                      This is in the logs when re-installing squid.

                      Everything is running in the GUI as package seems to be installed fine.

                      1 Reply Last reply Reply Quote 0
                      • X
                        xbipin
                        last edited by

                        Jun 25 15:49:52 check_reload_status: Syncing firewall
                        Jun 25 15:49:52 check_reload_status: Reloading filter
                        Jun 25 15:49:52 php-fpm[59436]: /pkg_edit.php: [Squid] - Squid_resync function call pr: bp: rpc:no
                        Jun 25 15:49:52 php-fpm[87300]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "nat" rules.
                        Jun 25 15:49:53 php-fpm[87300]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "pfearly" rules.
                        Jun 25 15:49:53 php-fpm[59436]: /pkg_edit.php: Starting Squid
                        Jun 25 15:49:53 php-fpm[59436]: /pkg_edit.php: The command '/usr/pbi/squid-i386/sbin/squid -f /usr/pbi/squid-i386/local/etc/squid/squid.conf' returned exit code '255', the output was ''
                        Jun 25 15:49:53 php-fpm[87300]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "filter" rules.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Hmm, I see many of those things also but Squid seems to be running fine.
                          The re-install log from the upgrade:

                          Jun 25 10:38:21 testbox1 php: rc.bootup: Uninstalling package squid3
                          Jun 25 10:38:26 testbox1 php: rc.bootup: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was 'squid: No running copy' 
                          Jun 25 10:38:40 testbox1 php-fpm[247]: /index.php: Successful login for user 'admin' from: 192.168.114.5
                          Jun 25 10:38:40 testbox1 php-fpm[247]: /index.php: Successful login for user 'admin' from: 192.168.114.5
                          Jun 25 10:39:35 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:39:35 testbox1 kernel: Removing cache ... One moment please...Finishing package cleanup.
                          Jun 25 10:39:35 testbox1 kernel: Reloading filter...
                          Jun 25 10:39:36 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:39:36 testbox1 kernel: 
                          Jun 25 10:39:36 testbox1 php: rc.bootup: Finished uninstalling package squid3
                          Jun 25 10:39:36 testbox1 php: rc.bootup: Reinstalling package squid3
                          Jun 25 10:39:36 testbox1 php: rc.bootup: Beginning package installation for squid3 .
                          Jun 25 10:39:38 testbox1 kernel: 100%
                          Jun 25 10:39:38 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:39:38 testbox1 kernel: 
                          Jun 25 10:39:39 testbox1 kernel: 0%
                          Jun 25 10:39:39 testbox1 kernel:    1%
                          Jun 25 10:39:40 testbox1 kernel:    2%
                          Jun 25 10:39:40 testbox1 kernel:    3%
                          Jun 25 10:39:40 testbox1 kernel:    4%
                          Jun 25 10:39:41 testbox1 kernel:    5%
                          Jun 25 10:39:41 testbox1 kernel:    6%
                          Jun 25 10:39:41 testbox1 kernel:    7%
                          Jun 25 10:39:42 testbox1 kernel:    8%
                          Jun 25 10:39:42 testbox1 kernel:    9%
                          Jun 25 10:39:43 testbox1 kernel:   10%
                          Jun 25 10:39:46 testbox1 kernel:   20%
                          Jun 25 10:39:53 testbox1 kernel:   30%
                          Jun 25 10:39:57 testbox1 kernel:   40%
                          Jun 25 10:40:00 testbox1 kernel:   50%
                          Jun 25 10:40:04 testbox1 kernel:   60%
                          Jun 25 10:40:07 testbox1 kernel:   70%
                          Jun 25 10:40:14 testbox1 kernel:   80%
                          Jun 25 10:40:20 testbox1 kernel:   90%
                          Jun 25 10:40:25 testbox1 kernel:  100%
                          Jun 25 10:43:25 testbox1 kernel: 70% 100%
                          Jun 25 10:43:31 testbox1 kernel: 100%
                          Jun 25 10:43:39 testbox1 kernel: Checking Squid cache... One moment please...Checking if there is configuration to migrate... One moment please...Writing configuration... One moment please...
                          Jun 25 10:43:39 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:43:39 testbox1 kernel: Creating squid cache pools... One moment please...
                          Jun 25 10:43:45 testbox1 php: rc.bootup: Stopping any running proxy monitors
                          Jun 25 10:43:46 testbox1 kernel: Checking for running processes... One moment please...
                          Jun 25 10:43:47 testbox1 php: rc.bootup: Starting Squid
                          Jun 25 10:43:47 testbox1 kernel: Checking cache... One moment please...Starting... One moment please...Reconfiguring filter... One moment please...
                          Jun 25 10:43:47 testbox1 php: rc.bootup: Starting a proxy monitor script
                          Jun 25 10:43:47 testbox1 php: rc.bootup: [Squid] - Squid_resync function call pr: bp:1 rpc:no
                          Jun 25 10:43:47 testbox1 squid[36169]: Squid Parent: will start 1 kids
                          Jun 25 10:43:47 testbox1 squid[36169]: Squid Parent: (squid-1) process 36632 started
                          Jun 25 10:43:48 testbox1 (squid-1): I don't handle this error well!
                          Jun 25 10:43:48 testbox1 squid[36169]: Squid Parent: (squid-1) process 36632 exited with status 1
                          Jun 25 10:43:51 testbox1 squid[36169]: Squid Parent: (squid-1) process 45648 started
                          Jun 25 10:43:52 testbox1 (squid-1): I don't handle this error well!
                          Jun 25 10:43:52 testbox1 squid[36169]: Squid Parent: (squid-1) process 45648 exited with status 1
                          Jun 25 10:43:54 testbox1 php: rc.bootup: [Squid] - Squid_resync function call pr:1 bp:1 rpc:no
                          Jun 25 10:43:55 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:43:55 testbox1 php: rc.bootup: Successfully installed package: squid3.
                          Jun 25 10:43:55 testbox1 php: rc.bootup: Finished installing package squid3
                          Jun 25 10:43:55 testbox1 php: rc.bootup: Uninstalling package squidGuard
                          Jun 25 10:43:55 testbox1 squid[36169]: Squid Parent: (squid-1) process 67255 started
                          Jun 25 10:43:56 testbox1 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. 	The parent directory must be writeable by the 	user 'proxy', which is the cache_effective_user 	set in squid.conf.
                          Jun 25 10:43:56 testbox1 squid[36169]: Squid Parent: (squid-1) process 67255 exited with status 1
                          Jun 25 10:43:59 testbox1 squid[36169]: Squid Parent: (squid-1) process 10385 started
                          Jun 25 10:43:59 testbox1 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. 	The parent directory must be writeable by the 	user 'proxy', which is the cache_effective_user 	set in squid.conf.
                          Jun 25 10:43:59 testbox1 squid[36169]: Squid Parent: (squid-1) process 10385 exited with status 1
                          Jun 25 10:44:02 testbox1 squid[36169]: Squid Parent: (squid-1) process 39015 started
                          Jun 25 10:44:02 testbox1 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. 	The parent directory must be writeable by the 	user 'proxy', which is the cache_effective_user 	set in squid.conf.
                          Jun 25 10:44:02 testbox1 squid[36169]: Squid Parent: (squid-1) process 39015 exited with status 1
                          Jun 25 10:44:02 testbox1 squid[36169]: Squid Parent: (squid-1) process 39015 will not be restarted due to repeated, frequent failures
                          Jun 25 10:44:02 testbox1 squid[36169]: Exiting due to repeated, frequent failures
                          Jun 25 10:45:18 testbox1 Squid_Alarm[96933]: Squid has exited.  Reconfiguring filter.
                          Jun 25 10:45:18 testbox1 Squid_Alarm[97023]: Attempting restart...
                          Jun 25 10:45:24 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:45:28 testbox1 squid: redirect_program /usr/pbi/squidguard-i386/bin/squidGuard: (2) No such file or directory
                          Jun 25 10:45:28 testbox1 kernel: 
                          Jun 25 10:45:29 testbox1 check_reload_status: Syncing firewall
                          Jun 25 10:45:29 testbox1 php: rc.bootup: [Squid] - Squid_resync function call pr: bp:1 rpc:no
                          Jun 25 10:45:40 testbox1 php: rc.bootup: Starting Squid
                          Jun 25 10:45:41 testbox1 squid[76028]: Squid Parent: will start 1 kids
                          Jun 25 10:45:41 testbox1 squid[76028]: Squid Parent: (squid-1) process 76578 started
                          
                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            I'll put some traffic through it to check the logging etc.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Supermule Banned
                              last edited by

                              Can you browse HTTP sites?

                              1 Reply Last reply Reply Quote 0
                              • X
                                xbipin
                                last edited by

                                i now tried to remove squid3 completely, then reboot and then try a fresh install of it but it never goes past extracting

                                Beginning package installation for squid3 .
                                Downloading package configuration file… done.
                                Saving updated package information... done.
                                Downloading squid3 and its dependencies...
                                Checking for package installation...
                                Downloading https://files.pfsense.org/packages/10/All/squid-3.4.10_2-i386.pbi ...  (extracting)

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Ok, I put some traffic through it, seems to be logging fine. I had to stop-start Squid to get the Squidguard blacklists blocking correctly.
                                  It's not fast but my test box is 'hardware limited'! Also it's mostly all cache misses at this point.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xbipin
                                    last edited by

                                    is there anyway to clean complete squid directory etc to get it to install properly from scratch

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      https://doc.pfsense.org/index.php/Squid_Troubleshooting

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xbipin
                                        last edited by

                                        i reapplied the 2.2.3 update file, it installed cron package on reboot but squid is stuck for ever

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xbipin
                                          last edited by

                                          finally fixed it, applied the 2.2.3 update file once again and then gave it a while and finally squid started and all those errors and warnings disappeared

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Ah, nice.  :)
                                            What hardware were you installing on?

                                            Steve

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