Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am new to networking,i am trying to implement IDS(intrusion detection system) in my router.......I have downloaded snort-2.9.1.2 source code and its dependcies.......I have cross compiled it for my ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    7

    Ids


    Hi,

    I am new to networking,i am trying to implement IDS(intrusion detection system) in my router.......I have downloaded snort-2.9.1.2 source code and its dependcies.......I have cross compiled it for my architecture......Compilation successfully done......Binaries have been created.........Configuration setup also done in snort.conf...........But when i run SNORT under cd /usr/local/bin (snort -c /etc/snort/snort.conf) i am getting the below bug..........

    ERROR: database: '<mysql>' is an unknown database type. The supported
    databases include: MySQL (mysql), PostgreSQL (postgresql),
    ODBC (odbc), Oracle (oracle), and Microsoft SQL Server (mssql)
    Fatal Error, Quitting.......

    I thought there is a problem with database,so i downloaded postgresql,ODBC,mysql source code and compiled.......But still i am getting the same error.Can any one help me out from this error...........


    Thanks & regards
    keerthi

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    When you ran ./configure for snort, did you pass it the proper directory paths to your MySQL installation? e.g., from ./configure --help

    Code:
      --with-mysql=DIR               Support for MySQL
      --with-mysql-includes=DIR      MySQL include directory
      --with-mysql-libraries=DIR     MySQL library directory
    Double-check the output from your ./configure command for errors/warnings.

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    7

    Ids

    Thanks for replying......I have compiled it for mysql path,still getting same error.......



    Thanks & regards
    keerthi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •