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

    Lightsquid log rotate bug

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 3 Posters 5.1k 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.
    • D
      dvserg
      last edited by

      @Igor:

      I believe it should say:

      0       0       *       *       */1     root  /usr/local/sbin/squid -k
      rotate > /dev/null

      Thanks, i will test this bug

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • I
        Igor
        last edited by

        Thanks dvserg.

        1 Reply Last reply Reply Quote 0
        • M
          mbedyn
          last edited by

          for me logs rotate does not work to..
          but I got:

          /usr/local/etc/squid  /usr/local/sbin/squid -k rotate > /dev/null

          /usr/local/etc/squid: Permission denied.

          when I tried running script by myself

          1 Reply Last reply Reply Quote 0
          • D
            dvserg
            last edited by

            @mbedyn:

            for me logs rotate does not work to..
            but I got:

            /usr/local/etc/squid  /usr/local/sbin/squid -k rotate > /dev/null

            /usr/local/etc/squid: Permission denied.

            when I tried running script by myself

            What you squid version?

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply Reply Quote 0
            • M
              mbedyn
              last edited by

              2.6.5_1-p15 that is shown in package version

              1 Reply Last reply Reply Quote 0
              • D
                dvserg
                last edited by

                @mbedyn:

                2.6.5_1-p15 that is shown in package version

                Ok. I return from rest in net monday & test this problem.

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • M
                  mbedyn
                  last edited by

                  hi
                  dvserg, any news about this bug? Did you looked at this closer? my log file is groving fast  :P

                  I have found another possible bug.. there is some misconfiguration in graphing option i suppouse..
                  take a look into a screenshot

                  lightsquid.jpg
                  lightsquid.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • D
                    dvserg
                    last edited by

                    Rotate bug fixed (probably)
                    Pls check now.
                    Thanks

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

                    1 Reply Last reply Reply Quote 0
                    • M
                      mbedyn
                      last edited by

                      ups… something goes wrong..
                      after reinstaling the package, something wrong was happend with my config..  :-[
                      webGUI does not show any my settings.. it shows standard GUI I have  lost webGUui password.
                      Unfortunately I was be able to log in through ssh with my old password
                      I have seen error message
                      [code]Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 328

                      I looked at the lines and there is nothing wrong with theese code..

                       327                         foreach($config['interfaces'] as $name => $int) {
                          328                                 if($int['if'] == $ifname) $friendly = $name;
                          329                         }
                      
                      

                      I have changed webGUI password, log in into webGUI.
                      status.php shows that router keep all settings, packages etc.. but webGUI does not  :-
                      I do not know what I should do next….
                      -upgrade the system with newest snapshot? what about config.. will be keeped after upgrade?
                      -restore config from backup? what will happned if some core files are broken ???

                      any suggestions?
                      Michael

                      update...
                      I have restored all config from backup.. everything back to normal..
                      I let you know about rotate log bug...
                      ;)

                      1 Reply Last reply Reply Quote 0
                      • M
                        mbedyn
                        last edited by

                        Log rotate function works perfect now..  ;D
                        many thanks

                        Michael

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