[NFDB-users] Netflowdashboard doesn't write flows to the database.
Filip Palian
filip.palian at expro.pl
Tue May 19 08:35:23 EDT 2009
Filip Palian wrote:
> Executing patched "netflowdb.pl" results with:
> $ sudo /var/www/netflowdashboard/sbin/netflowdb.pl -D
> before
> ^C
> /var/www/netflowdashboard/sbin/netflowdb.pl exiting
>
> Can't call method "read_flow" on an undefined value at /var/www/netflowdashboard/sbin/netflowdb.pl line 50.
>
>
> Script "netflowdb.pl" hangs on line 41 (in the original script):
> -- cut --
> my $flowd = Flowd->new($flowd_socket);
> -- cut --
This one is interesting:
$ perl -d /var/www/netflowdashboard/sbin/netflowdb.pl -D
...
main::(/var/www/netflowdashboard/sbin/netflowdb.pl:42):
42: my $flowd = Flowd->new($flowd_socket);
DB<1> n
^C
/var/www/netflowdashboard/sbin/netflowdb.pl exiting
at /usr/local/libdata/perl5/site_perl/i386-openbsd/Flowd.pm line 143
Flowd::init('Flowd=HASH(0x80e34170)', '/tmp/flowpipe') called at
/usr/local/libdata/perl5/site_perl/i386-openbsd/Flowd.pm line 130
Flowd::new('Flowd', '/tmp/flowpipe') called at /var/www/netflowdashboard/sbin/netflowdb.pl line 42
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1>
It seems that "netflowdb.pl" calls "/usr/local/libdata/perl5/site_perl/i386-openbsd/Flowd.pm" and hangs on line 143:
-- cut --
open($fhandle, "<$filename") or die "open($filename): $!";
-- cut --
in the "init" subroutine. The rest is obvious. What may be the cause?
Best regards,
--
Filip Palian
admin at expro.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
Url : http://www.dixongroup.net/pipermail/nfdb-users/attachments/20090519/ed31f342/attachment.asc
More information about the nfdb-users
mailing list