Snort mailing list archives

Re: Snort config not found error (Big Whale)


From: "Joel Cornett (jocornet)" <jocornet () cisco com>
Date: Fri, 24 Jul 2015 23:14:19 +0000


I already set LUA_PATH and SNORT_LUA_PATH
LUA_PATH=/usr/local/include/snort/lua/\?.lua\;\;SNORT_LUA_PATH=/usr/local/etc/snort
and the problem still exist

 And yet i still get this error:
 -------------------------------------------------- o")~?? Snort++ 3.0.0-a1-160
--------------------------------------------------
Loading snort.lua:
FATAL: can't init snort.lua: snort.lua:22: module 'snort_config' not found:
?? ?no field package.preload['snort_config']
?? ?no file '/usr/local/include/snort/lua/\snort_config.lua\'
?? ?no file '\'
?? ?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/lib/lua/5.1/snort_config.so'
?? ?no file '/usr/local/lib/lua/5.1/loadall.so'
Fatal Error, Quitting..

The problem is that Lua is looking for “\snort_config.lua\”, not “snort_config.lua”.
Check your LUA_PATH to make sure that it equals: /usr/local/bin/snort/lua/?.lua;;

The backslashes are only there to ensure that the shell (bash, zsh, etc.) interprets “?” and “;” as literal characters 
and not by their special meanings.
------------------------------------------------------------------------------
_______________________________________________
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: