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.
    • 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
                                • C
                                  copystring
                                  last edited by

                                  I would give it a try if it wouldn't totally wreck all http traffic (https is still fine though).

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

                                    That's why I test it on a VM I use for development that has no LAN (unless I put another VM behind 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
                                    • J
                                      josey
                                      last edited by

                                      @copystring:

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

                                      i have 64bit machine, and i switch to 32bit version, and it works perfect for me.
                                      try to swich to 32bit until guys solve this problem .

                                      regards

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

                                        I've disabled the automated building of squid and replaced the bad file with a known good version, so this should be safe for now.

                                        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

                                          Great news. Thanks.

                                          db

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

                                            No go here, unfortunately.

                                            
                                            Oct 20 16:41:53	squid[3030]: Exiting due to repeated, frequent failures
                                            Oct 20 16:41:53	kernel: pid 29106 (squid), uid 62: exited on signal 6
                                            Oct 20 16:41:53	squid[3030]: Squid Parent: child process 29106 exited due to signal 6
                                            Oct 20 16:41:53	squid[3030]: Squid Parent: child process 29106 started
                                            Oct 20 16:41:50	kernel: pid 28361 (squid), uid 62: exited on signal 6
                                            Oct 20 16:41:50	squid[3030]: Squid Parent: child process 28361 exited due to signal 6
                                            Oct 20 16:41:49	squid[3030]: Squid Parent: child process 28361 started
                                            Oct 20 16:41:46	kernel: pid 27840 (squid), uid 62: exited on signal 6
                                            Oct 20 16:41:46	squid[3030]: Squid Parent: child process 27840 exited due to signal 6
                                            Oct 20 16:41:46	squid[3030]: Squid Parent: child process 27840 started
                                            Oct 20 16:41:43	squid[3030]: Squid Parent: child process 27032 exited due to signal 6
                                            Oct 20 16:41:43	kernel: pid 27032 (squid), uid 62: exited on signal 6
                                            Oct 20 16:41:42	squid[3030]: Squid Parent: child process 27032 started
                                            Oct 20 16:41:39	kernel: pid 3267 (squid), uid 62: exited on signal 6
                                            Oct 20 16:41:39	squid[3030]: Squid Parent: child process 3267 exited due to signal 6
                                            Oct 20 16:41:39	check_reload_status: reloading filter
                                            Oct 20 16:41:39	squid[3030]: Squid Parent: child process 3267 started
                                            Oct 20 16:41:39	php: /pkg_edit.php: Starting Squid
                                            
                                            

                                            2.0-BETA4 (amd64)
                                            built on Wed Oct 20 16:17:09 UTC 2010
                                            FreeBSD 8.1-RELEASE-p1
                                            CPU Type Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
                                            (virtual machine)
                                            Updated squid within the last hour.

                                            db

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