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

    Squid Shutting Down and Wont Restart

    Scheduled Pinned Locked Moved Cache/Proxy
    17 Posts 3 Posters 3.4k 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.
    • P
      plough
      last edited by

      @KOM:

      Try it and see if it makes any difference.  I wasn't aware that the scheduler was broken to the point where you need to bounce squid.  I run squid/squidguard on my company LAN, and I have squidguard set to only allow recreational web access during lunch and after hours.  It works like a charm and i don't have to do anything funny to squid or squidguard so I'm not quite sure why you're going through this hassle.

      when i first setup it, if i remember it right i was having problem with schedule, maybe i was doing it wrong back then and i have read about the issue with the schedule.. it was on the older version though i believe… i will try to remove cron jobs and observe if the schedule is properly kicking in on lunch and after hours..

      thanks

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

        @KOM:

        Try it and see if it makes any difference.  I wasn't aware that the scheduler was broken to the point where you need to bounce squid.  I run squid/squidguard on my company LAN, and I have squidguard set to only allow recreational web access during lunch and after hours.  It works like a charm and i don't have to do anything funny to squid or squidguard so I'm not quite sure why you're going through this hassle.

        Hi Kom,

        It happened again. this time i have to manually restart the squid under service, since it is still blocking some site i have to allow..

        it didnt restart automatically or wont restart manually. and under cache logs it gave me the same error. i have to Clear Disk Now for it to resolve

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

          Post screens of your config.

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

            @KOM:

            Post screens of your config.

            Dashboard and Squid Server Screenshots

            Dashboard.png
            Dashboard.png_thumb
            Squid01.png
            Squid01.png_thumb
            Squid02.png
            Squid02.png_thumb
            Squid03.png
            Squid03.png_thumb
            Squid04.png
            Squid04.png_thumb
            Squid05.png
            Squid05.png_thumb
            Squid06.png
            Squid06.png_thumb

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

              Squidguard Config

              squidguard01.png
              squidguard01.png_thumb
              squidguard02.png
              squidguard02.png_thumb
              squidguard03.png
              squidguard03.png_thumb
              squidguard04.png
              squidguard04.png_thumb
              squidguard05.png
              squidguard05.png_thumb
              squidguard06.png
              squidguard06.png_thumb
              squidguard07.png
              squidguard07.png_thumb
              squidguard08.png
              squidguard08.png_thumb

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

                by the way, the settings that i omit from screenshots are settings that are still in default..

                thanks

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

                  Sorry to make you go through all that but it looks like your settings are fine.  I have no idea why you're having so much trouble with the schedule.

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

                    @KOM:

                    Sorry to make you go through all that but it looks like your settings are fine.  I have no idea why you're having so much trouble with the schedule.

                    Its ok brother no worries…. Actually the schedule is fine.. But the squid shutting down and not restarting unless you clear disk now is the problem..

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

                      Are you still using that cron job to shutdown squid and then start him again?  Did you try the restart option?

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

                        @KOM:

                        Are you still using that cron job to shutdown squid and then start him again?  Did you try the restart option?

                        Yes actually i tried the restart via cron.. But still does the issue, then  i removed all the cron job for squid, no error untill i manually restart squid…

                        1 Reply Last reply Reply Quote 0
                        • U
                          u3c307
                          last edited by

                          Have you made sure that the pid for squid is down when your cron job run? Possible that the pid is still up that is why it is saying squid already exist.

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