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

Squid failing to start

Scheduled Pinned Locked Moved pfSense Packages
10 Posts 2 Posters 6.8k 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.
  • S
    Sifter
    last edited by Mar 25, 2006, 10:20 PM

    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 Mar 25, 2006, 10:51 PM

      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 Mar 26, 2006, 12:27 AM Mar 26, 2006, 12:25 AM

        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 Mar 26, 2006, 12:40 AM Mar 26, 2006, 12:34 AM

          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 Mar 26, 2006, 12:49 AM Mar 26, 2006, 12:47 AM

            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 Mar 26, 2006, 12:48 AM

              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 Mar 26, 2006, 12:49 AM

                its safe to remove both.

                1 Reply Last reply Reply Quote 0
                • S
                  Sifter
                  last edited by Mar 26, 2006, 12:53 AM

                  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 Mar 26, 2006, 12:56 AM

                    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 Mar 26, 2006, 1:07 AM

                      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
                      10 out of 10
                      • First post
                        10/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received