• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.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.
  • N
    NogBadTheBad @manjotsc
    last edited by Nov 1, 2019, 8:13 AM

    @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

    M 2 Replies Last reply Nov 1, 2019, 8:18 AM Reply Quote 0
    • M
      manjotsc
      last edited by Nov 1, 2019, 8:15 AM

      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
      • M
        manjotsc @NogBadTheBad
        last edited by Nov 1, 2019, 8:18 AM

        @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
        • M
          manjotsc @NogBadTheBad
          last edited by Nov 1, 2019, 8:39 AM

          @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)

          M 1 Reply Last reply Nov 1, 2019, 8:42 AM Reply Quote 0
          • M
            manjotsc @manjotsc
            last edited by manjotsc Nov 1, 2019, 8:42 AM Nov 1, 2019, 8:42 AM

            @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
            • N
              NogBadTheBad
              last edited by NogBadTheBad Nov 1, 2019, 9:28 AM Nov 1, 2019, 9:16 AM

              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

              M 1 Reply Last reply Nov 1, 2019, 9:56 AM Reply Quote 0
              • M
                manjotsc @NogBadTheBad
                last edited by Nov 1, 2019, 9:56 AM

                @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
                • N
                  NogBadTheBad
                  last edited by Nov 1, 2019, 10:30 AM

                  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

                  M 1 Reply Last reply Nov 1, 2019, 8:29 PM Reply Quote 0
                  • M
                    manjotsc @NogBadTheBad
                    last edited by manjotsc Nov 1, 2019, 8:34 PM Nov 1, 2019, 8:29 PM

                    @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)

                    N 1 Reply Last reply Nov 1, 2019, 8:41 PM Reply Quote 0
                    • N
                      NogBadTheBad @manjotsc
                      last edited by NogBadTheBad Nov 4, 2019, 11:11 AM Nov 1, 2019, 8:41 PM

                      @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

                      M 1 Reply Last reply Nov 1, 2019, 8:54 PM Reply Quote 0
                      • M
                        manjotsc @NogBadTheBad
                        last edited by Nov 1, 2019, 8:54 PM

                        @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
                        • N
                          NogBadTheBad
                          last edited by NogBadTheBad Nov 1, 2019, 9:11 PM Nov 1, 2019, 9:11 PM

                          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

                          M 1 Reply Last reply Nov 1, 2019, 9:18 PM Reply Quote 1
                          • M
                            manjotsc @NogBadTheBad
                            last edited by Nov 1, 2019, 9:18 PM

                            @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
                            • M
                              manjotsc
                              last edited by Nov 1, 2019, 9:19 PM

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