nprobe does it for you. just grant the permission to the user and/to create the database.
Regards, Yuri

On 2012-10-18 10:21, Ramzi Abdallah wrote:
Thank you, working fine now. One more thing, where can I get the
database schema? To create the database and tables




-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Yuri
Francalacci
Sent: Thursday, October 18, 2012 10:16 AM
To: [email protected]
Subject: Re: [Ntop-misc] ntop + mySQL

try installing tcpwrapper library for your distro.
Yuri

On 2012-10-18 08:02, Ramzi Abdallah wrote:
Hi,

I have nprobe version 6.9.9_100112_svn2606. I need to save flows to a mysql database. When I try to compile nproble with MySQL support I get
the bellow error:

*** Warning: Linking the shared library libnprobe.la against the

*** static library
/root/nprobe_6.9.9_100112_svn2606/nDPI/src/lib/.libs/libndpi.a is not
portable!

*** Warning: Linking the shared library libnprobe.la against the
non-libtool

*** objects systemId.o is not portable!

libtool: link: gcc -shared -fPIC -DPIC .libs/cache.o .libs/collect.o
.libs/engine.o .libs/export.o .libs/database.o .libs/globals.o
.libs/plugin.o .libs/template.o .libs/sflow_collect.o .libs/util.o
.libs/version.o systemId.o -L/usr/local/lib -L/opt/local/lib -lresolv
-L/usr/lib/mysql -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto
-ldl -lwrap -lpcap
/root/nprobe_6.9.9_100112_svn2606/nDPI/src/lib/.libs/libndpi.a -O2
-O2
-Wl,-soname -Wl,libnprobe-6.9.9.so -o .libs/libnprobe-6.9.9.so

/bin/ld: cannot find -lwrap

collect2: error: ld returned 1 exit status

make[2]: *** [libnprobe.la] Error 1

make[2]: Leaving directory `/root/nprobe_6.9.9_100112_svn2606'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/nprobe_6.9.9_100112_svn2606'

make: *** [all] Error 2

I appreciate any help.

Regards,

Ramzi

--
Yuri Francalacci
[email protected]
"It seems that perfection is reached not when there is nothing left
to add, but when there is nothing left to take away"
Antoine de Saint Exupéry
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

--
Yuri Francalacci
[email protected]
"It seems that perfection is reached not when there is nothing left to add,
but when there is nothing left to take away"
Antoine de Saint Exupéry
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to