Bandwidthd syntax errors - package broken?
-
I have tested several packages with great success and most things seem stable; reinstall, uninstall etc.
One package that I haven't once even been able to start though, is bandwidthd.
I have tested not filling in so much config and putting in lots of settings - no difference - doesn't start.
In system logs lines such as this is shown:
bandwidthd: Syntax Error "syntax error" on line 49
Other line numbers mentioned in log are 50 and 53
Since one doesn't (I haven't anyway) edit the config files directly, is this package or its interaction with the webGUI broken somehow?
I use 1.2.2
TIA
-
I have bandwidthd running on a 1.2.2 system, upgraded from 1.2, where bandwidthd was also working.
From services, bandwidthd I just picked the interface, set the graph cutoff to 1024, and checked the box to draw graphs. You have to wait a bit for the graphs to populate. -
I'm having the same problem here.
On both pfSense 1.2.1 RC4 and 1.2.2 (I upgraded from the former to the latter after bandwidthd wouldn't work with the release candidate), bandwidthd appears to install correctly, no obvious problems with dependencies or errors in any of the system or package logs.
However, the bandwidthd service just fails to start entirely.
I did a lot of reading and searching through these forums, and I did what the original poster here did and SSH'd into the shell, and tried to start it manually, but this was the result:
# /usr/local/bandwidthd/bandwidthd /usr/local/bandwidthd/etc/bandwidthd.conf Syntax Error "syntax error" on line 50
I am using the default configuration settings on the BandwidthD configuration page … 1024 graph cutoff, 150 meta refresh, lan interface.
Any idea what the issue is? For the record the version of BandwidthD is 2.0.1.2.
If any of you could at least steer me in the right direction I'd appreciate it. Thanks! :)
-
Really, nobody knows anything about this issue? I am sure plenty of people out there are using recent versions of pfSense along with bandwidthd … and I'm clearly not the only one with this problem.
I don't mean to sound impatient but I need to be able to monitor per-IP traffic on our local box in order to stabilize the network, and bandwidthd is the only tool I know of which can do this.
If nobody knows what the deal is with bandwidthd, does anyone have any equivalent software, or could someone give me some instructions to install it manually? (if that can even be done and it's not the code itself that is broken; I downloaded the latest unix distribution but am unsure how to install it)
-
I just tried bandwidthd 2.0.1.2 on pfSense 1.2.2 and 1.2.3-RC1 and it worked fine in both places.
I filled in 1024 for the graph cutoff, and 150 for the refresh, and checked "draw graphs" and it's running OK on both systems. I even tried clearing all of the settings (blank boxes, all unchecked) and it still worked fine for me.
Line 50 in the bandwidthd config is near "filter string" so you might make sure that box is completely empty and save the config again. Or you could post the config file somewhere (attach it here, or pastebin it) and someone could take a look to see what might be happening.
Alternately, you can try another bandwidth monitoring package:
http://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F