I'm having trouble with FlowMonitor, the two processes FlowMonitor_Collector and FlowMonitor_Grapher won't start, when I try to launch the script tools/flowmonitor_restart I get :
# ./flowmonitor_restart restart
$ Stopping FlowMonitor processes: FlowMonitor_Collector: aucun processus trouvé
Problem stopping FlowMonitor_Collector
FlowMonitor_Grapher: aucun processus trouvé
Problem stopping FlowMonitor_Grapher
Done.
$ Starting FlowMonitor processes: Starting FlowMonitor_Collector:
No password for user « flowviewer »
Problem starting FlowMonitor_Collector
Starting FlowMonitor_Grapher:
No password for user « flowviewer »
Problem starting FlowMonitor_Grapher
Done.
And when I try to launch tootls/flowmonitor_grpaher_nonlazy here's what I get :
# ./flowmonitor_grapher_nonlazy
Can't locate FlowViewer_Configuration.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./flowmonitor_grapher_nonlazy line 49.
BEGIN failed--compilation aborted at ./flowmonitor_grapher_nonlazy line 49.
I've followed the User Guide, looked in the FAQ, without luck. Any idea ?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've forgotten to explain the main problem : I can't see any graphs in flowmonitor, just broken picture links icons.
I've resolved it by soft-linking my cgi-bin folder (/usr/lib/cgi-bin, since I use Debian 7.5) with /var/www/cgi-bin. Now I can start the two processes but the flowmonitor_grapher_nonlazy script continue to encounter the same problem.
The graphs are now correctly generated from the RRD databases.
According to me, this could be a problem related to the new Debian/Apache way of doing things (/var/www > /var/www/html and /usr/lib/cgi-bin > /var/www/cgi-bin) in Debian 8. Flowviewer 4.6 seems to be designed that way, and with my older Debian something's wrong somewhere.
If someone has some ideas ...
Last edit: ch3wb 2015-06-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like a permissions problem. Your webserver process owner (e.g., apache) must have permissions to create directories, and write into them, beneath the directory specified by your configuration parameter: $monitor_directory.
Hi,
First, nice work on this project !
I'm having trouble with FlowMonitor, the two processes FlowMonitor_Collector and FlowMonitor_Grapher won't start, when I try to launch the script tools/flowmonitor_restart I get :
And when I try to launch tootls/flowmonitor_grpaher_nonlazy here's what I get :
I've followed the User Guide, looked in the FAQ, without luck. Any idea ?
Thanks.
Hi,
You should run the flowmonitor_grapher_nonlazy script from the root directory of your FlowViewer installation, or follow this: http://stackoverflow.com/questions/841785/how-do-i-include-a-perl-module-thats-in-a-different-directory.
Last edit: linuxtardis 2015-08-12
I've forgotten to explain the main problem : I can't see any graphs in flowmonitor, just broken picture links icons.
I've resolved it by soft-linking my cgi-bin folder (/usr/lib/cgi-bin, since I use Debian 7.5) with /var/www/cgi-bin. Now I can start the two processes but the flowmonitor_grapher_nonlazy script continue to encounter the same problem.
The graphs are now correctly generated from the RRD databases.
According to me, this could be a problem related to the new Debian/Apache way of doing things (/var/www > /var/www/html and /usr/lib/cgi-bin > /var/www/cgi-bin) in Debian 8. Flowviewer 4.6 seems to be designed that way, and with my older Debian something's wrong somewhere.
If someone has some ideas ...
Last edit: ch3wb 2015-06-24
Hi Chewb,
Looks like a permissions problem. Your webserver process owner (e.g., apache) must have permissions to create directories, and write into them, beneath the directory specified by your configuration parameter: $monitor_directory.
E.g.,
$monitor_directory = "/var/www/html/FlowMonitor";
etc.
HTH,
Joe