Re: [pmacct-discussion] nfacctd and NBAR

2016-12-13 Thread Paolo Lucente
Hi Yann, You should use the 'class' aggregation primitive for that - or are you already doing so ant it's not working? To your other question: yes, you can extend, within some limits, the set of natively supported primitives with custom ones: please look at the aggregate_primitives framework (in

Re: [pmacct-discussion] Configure with MySQL / MariaDB support

2016-12-13 Thread Mehul Prajapati
Hi, I think your environment variable LD_LIBRARY_PATH is not pointing to /usr/lib64/ directory. Please run following command and try. $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: /usr/lib64/ -Original Message- From: pmacct-discussion [mailto:pmacct-discussion-boun...@pmacct.net] On

Re: [pmacct-discussion] Configure with MySQL / MariaDB support

2016-12-13 Thread Mehul Prajapati
Hi, In my Ubuntu machine where pmacct is working with MySQL /usr/lib/x86_64-linux-gnu/libmysqlclient.so -> libmysqlclient.so.18 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 In your machine, libmysqlclient.so

Re: [pmacct-discussion] Configure with MySQL / MariaDB support

2016-12-13 Thread Yann Belin
Hi Mehul, Yes I thought it could be the issue too but the softlinks look fine on FS level. [root@ pmacct]# ll /usr/lib64/libmysqlclient.* -rw-r--r-- 1 root root 4386606 Oct 27 14:54 /usr/lib64/libmysqlclient.a lrwxrwxrwx 1 root root 20 Aug 29 22:25 /usr/lib64/libmysqlclient.so ->

[pmacct-discussion] Configure with MySQL / MariaDB support

2016-12-13 Thread Yann Belin
Hello, I am trying to install pmacct with MySQL / MariaDB support but [./configure --enable-mysql] fails with the message below. *-*-*-*-* (...) checking for mysql_init in -lmysqlclient... no configure: error: ERROR: missing MySQL client library *-*-*-*-* I have proper libraries and devel

Re: [pmacct-discussion] Configure with MySQL / MariaDB support

2016-12-13 Thread Yann Belin
Solved :) The configure script output was misleading and reported libmysqlclient to be missing, while it was in fact libz, libssl and libcrypto (see below). After installing openssl-devel I was able to configure/build successfully. configure:13308: checking for mysql_init in -lmysqlclient

Re: [pmacct-discussion] Configure with MySQL / MariaDB support

2016-12-13 Thread Yann Belin
Hi Mehul, It didn't help. could it be a mysql-specific issue (e.g. version)? For instance ./configure is able to find the pcap libraries under the same location (/usr/lib64/) with no problems. [root@ pmacct-1.6.1]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/ [root@ pmacct-1.6.1]#

[pmacct-discussion] MySQL dynamic tables - backticks

2016-12-13 Thread Miethe, Martin
Hello, I just spent some time trying to set up dynamic mysql tables. The log keeps saying: Dec 13 15:26:01 INFO ( out/mysql ): *** Purging cache - START (PID: 20506) *** Dec 13 15:26:01 ERROR ( out/mysql ): PRIMARY 'mysql' backend trouble. Dec 13 15:26:01 ERROR ( out/mysql ): The SQL server

Re: [pmacct-discussion] MySQL dynamic tables - backticks

2016-12-13 Thread Karl O. Pinc
On Tue, 13 Dec 2016 15:05:31 + "Miethe, Martin" wrote: > I just spent some time trying to set up dynamic mysql tables. The log > keeps saying: > > Dec 13 15:26:01 INFO ( out/mysql ): *** Purging cache - START (PID: > 20506) *** Dec 13 15:26:01 ERROR (