Navigation

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

    PfSense 2.2.4(AMD64) Squid failure.

    Cache/Proxy
    3
    6
    2476
    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.
    • P
      phoenixtec last edited by

      hi,

      I use virtualbox 5.0 to test pfSense-LiveCD-2.2.4-RELEASE-amd64-20150725-1957
      I only installed Squid package [system–>packages-->available packages-->squid(version 2.7.9 pkg v.4.3.6)]
      Then I check system logs and get logs below:

      Jul 31 02:51:14 php-fpm[76467]: /pkg_mgr_install.php: Beginning package installation for squid .
      Jul 31 02:51:16 check_reload_status: Syncing firewall
      Jul 31 02:52:20 check_reload_status: Syncing firewall
      Jul 31 02:52:20 php-fpm[76467]: /pkg_mgr_install.php: Creating Squid cache dir /var/squid/cache
      Jul 31 02:52:20 php-fpm[76467]: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
      Jul 31 02:52:21 php-fpm[76467]: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k shutdown' returned exit code '1', the output was 'squid: ERROR: No running copy'
      Jul 31 02:52:26 php-fpm[76467]: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k kill' returned exit code '1', the output was 'squid: ERROR: No running copy'
      Jul 31 02:52:28 php-fpm[76467]: /pkg_mgr_install.php: Stopping any running proxy monitors
      Jul 31 02:52:29 php-fpm[76467]: /pkg_mgr_install.php: Starting Squid
      Jul 31 02:52:29 php-fpm[76467]: /pkg_mgr_install.php: Starting a proxy monitor script
      Jul 31 02:52:29 check_reload_status: Reloading filter
      Jul 31 02:52:29 check_reload_status: Syncing firewall
      Jul 31 02:52:29 php-fpm[76467]: /pkg_mgr_install.php: Starting Squid
      Jul 31 10:52:30 squid[80449]: Squid Parent: child process 81235 started
      Jul 31 10:52:30 squid[83410]: Squid Parent: child process 84339 started
      Jul 31 02:52:30 check_reload_status: Reloading filter
      Jul 31 10:52:30 squid[84339]: Cannot open HTTP Port
      Jul 31 10:52:30 squid[83410]: Squid Parent: child process 84339 exited due to signal 6
      Jul 31 10:52:30 kernel: pid 84339 (squid), uid 62: exited on signal 6
      Jul 31 10:52:33 squid[83410]: Squid Parent: child process 11833 started
      Jul 31 10:52:33 squid[83410]: Squid Parent: child process 11833 exited with status 1
      Jul 31 02:52:34 php-fpm[76467]: /pkg_mgr_install.php: Reloading Squid for configuration sync
      Jul 31 02:52:35 check_reload_status: Reloading filter
      Jul 31 02:52:35 check_reload_status: Syncing firewall
      Jul 31 02:52:35 php-fpm[76467]: /pkg_mgr_install.php: Successfully installed package: squid.
      Jul 31 02:52:36 check_reload_status: Reloading filter
      Jul 31 10:52:36 squid[83410]: Squid Parent: child process 23103 started
      Jul 31 10:52:37 squid[83410]: Squid Parent: child process 23103 exited with status 1
      Jul 31 10:52:40 squid[83410]: Squid Parent: child process 26856 started
      Jul 31 10:52:40 squid[83410]: Squid Parent: child process 26856 exited with status 1
      Jul 31 10:52:43 squid[83410]: Squid Parent: child process 27297 started
      Jul 31 10:52:43 squid[83410]: Squid Parent: child process 27297 exited with status 1
      Jul 31 10:52:43 squid[83410]: Exiting due to repeated, frequent failures

      could anyone help me to solve this. Thank you!

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

        Don't waste your time with squid2.  Install squid3 instead.  Honestly, I don't know why they even have squid2 still in packages.  It's ancient.

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

          Hi, KOM

          I use Squid, because in status
          Squid ==>stable
          Squid3 ==>Beta

          I will try Squid3.

          Thank You!

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

            Hi,

            I deleted Squid and rebooted my pfSense 2.2.4(amd64).
            Then I installed Squid3 and got errors in the system logs.
            I list them below:

            ug 1 16:53:13 syslogd: kernel boot file is /boot/kernel/kernel
            Aug 1 16:53:37 php-fpm[41377]: /pkg_mgr_install.php: Beginning package installation for squid3 .
            Aug 1 16:53:39 check_reload_status: Syncing firewall
            Aug 1 16:55:06 check_reload_status: Syncing firewall
            Aug 1 16:55:08 php-fpm[41377]: /pkg_mgr_install.php: Stopping any running proxy monitors
            Aug 1 16:55:09 php-fpm[41377]: /pkg_mgr_install.php: Starting Squid
            Aug 1 16:55:09 php-fpm[41377]: /pkg_mgr_install.php: Starting a proxy monitor script
            Aug 1 16:55:09 check_reload_status: Reloading filter
            Aug 1 16:55:10 php-fpm[41377]: /pkg_mgr_install.php: [Squid] - Squid_resync function call pr: bp: rpc:no
            Aug 1 16:55:10 squid[93726]: Squid Parent: will start 1 kids
            Aug 1 16:55:10 squid[93726]: Squid Parent: (squid-1) process 94228 started
            Aug 1 16:55:11 (squid-1): I don't handle this error well!
            Aug 1 16:55:11 squid[93726]: Squid Parent: (squid-1) process 94228 exited with status 1
            Aug 1 16:55:13 check_reload_status: Syncing firewall
            Aug 1 16:55:13 check_reload_status: Syncing firewall
            Aug 1 16:55:13 php-fpm[41377]: /pkg_mgr_install.php: Reloading Squid for configuration sync
            Aug 1 16:55:13 php-fpm[41377]: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy'
            Aug 1 16:55:13 check_reload_status: Reloading filter
            Aug 1 16:55:14 php-fpm[41377]: /pkg_mgr_install.php: [Squid] - Squid_resync function call pr:1 bp: rpc:no
            Aug 1 16:55:14 squid[93726]: Squid Parent: (squid-1) process 10353 started
            Aug 1 16:55:17 php-fpm[41377]: /pkg_mgr_install.php: Reloading Squid for configuration sync
            Aug 1 16:55:17 php-fpm[41377]: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy'
            Aug 1 16:55:17 check_reload_status: Reloading filter
            Aug 1 16:55:17 check_reload_status: Syncing firewall
            Aug 1 16:55:17 php-fpm[41377]: /pkg_mgr_install.php: Successfully installed package: squid3.
            Aug 1 16:55:18 check_reload_status: Reloading filter

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

              Have you rebooted after installing squid3?  It doesn't work until you do that or restart the service.

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

                @KOM:

                Don't waste your time with squid2.  Install squid3 instead.  Honestly, I don't know why they even have squid2 still in packages.  It's ancient.

                This is surprising. I had no idea that squid3 is more stable. I assumed that that been marked as beta, the squid package would be more stable.

                Can i just uninstall squid, then install squid3 and keep the configuration, or i have to reconfigure this package and/or squidGuard?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Products

                • Platform Overview
                • TNSR
                • pfSense
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy