Barnyard Service - MySQL Error

Posted by SLYN on Super User See other posts from Super User or by SLYN
Published on 2014-08-22T09:35:44Z Indexed on 2014/08/22 10:22 UTC
Read the original article Hit count: 187

Filed under:
|
|
|
|

I installed barnyard2 and saved as a service. When I run service barnyard2 start, Barnyard2 is failed. After I run tail -100 /var/log/messages and I encounter a fault like this.

ERROR database: 'mysql' support is not compiled into this build of snort#012

Aug 22 11:52:06 barnyard2[25771]: FATAL ERROR: If this build of barnyard2 was obtained as a binary distribution (e.g., rpm,#012or Windows), then check for alternate builds that contains the necessary#012'mysql' support.#012#012If this build of barnyard2 was compiled by you, then re-run the#012the ./configure script using the '--with-mysql' switch.#012For non-standard installations of a database, the '--with-mysql=DIR'#012syntax may need to be used to specify the base directory of the DB install.#012#012See the database documentation for cursory details (doc/README.database).#012and the URL to the most recent database plugin documentation.

Aug 22 11:52:06 barnyard2[25771]: Barnyard2 exiting

What sould I do for solving this problem?

When I installed Barnyard2, I used these commands:

# ./configure --with-mysql --with-mysql-libraries=/usr/lib64/mysql
# make ; make install

(My System is CentOS 6.5 x86_64.)

© Super User or respective owner

Related posts about linux

Related posts about centos