Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
2.1 Snapshot Feedback and Problems
»
Re: Snort missing mysql - Resolved
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Re: Snort missing mysql - Resolved (Read 1027 times)
0 Members and 1 Guest are viewing this topic.
Cino
Hero Member
Offline
Posts: 1005
Re: Snort missing mysql - Resolved
«
on:
June 24, 2012, 06:14:11 am »
new snort build snort-2.9.2.3-i386.pbi 2012-Jun-23 18:19:29 wasn't compiled with mysql support
Code:
Jun 24 07:15:34
SnortStartup[23880]: Interface Rule START for 0_39737_em3...
Jun 24 07:15:34
barnyard2[6930]: FATAL ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm, or Windows), then check for alternate builds that contains the necessary 'mysql' support. If this build of snort was compiled by you, then re-run the the ./configure script using the '--with-mysql' switch. For non-standard installations of a database, the '--with-mysql=DIR' syntax may need to be used to specify the base directory of the DB install. See the database documentation for cursory details (doc/README.database). and the URL to the most recent database plugin documentation.
Jun 24 07:15:34
barnyard2[6930]: FATAL ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm, or Windows), then check for alternate builds that contains the necessary 'mysql' support. If this build of snort was compiled by you, then re-run the the ./configure script using the '--with-mysql' switch. For non-standard installations of a database, the '--with-mysql=DIR' syntax may need to be used to specify the base directory of the DB install. See the database documentation for cursory details (doc/README.database). and the URL to the most recent database plugin documentation.
Jun 24 07:15:34
barnyard2[6930]: database: 'mysql' support is not compiled into this build of snort
Jun 24 07:15:34
barnyard2[6930]: database: 'mysql' support is not compiled into this build of snort
«
Last Edit: June 25, 2012, 05:25:09 am by Cino
»
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12839
Snort missing mysql
«
Reply #1 on:
June 24, 2012, 09:44:17 am »
Quote from: Cino on June 24, 2012, 06:14:11 am
new snort build snort-2.9.2.3-i386.pbi 2012-Jun-23 18:19:29 wasn't compiled with mysql support
Code:
Jun 24 07:15:34
SnortStartup[23880]: Interface Rule START for 0_39737_em3...
Jun 24 07:15:34
barnyard2[6930]: FATAL ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm, or Windows), then check for alternate builds that contains the necessary 'mysql' support. If this build of snort was compiled by you, then re-run the the ./configure script using the '--with-mysql' switch. For non-standard installations of a database, the '--with-mysql=DIR' syntax may need to be used to specify the base directory of the DB install. See the database documentation for cursory details (doc/README.database). and the URL to the most recent database plugin documentation.
Jun 24 07:15:34
barnyard2[6930]: FATAL ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm, or Windows), then check for alternate builds that contains the necessary 'mysql' support. If this build of snort was compiled by you, then re-run the the ./configure script using the '--with-mysql' switch. For non-standard installations of a database, the '--with-mysql=DIR' syntax may need to be used to specify the base directory of the DB install. See the database documentation for cursory details (doc/README.database). and the URL to the most recent database plugin documentation.
Jun 24 07:15:34
barnyard2[6930]: database: 'mysql' support is not compiled into this build of snort
Jun 24 07:15:34
barnyard2[6930]: database: 'mysql' support is not compiled into this build of snort
Not sure why but snort's build options were (And had always been) set to use WITHOUT_MYSQL. I changed that to WITH_MYSQL and a new build is running now. Will post again when it's up.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
jimp
Administrator
Hero Member
Offline
Posts: 12839
Re: Snort missing mysql
«
Reply #2 on:
June 24, 2012, 01:14:47 pm »
New snort build is up that should have it built in. Give it another go.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
Cino
Hero Member
Offline
Posts: 1005
Re: Snort missing mysql
«
Reply #3 on:
June 24, 2012, 02:39:55 pm »
same issue.. I'll try again after the next build
timestamp reminder: snort-2.9.2.3-i386.pbi 2012-Jun-24 17:56:39
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12839
Re: Snort missing mysql
«
Reply #4 on:
June 24, 2012, 02:44:49 pm »
Did you uninstall and reinstall, or just click the 'pkg' button?
The latter doesn't remove the binaries and pull new ones, iirc.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
jimp
Administrator
Hero Member
Offline
Posts: 12839
Re: Snort missing mysql
«
Reply #5 on:
June 24, 2012, 02:56:56 pm »
Also, gitsync and try it once more, I noticed that some libs were going into subdirectories and weren't getting included how I thought they were.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
Cino
Hero Member
Offline
Posts: 1005
Re: Snort missing mysql
«
Reply #6 on:
June 24, 2012, 04:26:18 pm »
having the same issue. Could it be that i'm using snort-dev and this change wasn't made to it?
https://github.com/bsdperimeter/pfsense-packages/commit/81757da76ce52b9dd02ddccc5c7ba73100a6e6d0
they are using the same pbi file, so I thinking the same change should be made to snort-dev. Only difference right now is the xml code that i can tell from the 2 packages
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12839
Re: Snort missing mysql
«
Reply #7 on:
June 24, 2012, 07:21:22 pm »
Commit is inbound for that on snort-dev, I didn't touch snort dev initially.
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
rcfa
Sr. Member
Offline
Posts: 495
Re: Snort missing mysql
«
Reply #8 on:
June 25, 2012, 05:18:26 am »
What's the difference between these two packages anyway? They seem to use the same version of everything.
And if I run the -dev package, will the configuration be forward/backwards compatible, or how does this work when at some point the two are merged or one replaces the other?
Logged
Cino
Hero Member
Offline
Posts: 1005
Re: Snort missing mysql - Resolved
«
Reply #9 on:
June 25, 2012, 05:22:52 am »
Quote from: jimp on June 24, 2012, 07:21:22 pm
Commit is inbound for that on snort-dev, I didn't touch snort dev initially.
Thank you Jim! It fired right up after rule update
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...