Public bug reported: bindgraph does not start - I am getting the following error message:
* Starting DNS Statistics /usr/sbin/bindgraph.pl Prototype mismatch: sub Parse::Syslog::str2time ($$$$$$$) vs ($$$$$$$$) at /usr/share/perl5/Parse/Syslog.pm line 121. Subroutine str2time redefined at /usr/share/perl5/Parse/Syslog.pm line 66. Subroutine new redefined at /usr/share/perl5/Parse/Syslog.pm line 138. Subroutine _next_line redefined at /usr/share/perl5/Parse/Syslog.pm line 206. Subroutine next redefined at /usr/share/perl5/Parse/Syslog.pm line 388. Not enough arguments for Parse::Syslog::str2time at /usr/sbin/bindgraph.pl line 264, near "})" BEGIN not safe after errors--compilation aborted at /usr/sbin/bindgraph.pl line 282. [fail] seems to be a problem with the str2time which is embedded in bindgraph and a second problem with the format of the bind logfiles date field 23-Jul-2015 07:06:56.242 client 192.168.10.102#58986 (g.bing.com): query: g.bing.com IN A + (192.168.10.1) problem still exists if I change the LOG_FORMAT in /etc/default/bindgraph from bind93 to bind92 ** Affects: bindgraph (Ubuntu) Importance: Undecided Status: New ** Description changed: bindgraph does not start - I am getting the following error message: - * Starting DNS Statistics /usr/sbin/bindgraph.pl Prototype mismatch: sub Parse::Syslog::str2time ($$$$$$$) vs ($$$$$$$$) at /usr/share/perl5/Parse/Syslog.pm line 121. + * Starting DNS Statistics /usr/sbin/bindgraph.pl Prototype mismatch: sub Parse::Syslog::str2time ($$$$$$$) vs ($$$$$$$$) at /usr/share/perl5/Parse/Syslog.pm line 121. Subroutine str2time redefined at /usr/share/perl5/Parse/Syslog.pm line 66. Subroutine new redefined at /usr/share/perl5/Parse/Syslog.pm line 138. Subroutine _next_line redefined at /usr/share/perl5/Parse/Syslog.pm line 206. Subroutine next redefined at /usr/share/perl5/Parse/Syslog.pm line 388. Not enough arguments for Parse::Syslog::str2time at /usr/sbin/bindgraph.pl line 264, near "})" BEGIN not safe after errors--compilation aborted at /usr/sbin/bindgraph.pl line 282. - [fail] + [fail] seems to be a problem with the str2time which is embedded in bindgraph and a second problem with the format of the bind logfiles date field 23-Jul-2015 07:06:56.242 client 192.168.10.102#58986 (g.bing.com): query: g.bing.com IN A + (192.168.10.1) problem still exists if I change the LOG_FORMAT in /etc/default/bindgraph from bind93 to bind92 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1477395 Title: bindgraph str2time error - can't parse logfile date format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bindgraph/+bug/1477395/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs