No graphs in bandwidthd
-
Hi,
I've read some postings about this problem, but haven't found a solution yet.
I installed bandwidthd on 2.1 i386, but when I go to the graph screen there are no graphs, only the data. I have allready update png and libiconv to a new version and reinstalled the gd library, but it's still not working.
Does anybody know the solution to this problem?Thanks,
Roger -
how much memory your computer with pfsense?
-
2Gb and from the Dashboard it says 14% in use.
BTW: I have no lightsquid installed (or had it installed). I upgraded the machine from 2.03 to 2.1 and it is configured as a transparent bridge. -
2.1 installed from scratch, no graphics 256mb memory, and at 512 and more graphics are displayed normally.
-
Anything in /tmp/PHP_errors.log?
I have allready update png and libiconv.
Check to make sure you do not have multiple versions of libpng and libconv floating around?
find / -name *libpng*
find / -name *libconv*please post the output of pkg_list
-
/tmp/PHP_errors.log gives only a few errors regarding to pfblocker.
find / -name *libpng*
/usr/local/lib/libpng.a
/usr/local/lib/libpng.so
/usr/local/lib/libpng.so.6
/usr/local/lib/libpng15.so.15
/usr/local/bin/libpng-config
/usr/local/bin/libpng15-config
/usr/local/bin/libpng14-config
/usr/local/man/man3/libpngpf.3.gz
/usr/local/man/man3/libpng.3.gz
/usr/local/include/libpng
/usr/local/libdata/pkgconfig/libpng14.pc
/usr/local/libdata/pkgconfig/libpng.pc
/usr/pbi/bandwidthd-i386/bin/libpng-config
/usr/pbi/bandwidthd-i386/bin/libpng15-config
/usr/pbi/bandwidthd-i386/include/libpng15
/usr/pbi/bandwidthd-i386/lib/libpng15.so.15
/usr/pbi/bandwidthd-i386/lib/libpng15.so
/usr/pbi/bandwidthd-i386/lib/libpng.so
/usr/pbi/bandwidthd-i386/lib/libpng15.a
/usr/pbi/bandwidthd-i386/lib/libpng.a
/usr/pbi/bandwidthd-i386/lib/libpng
/usr/pbi/bandwidthd-i386/lib/libpng/libpng15.cmake
/usr/pbi/bandwidthd-i386/lib/libpng/libpng15-release.cmake
/usr/pbi/bandwidthd-i386/libdata/pkgconfig/libpng.pc
/usr/pbi/bandwidthd-i386/libdata/pkgconfig/libpng15.pcfind / -name *libconv*
nothingfind / -name *libiconv*
/usr/local/lib/libiconv.a
/usr/local/lib/libiconv.la
/usr/local/lib/libiconv.so
/usr/local/lib/libiconv.so.3
/usr/local/share/doc/libiconv
/usr/pbi/zabbix-agent-i386/lib/libiconv.so.3
/usr/pbi/zabbix-agent-i386/lib/libiconv.so
/usr/pbi/zabbix-agent-i386/lib/libiconv.la
/usr/pbi/zabbix-agent-i386/lib/libiconv.a
/usr/pbi/bandwidthd-i386/lib/libiconv.so.3
/usr/pbi/bandwidthd-i386/lib/libiconv.so
/usr/pbi/bandwidthd-i386/lib/libiconv.la
/usr/pbi/bandwidthd-i386/lib/libiconv.a
/usr/pbi/snort-i386/lib/libiconv.so.3
/usr/pbi/snort-i386/lib/libiconv.so
/usr/pbi/snort-i386/lib/libiconv.la
/usr/pbi/snort-i386/lib/libiconv.a
/var/db/pkg/libiconv-1.13.1_2pkg_info
barnyard2-1.9_2 An output system for Snort or Suricata that parses unified2
bsdinstaller-2.0.2011.0621 BSD Installer mega-package
compat6x-i386-6.4.604000.200810_3 A convenience package to install the compat6x libraries
compat7x-i386-7.2.702000.200906.1 A convenience package to install the compat7x libraries
daq-0.6.2 Data Acquisition abstraction library for snort 2.9+
expat-2.0.1_2 XML 1.0 parser written in C
fontconfig-2.8.0_1,1 An XML-based font configuration API for X Windows
freetype2-2.4.7 A free and portable TrueType font rendering engine
gd-2.0.35_7,1 A graphics library for fast creation of images
gettext-0.18.1.1 GNU gettext package
grub-0.97_4 GRand Unified Bootloader
jpeg-8_3 IJG's jpeg compression utilities
libdnet-1.11_3 A simple interface to low level networking routines
libiconv-1.13.1_2 A character set conversion library
libnet11-1.1.2.1_3,1 A C library for creating IP packets
libnet11-1.1.2.1_4,1 A C library for creating IP packets
libpcap-1.1.1_1 Ubiquitous network traffic capture library
libpcap-1.3.0 Ubiquitous network traffic capture library
mysql-client-5.1.53 Multithreaded SQL database (client)
mysql-client-5.1.58 Multithreaded SQL database (client)
p5-Net-CIDR-0.14 Perl module to manipulate IPv4/IPv6 netblocks in CIDR notat
pcre-8.10 Perl Compatible Regular Expressions library
pcre-8.12 Perl Compatible Regular Expressions library
pcre-8.21_1 Perl Compatible Regular Expressions library
pcre-8.30_2 Perl Compatible Regular Expressions library
perl-5.10.1_1 Practical Extraction and Report Language
perl-5.12.4_4 Practical Extraction and Report Language
perl-threaded-5.10.1_3 Practical Extraction and Report Language
pkg-config-0.25_1 A utility to retrieve information about installed libraries
png-1.4.8_1 Library for manipulating PNG images
postgresql-client-8.4.7 PostgreSQL database (client)
snort-2.8.6.1 Lightweight network intrusion detection system
snort-2.9.0.5_1 Lightweight network intrusion detection system
snort-2.9.2.3 Lightweight network intrusion detection system
zabbix-agent-1.8.5,2 Enterprise-class open source distributed monitoring (agent) -
OK,
I also tried deleting all libpng and png files and reinstall bandwidthd. After that I had to reinstall gd agina, but still no graphs. :(
-
scratch that let me figure out what is going on here :o
-
This is my pfsense dev VM. Fresh 2.1 i386
Before bandwidthD
[2.1-RELEASE][root@pfsensedev.localdomain]/root(3): pkg_info
bsdinstaller-2.0.2013.0911 BSD Installer mega-package
gettext-0.18.3 GNU gettext package
libiconv-1.14_1 A character set conversion library
libidn-1.22 Internationalized Domain Names command line tool
pkg-config-0.25_1 A utility to retrieve information about installed libraries
wget-1.13.4_1 Retrieve files from the Net via HTTP(S) and FTP[2.1-RELEASE][root@pfsensedev.localdomain]/root(10): pbi_info
[2.1-RELEASE][root@pfsensedev.localdomain]/root(11):After bandwidthD
[2.1-RELEASE][root@pfsensedev.localdomain]/root(12): pkg_info bsdinstaller-2.0.2013.0911 BSD Installer mega-package
gettext-0.18.3 GNU gettext package
libiconv-1.14_1 A character set conversion library
libidn-1.22 Internationalized Domain Names command line tool
pkg-config-0.25_1 A utility to retrieve information about installed libraries
wget-1.13.4_1 Retrieve files from the Net via HTTP(S) and FTP[2.1-RELEASE][root@pfsensedev.localdomain]/root(11): pbi_info
bandwidthd-2.0.1_5-i386As you can see it seems like everything is rolled up into the pbi. Keep track of what packages you are messing with but try this:
- Remove BandwidthD from GUI
- Remove gd-2.0.35_7,1
- Remove png-1.4.8_1
- Remove jpeg-8_3
- Reinstall BandwidthD from the GUI
-
Yes,
That worked! ;D ;D ;D
So there were too much packages installed. Or was it the jpg package?Thanks!
Roger
-
In pfsense 2.1 PBI packages are being used. The new pbi package has all the required libraries built into itself so you don't have to install additional packages that can conflict with other packages etc. The old packages from 2.X.X probably were messing you up to begin with. You don't want any of the old packages when using the new pbi package in 2.1.
Glad it worked :)
-
OK,
Good to know. I have a spare firewall with the exact same specs which is configured the same way. I will do a complete wipe and fresh install on that one and after that do the same to this one.
Thanks,
Roger