-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lua_error on index.lua #330
Comments
I've just tested with 2.3.151229 - Professional Edition and it works just fine on CentOS Linux release 7.1.1503 (Core) The exception you have reported suggests me that interface statistics are not propagated to Lua. Is ntopng running with enough privileges? Also the link you have enclosed is 404. Please see this: http://packages.ntop.org/centos/ and consider moving to the nightly build. |
Thanks for the reply. I switched to the nightly build as suggested. |
Having the same problem, running ntopng 2.4.0 built on openSUSE Leap 42.2... any advice? |
Hi,
I get the following error when connecting to my page.
HTTP/1.1 500 Internal server error Content-Type: text/html Connection: close Script "/usr/share/ntopng/scripts/lua/index.lua" returned an error:
/usr/share/ntopng/scripts/lua/modules/lua_utils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
I see a similar error in /var/log/messages/ :
Dec 20 07:50:59 server ntopng: [src/Lua.cpp:4478] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/second.lua][/usr/share/ntopng/scripts/lua/modules/lua_utils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)]
Results from ntopng --version:
v.2.2.151211 [Professional Edition]
GIT rev: 2.2-stable:b96d564541333833293ce9537ebe598ffece5c3a:20151211
Pro rev: r524
System Id: 8D8BA7399206AAF2
Built on: CentOS Linux release 7.1.1503 (Core)
I use the ntop centos-stable repo at http://www.nmon.net/centos-stable
The text was updated successfully, but these errors were encountered: