Snort mailing list archives

Re: Snort++ installation error


From: "Al Lewis (allewi)" <allewi () cisco com>
Date: Thu, 9 Jun 2016 14:13:53 +0000

Hello,

Did you set you path to lua? See the “doc/start.txt” file.


=== Run

First set up the environment:

    export LUA_PATH=$my_path/include/snort/lua/\?.lua\;\;
    export SNORT_LUA_PATH=$my_path/etc/snort/



Albert Lewis
QA SNORT/Sourcefire
SOURCEfire, Inc. now part of Cisco
9780 Patuxent Woods Drive
Columbia, MD 21046
Phone: (office) 443.430.7112
Email: allewi () cisco com

From: Akhil Koul [mailto:akhil.koul8 () gmail com]
Sent: Thursday, June 09, 2016 9:20 AM
To: snort-users () lists sourceforge net
Subject: [Snort-users] Snort++ installation error

Hello

I have snort 2.9.8.2 currently installed on my system. I tried to install snort++ by downloading and running the 
following commands successfully as mentioned on the github page.

./configure_cmake.sh --prefix=$my_path
cd build
make --j 8 install

However, when i try to do snort -V, it shows the version of snort as 2.9.8.2. Also, when i try to do
$my_path/bin/snort -c $my_path/etc/snort/snort.lua
I get the following error:

FATAL: can't init /home/akhil/snort_src/snort3/etc/snort/snort.lua: 
/home/akhil/snort_src/snort3/etc/snort/snort.lua:22: module 'snort_config' not found:
        no field package.preload['snort_config']
        no file './snort_config.lua'
        no file '/usr/share/luajit-2.0.4/snort_config.lua'
        no file '/usr/local/share/lua/5.1/snort_config.lua'
        no file '/usr/local/share/lua/5.1/snort_config/init.lua'
        no file '/usr/share/lua/5.1/snort_config.lua'
        no file '/usr/share/lua/5.1/snort_config/init.lua'
        no file './snort_config.so'
        no file '/usr/local/lib/lua/5.1/snort_config.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/snort_config.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
Fatal Error, Quitting..

What am i doing wrong?

Thanks
Akhil
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: