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

    Crash report bandwidthd. No Graph

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    7 Posts 3 Posters 3.6k 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.
    • K
      killeo
      last edited by

      2.1-BETA0 (i386)
      FreeBSD 8.3-RELEASE-p4

      Crash report details:
      PHP Errors:
      PHP Deprecated:  Function split() is deprecated in /usr/local/pkg/bandwidthd.inc on line 97

      Have no Graph in bandwidth page, there are only data
      please help.

      DuckDuckGo is a search engine does not collect or share personal information.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Pull request https://github.com/bsdperimeter/pfsense-packages/pull/331 submitted to fix this.
        The split function is deprecated in PHP 5.3, but for some reason my nanoBSD pfSense 2.1 system with PHP 5.3.14 did not complain about the use of "split", but obviously killeo's install is complaining!
        Anyway, it is better to be using "explode".

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • K
          killeo
          last edited by

          Thank you! Error is gone. But graphics do not appear.

          DuckDuckGo is a search engine does not collect or share personal information.

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            Are you on nanoBSD or a full install?

            I know that on 2.1 nanoBSD the bandwidthd package is trying to write data to the CF card, which is mounted read-only. So it fails. I was intending to look at this and work out how to write the data to the memory-disk in /var and then every-so-often save the data to the CF card. But I haven't had time yet. Apparently bandwidthd worked on some older pfSense nanoBSD versions, but I can't confirm that and I can't see how it would have - the code seems to try to write the data to the CF card in all versions of bandwidthd.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • K
              killeo
              last edited by

              I have full install after upgrade from 2.0 release.
              In /usr/pbi/bandwidthd-i386/bandwidthd/htdocs/ all .png files = 0 b.

              DuckDuckGo is a search engine does not collect or share personal information.

              1 Reply Last reply Reply Quote 0
              • J
                jsbsmd
                last edited by

                I too have the same problem where the png files have a 0 byte size.

                running full version
                2.1-BETA0 (i386)
                built on Sun Dec 9 04:41:14 EST 2012
                FreeBSD 8.3-RELEASE-p5

                attached is the screenshot of my bandwidthd screen.

                fyi, the package description in the webgui says its 2.1.3 however, the files on my firewall show 2.1.5.

                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_defaultpath
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_name
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_version
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_author
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_web
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_mdate
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_requiresroot
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pre-install.sh
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/post-install.sh
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pre-remove.sh
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_icon.png
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_arch
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_fbsdver
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_createver
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_archivecount
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_archivesum
                ./var/db/pbi/installed/bandwidthd-2.0.1_5-i386/pbi_installedpath
                ./var/db/pbi/.hashqueue/bandwidthd-2.0.1_5-i386

                Bandwidthd-080844.png
                Bandwidthd-080844.png_thumb

                1 Reply Last reply Reply Quote 0
                • J
                  jsbsmd
                  last edited by

                  Ok,

                  Well I bit the bullet and did a complete reinstall of pfsense i386 dec 8 build and restored my configuration. This has seemed to fix the bandwidthd problem of viewing the graphs.

                  Conclusion.. upgrading from the stable 2.01 build to the 2.1 nightly build can cause issues. I suspect as mentioned in my other post

                  http://forum.pfsense.org/index.php/topic,56788.0.html

                  that it has to do width multiple versions of the same dependency files ie:png or libconv

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