Navigation

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

    Squid failing to start

    pfSense Packages
    2
    10
    6102
    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.
    • S
      Sifter last edited by

      I see the following errors in my log after trying to start the squid service under Status: Services.  Ive uninstalled/reinstalled the package numerous times.  Any ideas?

      Mar 25 14:17:32 php: : SQUID is installed but failed to start. Not installing redirector rule.
      Mar 25 14:16:48 kernel: pid 54666 (squid), uid 0: exited on signal 6 (core dumped)
      Mar 25 14:16:48 squid: getgrnam failed to find groupid for effective group 'squid'
      Mar 25 14:16:48 kernel: pid 54656 (squid), uid 0: exited on signal 6 (core dumped)
      Mar 25 14:16:48 kernel: pid 54655 (squid), uid 0: exited on signal 6 (core dumped)
      Mar 25 14:16:47 squid: getgrnam failed to find groupid for effective group 'squid'
      Mar 25 14:16:47 squid: getgrnam failed to find groupid for effective group 'squid'
      Mar 25 14:16:47 kernel: pid 54645 (squid), uid 0: exited on signal 6 (core dumped)
      Mar 25 14:16:47 squid: getgrnam failed to find groupid for effective group 'squid'

      1 Reply Last reply Reply Quote 0
      • L
        Leoandru last edited by

        cat /etc/group | grep squid

        To see if your squid group still exist. If its missing you'll need to recreate it. I had the same problem once but unfortunately
        recreating the group didn't solve it. I had to:

        1. uninstall squid from the package system.
        2. pkg_delete squid port.
        3. reinstall squid from package system.

        1 Reply Last reply Reply Quote 0
        • S
          Sifter last edited by

          cat /etc/group | grep squid

          After getting done uninstalling squid through the package system in the gui, I ran the following:

          pkg_delete squid

          pkg_delete: no such package 'squid' installed

          It seems that it uninstalled cleanly?

          1 Reply Last reply Reply Quote 0
          • L
            Leoandru last edited by

            use pkg_info to get the name of the squid port.
            on mine its squid-2.5.12_4.

            then pkg_delete squid-2.5.12_4.

            Its appears your squid group is gone. reinstalling the squid port via the package system should fix that, thats if you don't want to go through the process of creating the group and adding squid user to it.

            1 Reply Last reply Reply Quote 0
            • S
              Sifter last edited by

              It appears I have 2 listed on my system, or is the last entry just an update?

              squid-2.5.12        The successful WWW proxy cache and accelerator
              squid-2.5.12_4      The successful WWW proxy cache and accelerator

              1 Reply Last reply Reply Quote 0
              • S
                Sifter last edited by

                pkg_delete squid-2.5.12_4

                pkg_delete: file '/usr/local/etc/rc.d/squid.sh' doesn't exist
                pkg_delete: unable to completely remove directory '/usr/local/etc/squid'
                pkg_delete: couldn't entirely delete package (perhaps the packing list is
                incorrectly specified?)
                ===> post-deinstallation information for squid-2.5.12_4

                Note:
                    squid related user accounts and groups were not removed.

                To remove the 'squid' user and the 'squid' group which were
                    created by a default installation of this package, run

                pw userdel -r -n squid -u 100

                To ease updates, the cache and log directories and
                    all configuration files modified by you were preserved.

                Please remove them manually if you do not want to use
                    squid any longer.

                1 Reply Last reply Reply Quote 0
                • L
                  Leoandru last edited by

                  its safe to remove both.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sifter last edited by

                    excellent, that fixed it.  reinstalled squid and the service is running.  thx for your help.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sifter last edited by

                      Just curious, does your Squid stats work?  When I click on the link it seems to be broken.  I get a 404 - Not Found

                      1 Reply Last reply Reply Quote 0
                      • L
                        Leoandru last edited by

                        Its broken. When time permits I'll probably take a look at it to see if I can sort that out, provided no-one is already working on it.
                        I'd get a chance to try out Scott's flashy CoreGUI.  ;D

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