Snort mailing list archives
[Fwd: RE: Problem with compiling snort]
From: Cedric Foll <cedric.foll () ac-rouen fr>
Date: 02 Dec 2003 16:47:45 +0100
-- ================== Cedric Foll Ingénieur réseaux, Rectorat de Rouen mèl: cedric.foll () ac-rouen fr tèl: 02 35 14 77 51 "L'orgueil a plus de part que la bonté aux remontrances que nous faisons à ceux qui commettent des fautes; et nous ne les reprenons pas tant pour les en corriger que pour leur persuader que nous en sommes exempts." La rochefoucauld ===================
--- Begin Message --- From: "Grejda, Eric" <EGrejda () county allegheny pa us>
Date: Tue, 2 Dec 2003 10:10:36 -0500
When you just do a build of the Snort source code (by using the make utility), it installs everything under /usr/local. Things won't be broken out into the Redhat directory structure you describe when you do that unless you start passing further options to the configure script to set that up. When you make an RPM file those options are set for you automatically. I ran into the same problem you describe, and it's really easy to fix. If you change to the directory /usr/sbin and list all of the snort files (ls -alF snort*) you'll see two different copies of the Snort binary, snort-mysql and snort-plain. snort is a symlink to snort-plain, by default. Change what the symlink points to: rm -f /usr/sbin/snort ; ln -s /usr/sbin/snort-mysql /usr/sbin/snort and try it again. That's what I had to do when I was building RPMs. By the way - great job on that. It's made rolling Snort out on multiple systems much, much easier. -- Eric Grejda -----Original Message----- From: dunervst () gmx de [mailto:dunervst () gmx de] Sent: Tuesday, December 02, 2003 9:14 AM To: snort-users () lists sourceforge net Subject: [Snort-users] Problem with compiling snort during the configure option it shows me that mysql support is ok. When i am done, there is nothing. No /etc/snort, no subsys/snort, no var/log/snort and no /usr/sbin/snort. There is really nothing. When i make a rpm of the tar file it is working, but i can´t use it with mysql. After rpmbuild i got 2 Pakages snort and snort-mysql. I installed both but every time i restart snort it tells me that it can´t shut down the service. In the message log snort: database: 'mysql' support is not compiled into this build of snort What does that error came from ? How to fix it. I tried to compile manually, but it is not working. My mysql server it up and running very well. Snort db and tables are created via the snort_db_install_script.
--- End Message ---
Current thread:
- [Fwd: RE: Problem with compiling snort] Cedric Foll (Dec 02)
- Re: [Fwd: RE: Problem with compiling snort] Cedric Foll (Dec 02)