Bluehost.com Web Hosting $6.95

Re: [Snort-users] 'mysql' support is not compiled...OH YES IT IS

This is a discussion on Re: [Snort-users] 'mysql' support is not compiled...OH YES IT IS within the Snort forums, part of the System Security and Security Related category; No, the problem is that the configure script isn't finding the required mysql libs and includes. Try doing a `...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2004
Bamm Visscher
 
Posts: n/a
Default Re: [Snort-users] 'mysql' support is not compiled...OH YES IT IS

No, the problem is that the configure script isn't finding the required mysql libs and includes. Try doing a `make distclean` at the root of your snort src and rerunning the configure script. Pay particular attention to the output of:

"checking for mysql..."

If the mysql libs are found then when you compile snort, you'll see the switch "-DENABLE_MYSQL" being passed to the compiler when you run `make`.

Bammkkkk

On Sun, Jan 25, 2004 at 04:11:11AM -0500, chris wrote:
> Hi,
> Upgrading from 2.0.6 to 2.1.0, when I compile the source:
> [root@aztec snort-2.1.0]# ./configure --with-mysql=/usr/local/mysql
> <....>
>
> and run:
> [root@aztec snort-2.1.0]# snort -c /etc/snort/snort.conf
> Running in IDS mode
> ...
> <snip>
> ...
> database: compiled support for ( )
> database: configured to use mysql
> database: 'mysql' support is not compiled into this build of snort
> (etc.... standard error message).
>
> But I can switch over to the old 2.0.6 source tree and:
> [root@aztec snort-2.1.0]# cd ../snort-2.0.6
> [root@aztec snort-2.0.6]# ./configure --with-mysql=/usr/local/mysql
> <...>
> and run:
> [root@aztec snort-2.0.6]# snort -c /etc/snort/snort.conf.2.0.6
> Running in IDS mode
> Log directory = /var/log/snort
> <..snip....>
> database: compiled support for ( mysql )
> database: configured to use mysql
>
> Now it works!
>
> So, I'm guessing that the problem is not with the mysql support being "not
> compiled into this build of snort" as the message says, but instead relating
> to external files? Like the ruleset (which I _thought_ I copied anew)? Can
> someone point me in a direction?
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Snort-users mailing list
> Snort-users@lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/...fo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.p...st=snort-users



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0