Menu

Problem starting FlowMonitor_Collector & FlowMonitor_Grapher

ch3wb
2015-06-24
2015-08-12
  • ch3wb

    ch3wb - 2015-06-24

    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 :

    # ./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.

     
  • ch3wb

    ch3wb - 2015-06-24

    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
    • Joe Loiacono

      Joe Loiacono - 2015-06-26

      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";

      /var/www/html/FlowMonitor
      /var/www/html/FlowMonitor/Outbound_HTTP
      /var/www/html/FlowMonitor/Outbound_HTTP/daily.png
      /var/www/html/FlowMonitor/Outbound_HTTP/weekly.png

      etc.

      HTH,

      Joe

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.