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

    [Solved] Arpwatch Notification : Cron <root@pfSense> /usr/local/bin/vnstat -u

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 3 Posters 2.3k 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.
    • NogBadTheBadN
      NogBadTheBad @manjotsc
      last edited by

      @manjotsc

      Status_Traffic_Totals that I mentioned in my first post.

      You also didn’t ask the question I asked in that post.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      manjotscM 2 Replies Last reply Reply Quote 0
      • manjotscM
        manjotsc
        last edited by

        I had pfsense getting stuck at boot, I tried reinstalling. It won't boot, when rebooting. The problem happened to be serial to vga fix.

        Vendor: HP
        Version: P01 Ver. 02.50
        Release Date: Wed Jul 17 2024
        Boot Method: UEFI
        24.11-RELEASE (amd64)
        FreeBSD 15.0-CURRENT
        CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
        Current: 3606 MHz, Max: 3400 MHz
        4 CPUs : 1 package(s) x 4 core(s)

        1 Reply Last reply Reply Quote 0
        • manjotscM
          manjotsc @NogBadTheBad
          last edited by

          @NogBadTheBad just reinstalled, I'll monitor my inbox and let you know.

          Vendor: HP
          Version: P01 Ver. 02.50
          Release Date: Wed Jul 17 2024
          Boot Method: UEFI
          24.11-RELEASE (amd64)
          FreeBSD 15.0-CURRENT
          CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
          Current: 3606 MHz, Max: 3400 MHz
          4 CPUs : 1 package(s) x 4 core(s)

          1 Reply Last reply Reply Quote 0
          • manjotscM
            manjotsc @NogBadTheBad
            last edited by

            @NogBadTheBad Still it's keep flooding my inbox, but found this post https://redmine.pfsense.org/issues/9392 I think we are waiting for fix on package side? Should just keep it uninstalled for now.?

            Vendor: HP
            Version: P01 Ver. 02.50
            Release Date: Wed Jul 17 2024
            Boot Method: UEFI
            24.11-RELEASE (amd64)
            FreeBSD 15.0-CURRENT
            CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
            Current: 3606 MHz, Max: 3400 MHz
            4 CPUs : 1 package(s) x 4 core(s)

            manjotscM 1 Reply Last reply Reply Quote 0
            • manjotscM
              manjotsc @manjotsc
              last edited by manjotsc

              @manjotsc I uninstalled it and now I am getting this,
              Annotation 2019-11-01 044227.png

              Vendor: HP
              Version: P01 Ver. 02.50
              Release Date: Wed Jul 17 2024
              Boot Method: UEFI
              24.11-RELEASE (amd64)
              FreeBSD 15.0-CURRENT
              CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
              Current: 3606 MHz, Max: 3400 MHz
              4 CPUs : 1 package(s) x 4 core(s)

              1 Reply Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad
                last edited by NogBadTheBad

                I mentioned reinstalling the package.

                Does /usr/local/bin/vnstat not exist on your system ?

                [2.4.4-RELEASE][admin@pfsense]/root: find / -name vnstat -print
                /usr/local/etc/rc.d/vnstat
                /usr/local/bin/vnstat
                /var/db/vnstat
                /var/mail/vnstat
                [2.4.4-RELEASE][admin@pfsense]/root: /usr/local/bin/vnstat -v
                vnStat 1.15 by Teemu Toivola <tst at iki dot fi>
                [2.4.4-RELEASE][admin@pfsense]/root:

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                manjotscM 1 Reply Last reply Reply Quote 0
                • manjotscM
                  manjotsc @NogBadTheBad
                  last edited by

                  @NogBadTheBad yes, I had reinstalled the package, the problem, still same and there is no file, vnstat

                  Vendor: HP
                  Version: P01 Ver. 02.50
                  Release Date: Wed Jul 17 2024
                  Boot Method: UEFI
                  24.11-RELEASE (amd64)
                  FreeBSD 15.0-CURRENT
                  CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                  Current: 3606 MHz, Max: 3400 MHz
                  4 CPUs : 1 package(s) x 4 core(s)

                  1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by

                    Sounds like your pfSense install is fubared, think the only way to fix this is a fresh install.

                    I suspect a disk issue.

                    Remove the cron entry that reads:-

                    */5 * * * * root /usr/local/bin/vnstat -u

                    That will stop the emails.

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                    manjotscM 1 Reply Last reply Reply Quote 0
                    • manjotscM
                      manjotsc @NogBadTheBad
                      last edited by manjotsc

                      @NogBadTheBad Ok, so found the fix, I manually create a file called "vnstat" in that directory, then I was getting "permission denied" messages in log, so just gave it a full permission, and now everything is working fine, no errors nothing.

                      Annotation 2019-11-01 0457177.png

                      Annotation 2019-11-01 163443.png

                      Vendor: HP
                      Version: P01 Ver. 02.50
                      Release Date: Wed Jul 17 2024
                      Boot Method: UEFI
                      24.11-RELEASE (amd64)
                      FreeBSD 15.0-CURRENT
                      CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                      Current: 3606 MHz, Max: 3400 MHz
                      4 CPUs : 1 package(s) x 4 core(s)

                      NogBadTheBadN 1 Reply Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad @manjotsc
                        last edited by NogBadTheBad

                        @manjotsc

                        You wouldn’t get the error message if you removed the cron job.

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        manjotscM 1 Reply Last reply Reply Quote 0
                        • manjotscM
                          manjotsc @NogBadTheBad
                          last edited by

                          @NogBadTheBad Either way, it's good right?

                          Vendor: HP
                          Version: P01 Ver. 02.50
                          Release Date: Wed Jul 17 2024
                          Boot Method: UEFI
                          24.11-RELEASE (amd64)
                          FreeBSD 15.0-CURRENT
                          CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                          Current: 3606 MHz, Max: 3400 MHz
                          4 CPUs : 1 package(s) x 4 core(s)

                          1 Reply Last reply Reply Quote 0
                          • NogBadTheBadN
                            NogBadTheBad
                            last edited by NogBadTheBad

                            You’ll be running a job under cron that’s not required.

                            Just delete the cron job.

                            Andy

                            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                            manjotscM 1 Reply Last reply Reply Quote 1
                            • manjotscM
                              manjotsc @NogBadTheBad
                              last edited by

                              @NogBadTheBad All right, done

                              Vendor: HP
                              Version: P01 Ver. 02.50
                              Release Date: Wed Jul 17 2024
                              Boot Method: UEFI
                              24.11-RELEASE (amd64)
                              FreeBSD 15.0-CURRENT
                              CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                              Current: 3606 MHz, Max: 3400 MHz
                              4 CPUs : 1 package(s) x 4 core(s)

                              1 Reply Last reply Reply Quote 0
                              • manjotscM
                                manjotsc
                                last edited by

                                @NogBadTheBad Thanks, for support

                                Vendor: HP
                                Version: P01 Ver. 02.50
                                Release Date: Wed Jul 17 2024
                                Boot Method: UEFI
                                24.11-RELEASE (amd64)
                                FreeBSD 15.0-CURRENT
                                CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                                Current: 3606 MHz, Max: 3400 MHz
                                4 CPUs : 1 package(s) x 4 core(s)

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