Menu

#4647 Bandwidth Monitoring

1.760
closed-fixed
nobody
None
5
2015-09-30
2015-09-22
M.T.R
No

Hi,

unable to activate the Bandwidth Monitoring in Webmin.
When clicking on SETUP NOW we get error message:
Unsupported file or mode >iptables-save 2>/dev/null | at WebminCore::/usr/share/webmin/web-lib-funcs.pl line 3163

We are on Debian Linux 8.

Thanks for advice

Cheers

Discussion

  • Jamie Cameron

    Jamie Cameron - 2015-09-24

    If you go to the Linux Firewall module, does it detect IPtables and show your current rules?

     
  • M.T.R

    M.T.R - 2015-09-24

    hi,

    sorry for the delay, was a bit busy. <bg></bg>

    yes, i can see my rules in the linux firewall displaying the content of iptables.up.rules.

    cheers

     
  • Jamie Cameron

    Jamie Cameron - 2015-09-25

    Can you add the line error_stack=1 to /etc/webmin/config and then re-try setting up bandwidth monitoring, and post the full error message? That will show me where exactly in the code the problem occurred.

     
  • M.T.R

    M.T.R - 2015-09-25

    ok done,

    here is the message:

    Unsupported file or mode >iptables-save 2>/dev/null | at WebminCore::/usr/share/webmin/web-lib-funcs.pl line 3163

    Call Stack Trace

    File Line Function
    /usr/share/webmin/web-lib-funcs.pl 8602 WebminCore::error
    /usr/share/webmin/web-lib-funcs.pl 3163 WebminCore::open_tempfile
    /usr/share/webmin/cron/cron-lib.pl 340 WebminCore::flush_file_lines
    /usr/share/webmin/bandwidth/setup.cgi 117 cron::create_cron_job
    (eval 35) 6 (eval)
    /usr/share/webmin/miniserv.pl 2373 (eval)
    /usr/share/webmin/miniserv.pl

    cheers

     

    Last edit: M.T.R 2015-09-25
  • M.T.R

    M.T.R - 2015-09-25

    btw
    there was a new type of log file created even after the error message in LOG FILES: /var/log/bandwidth.

    cheers

     

    Last edit: M.T.R 2015-09-25
  • Jamie Cameron

    Jamie Cameron - 2015-09-26

    Is anything being logged to /var/log/bandwidth, or is it just empty?

     
  • M.T.R

    M.T.R - 2015-09-27

    when i tried to use this option,
    the first time there was something logged,
    but as i remember no errors.

    afterwards it kept always empty.

    have deleted the log already.

    cheers

     
  • Jamie Cameron

    Jamie Cameron - 2015-09-27

    Ok, I see the cause of this now - it will be fixed in the next Webmin release.

     
  • Jamie Cameron

    Jamie Cameron - 2015-09-27
    • status: open --> closed-fixed
     
  • M.T.R

    M.T.R - 2015-09-30

    thanks

    cheers

     

Log in to post a comment.