#service flow-capture start
NOTE: Starting Flow Tools
PHP Fatal error: Cannot break/continue 1 level in /etc/rc.d/init.d/flow-capture on line 39
Looking at the flow-capture in /etc/rc.d/init.d line 39 is the "break":
function start() {
global $tools_path, $cacti_base;;
echo "NOTE: Starting Flow Tools\n";
$devices = db_fetch_assoc("SELECT * FROM plugin_flowview_devices");
if (!empty($devices)) {
$path = db_fetch_cell("SELECT value FROM `settings` WHERE name = 'path_flows_dir'");
if ($path == '')
break;
Any ideas?
flow-capture does not start PHP Fatal error
Moderators: Developers, Moderators
Re: flow-capture does not start PHP Fatal error
Hi,
i'm new to this plugin but hope this help:
before you start make sure the devices is sending flow traffic to your cacti server
by using tcpdump at configured port, then move to this:
1-try to start the service with root privileage.
2-check variable of this file to be correct: /etc/flow-tools/flow-capture.conf
3-try again starting the service : sudo service flow-capture start
4- check the service is running: ps -ef | grep flow .
might this help.
i'm new to this plugin but hope this help:
before you start make sure the devices is sending flow traffic to your cacti server
by using tcpdump at configured port, then move to this:
1-try to start the service with root privileage.
2-check variable of this file to be correct: /etc/flow-tools/flow-capture.conf
3-try again starting the service : sudo service flow-capture start
4- check the service is running: ps -ef | grep flow .
might this help.
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
Re: flow-capture does not start PHP Fatal error
I've ran across exactly this error. I had 2 separate cacti installations and installed netflow.
One of them was fine. the second had this error.
The fix was to go in the netflow folders settings on cacti. Change the flows location and start the daemon (using the plugin start script). Then stop it and change the flows location back to the original.
One of them was fine. the second had this error.
The fix was to go in the netflow folders settings on cacti. Change the flows location and start the daemon (using the plugin start script). Then stop it and change the flows location back to the original.
Who is online
Users browsing this forum: No registered users and 0 guests