[NFDB-users] Apache problem trying to load NFD in OBSD 4.5
Jason Dixon
jason at dixongroup.net
Wed May 6 11:30:51 EDT 2009
On Wed, May 06, 2009 at 08:21:44AM -0700, Dan Colish wrote:
> > Pflow interface is sending packets and the interface where pflowd should
> > be listening is also receiving packets. /tmp/flowpipe file has nothing
> > inside (nothing is seen doing a tail -f /tmp/flowpipe during test) and
> > running netflowdb.pl -D nothing is displayed... until exiting, when i
> > get:
> >
> > /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 48.
>
> Are you sure the pflow device is set up correctly? Try just running
> flowd in debug. Also make sure /tmp/flowpipe is not there before running
> netflowdb. Finally, make sure your flowd.conf file is correctly setup.
> One more thing, if you have any flowd daemons running, they'll conflict
> with netflowdb.
FWIW, netflowdb should unlink /tmp/flowpipe and kill off any flowd
processes upon exit. It also attempts to unlink /tmp/flowpipe at
startup, just in case.
http://trac.netflowdashboard.com/netflowdashboard/browser/trunk/sbin/netflowdb.pl#L155
( see start_flowd() and tidy_up() )
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/
More information about the nfdb-users
mailing list