[netflow-tools] flowinsert.pl tool gives an error

Damien Miller djm at mindrot.org
Thu Jul 9 17:57:05 EST 2009


On Mon, 15 Jun 2009, Suraj Nellikar (snellika) wrote:

> 
> Hi,
> 
> I am trying to store the binary flows from logfile into a sqlite DB. When I
> run ?./flowinsert.pl ../logfile? command, it gives the following error:-
> 
> DBD::SQLite::db do failed: file is encrypted or is not a database at
> ./flowinsert.pl
> 
> If I am right, we have to pass the logfile (which has the flows in binary
> format) into flowinsert.pl and it will store it in the DB, right?
> 
> Could you let me know why there is this error?

It has been some time since I used flowinsert.pl, but I expect the error
indicates that you need to give the tool a pre-initialised sqlite database.
Use the "flows.sql" schema to prepare the SQLite database.

-d


More information about the netflow-tools mailing list