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 `...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |