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

    Squid cannot start after fresh install on latest 2.0 snapshots

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    30 Posts 7 Posters 15.9k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Looks like amd64 packages are having a problem. Somehow some of them are being mixed up with their 32-bit counterparts, resulting in libs that won't load on amd64. I'm checking into it.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        32-bit and 64-bit squid should be OK now. Both were rebuilt today and I've tried them out and they are starting again.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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

          Not so lucky here. I installed the squid package anew, and although I'm not getting the libmd5 errors, squid starts, then in under a minute it dies. The redirect filters don't automatically deconfigure and my http requests get black-holed.

          I had to remove the squid package and restart pfsense just to get web connectivity back, and now although the packages page shows squid as not installed, the Status>Services page shows squid in a stopped state.

          The error in the system log after squid crashed was, to the best of my recall, "squid -k failed", "failed to kill pid xxxx", "last message repeated 8 times", and then finall "squid exited due to signal 6". I was under some pressure to get things up and running again, so I didn't think to copy the logs. I have remote syslogging enabled but I don't see anything relevant captured there.

          I have attached the last portion of /var/squid/logs/cache.log though. There's a whole lot of "mimeLoadIconFile: /usr/local/etc/squid/icons/(null): (2) No such file or directory" in there and some "FATAL: Received Segment Violation…dying." too. I don't know what to make of it.

          cache.log.txt

          db

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I just looked at my VM and it is also crashing with signal 6 errors.

            I'll have to look at it deeper tomorrow.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Not sure why, but the packages that were compiled by the new automated system weren't working quite right. I replaced the squid binaries with the previous ones I did by hand, and my VM is no longer seeing squid crashes.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

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

                It's working in my VM now, but slower than before. I'll update my other thread for that.

                db

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

                  Ok, squid installed and ran (slowly) in my vm, so I decided to give it another try on my home machine. Unfortunately it still exits immediately (which is significantly sooner than before) on signal 6. From the system log (recent on top):

                  Aug 18 18:06:55 	kernel: pid 29420 (squid), uid 62: exited on signal 6
                  Aug 18 18:06:55 	squid[29389]: Squid Parent: child process 29420 exited due to signal 6
                  Aug 18 18:06:55 	squid[29389]: Squid Parent: child process 29420 started
                  

                  I have /var/squid mounted from a separate partition. The permissions look correct to me, but maybe there's a problem here?

                  ls -lah /var/squid
                  
                  total 10
                  drwxr-xr-x   5 proxy  proxy   512B Aug 18 18:15 .
                  drwxr-xr-x  26 root   wheel   512B Aug 15 19:15 ..
                  drwxrwxr-x   2 proxy  proxy   512B Aug 15 19:09 .snap
                  drwxr-xr-x   2 proxy  proxy   512B Aug 18 18:15 acl
                  drwxr-xr-x  18 proxy  proxy   512B Aug 18 18:15 cache
                  
                  

                  db

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    I haven't reinstalled the package in a couple days, is this still happening for you?

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • M
                      mhohman
                      last edited by

                      Still having this issue on 2.0 BETA4 20100906 2035. Just did a fresh install still have the problem.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mikinho
                        last edited by

                        Anyone have any luck with squid on BETA4 x86-64?  I'm having the same errors:

                        2010/09/11 20:07:45| Beginning Validation Procedure
                        2010/09/11 20:07:45|  Completed Validation Procedure
                        2010/09/11 20:07:45|  Validated 0 Entries
                        2010/09/11 20:07:45|  store_swap_size = 0k
                        FATAL: Received Segment Violation…dying.
                        2010/09/11 20:07:45| storeDirWriteCleanLogs: Starting...
                        2010/09/11 20:07:45|  Finished.  Wrote 0 entries.

                        1 Reply Last reply Reply Quote 0
                        • J
                          josey
                          last edited by

                          nope not working on x64,
                          just switch to 32bit version,
                          but, if you are using PPTP VPN, forget it, after you enable VPN, its not working any more, until you disableVPN again :)

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

                            I have squid 2.7.9-1 package installed in a vm pfsense. It runs, but performance is poor (there is an open thread for that too).

                            I have squid 2.7.9-2 package installed in another pfsense instance (hardware), and squid still exits on signal 6.

                            I see that 2.7.9-3 is now available, so will have to test that.

                            db

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              Looks like it's still got signal 6 issues. Seems no matter how it's compiled by the automated system (I've tried making several changes) it still has those issues for whatever reason, but when I compile it by hand, it works.

                              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

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

                                Yeah, I updated to the latest pakage version (1.2.9-3) in my amd64 vm and it's crashing again.

                                db

                                1 Reply Last reply Reply Quote 0
                                • P
                                  probsd
                                  last edited by

                                  I am having a Squid issue using the latest amd64 pfSense-2.0-BETA4-20101002-1259.iso. Below is the error I am getting. I checked the squid.inc, squid.xml and squid.conf and all state user proxy and group proxy. If I chown -R squid:squid /var/squid then squid -z the cache is created and I can start squid. However if I make any change to the gui it will reset owner of /var/squid to proxy:proxy. I have only noticed this with the latest version of squid.

                                  Any help would be greatly appreciated.

                                  Thanks

                                  
                                  Oct 3 00:27:34 	php: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
                                  Oct 3 00:27:34 	php: /pkg_mgr_install.php: The command '/usr/local/sbin/squid -k shutdown' returned exit code '1', the output was 'squid: ERROR: No running copy'
                                  Oct 3 00:27:39 	php: /pkg_mgr_install.php: The command '/usr/local/sbin/squid -k kill' returned exit code '1', the output was 'squid: ERROR: No running copy'
                                  Oct 3 00:27:45 	php: /pkg_mgr_install.php: Stopping any running proxy monitors
                                  Oct 3 00:27:46 	php: /pkg_mgr_install.php: Starting Squid
                                  Oct 3 00:27:46 	php: /pkg_mgr_install.php: Starting a proxy monitor script
                                  Oct 3 00:27:46 	check_reload_status: reloading filter
                                  Oct 2 19:27:46 	squid[51372]: Squid Parent: child process 51774 started
                                  Oct 2 19:27:46 	squid[51774]: Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squid.conf.
                                  Oct 2 19:27:46 	squid[51372]: Squid Parent: child process 51774 exited due to signal 6
                                  Oct 3 00:27:46 	kernel: pid 51774 (squid), uid 100: exited on signal 6
                                  Oct 3 00:27:47 	php: /pkg_mgr_install.php: Reloading Squid for configuration sync
                                  Oct 3 00:27:47 	php: /pkg_mgr_install.php: The command '/usr/local/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: No running copy'
                                  Oct 3 00:27:47 	check_reload_status: reloading filter
                                  Oct 3 00:27:47 	php: /pkg_mgr_install.php: Reloading Squid for configuration sync
                                  Oct 3 00:27:47 	php: /pkg_mgr_install.php: The command '/usr/local/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: No running copy'
                                  
                                  

                                  Thank you,
                                  ProBSD

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    That is the same error (signal 6 crash) that everyone else in this thread has. It's a known issue.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      probsd
                                      last edited by

                                      Thanks Jimp,

                                      To the best of your knowledge is there a work around?

                                      I am not a programmer but I would be happy to help with testing. Just let me know if there is anything i can do to help.

                                      Thank you,
                                      ProBSD

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        No, not right now. It's a problem with the package builder itself.

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

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

                                          Hi, any update on this?
                                          I really want to use squid but I don't want to switch to i386.

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            I've been trying to work on it over the past couple days but haven't yet had any more luck/progress. It's still unclear why it is crashing in that manner, or which component/aspect of the build system is to blame for certain.

                                            I haven't tried it yet this morning to see if the changes I made yesterday would have had any effect with the full automated build from overnight.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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