Crash report bandwidthd. No Graph
-
2.1-BETA0 (i386)
FreeBSD 8.3-RELEASE-p4Crash report details:
PHP Errors:
PHP Deprecated: Function split() is deprecated in /usr/local/pkg/bandwidthd.inc on line 97Have no Graph in bandwidth page, there are only data
please help. -
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". -
Thank you! Error is gone. But graphics do not appear.
-
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.
-
I have full install after upgrade from 2.0 release.
In /usr/pbi/bandwidthd-i386/bandwidthd/htdocs/ all .png files = 0 b. -
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-p5attached 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
-
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