-
Notifications
You must be signed in to change notification settings - Fork 654
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
WARNING: Script failure #3332
Comments
please, try and update to the latest version and report. if planning to use only community add |
I'm on the latest version for Raspbian and I'm using --community. |
Latest is 200127 |
After upgrading I continue to get the following in the trace log: 27/Jan/2020 13:21:25 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/interface/flow.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory] |
The Flows page gives the following error: SyntaxError: Unexpected token H in JSON at position 0 There are additional errors in the trace log. Below is a sample: 28/Jan/2020 09:07:13 [second.lua:26] [ntop_utils.lua:205] ERROR: stack traceback: /usr/share/ntopng/scripts/lua/modules/ntop_utils.lua:205: in function 'tolongint' ...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:340: in function <...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:319> (...tail calls...) .../ntopng/scripts/lua/modules/timeseries/ts_utils_core.lua:256: in function 'ts_utils_core.append' /usr/share/ntopng/scripts/callbacks/system/second.lua:37: in local 'callback' /usr/share/ntopng/scripts/lua/modules/callback_utils.lua:27: in function 'callback_utils.foreachInterface' /usr/share/ntopng/scripts/callbacks/system/second.lua:26: in main chunk28/Jan/2020 09:07:13 [second.lua:26] [ntop_utils.lua:204] ERROR: Number out of integers range: 1.8446744073182e+1928/Jan/2020 09:07:13 [second.lua:26] [ntop_utils.lua:205] ERROR: stack traceback: /usr/share/ntopng/scripts/lua/modules/ntop_utils.lua:205: in function 'tolongint' ...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:340: in function <...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:319> (...tail calls...) .../ntopng/scripts/lua/modules/timeseries/ts_utils_core.lua:256: in function 'ts_utils_core.append' /usr/share/ntopng/scripts/callbacks/system/second.lua:32: in local 'callback' /usr/share/ntopng/scripts/lua/modules/callback_utils.lua:27: in function 'callback_utils.foreachInterface' /usr/share/ntopng/scripts/callbacks/system/second.lua:26: in main chunk28/Jan/2020 09:07:13 [second.lua:26] [ntop_utils.lua:204] ERROR: Number out of integers range: 1.8446744073182e+1928/Jan/2020 09:07:12 [second.lua:26] [ntop_utils.lua:205] ERROR: stack traceback: /usr/share/ntopng/scripts/lua/modules/ntop_utils.lua:205: in function 'tolongint' ...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:340: in function <...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:319> (...tail calls...) .../ntopng/scripts/lua/modules/timeseries/ts_utils_core.lua:256: in function 'ts_utils_core.append' /usr/share/ntopng/scripts/callbacks/system/second.lua:37: in local 'callback' /usr/share/ntopng/scripts/lua/modules/callback_utils.lua:27: in function 'callback_utils.foreachInterface' /usr/share/ntopng/scripts/callbacks/system/second.lua:26: in main chunk28/Jan/2020 09:07:12 [second.lua:26] [ntop_utils.lua:204] ERROR: Number out of integers range: 1.8446744073181e+1928/Jan/2020 09:07:12 [second.lua:26] [ntop_utils.lua:205] ERROR: stack traceback: /usr/share/ntopng/scripts/lua/modules/ntop_utils.lua:205: in function 'tolongint' ...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:340: in function <...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:319> (...tail calls...) .../ntopng/scripts/lua/modules/timeseries/ts_utils_core.lua:256: in function 'ts_utils_core.append' /usr/share/ntopng/scripts/callbacks/system/second.lua:32: in local 'callback' /usr/share/ntopng/scripts/lua/modules/callback_utils.lua:27: in function 'callback_utils.foreachInterface' /usr/share/ntopng/scripts/callbacks/system/second.lua:26: in main chunk28/Jan/2020 09:07:12 [second.lua:26] [ntop_utils.lua:204] ERROR: Number out of integers range: 1.8446744073182e+19 |
Please run on the raspberry |
jason@monitor:~ $ ntopng --version |
How are you starting ntopng? What are the contents of /etc/ntopng/ntopng.conf? |
jason@monitor:~ $ cat /etc/ntopng/ntopng.conf
|
i'm seeing the same problems (ERROR: Number out of integers range) and flows are no longer getting cleaned up ntopng --version
v.3.9.200205 [Enterprise/Professional/Embedded build]
GIT rev: dev:5f2d9a1dd2c463dfdae4566f671e55acf714e651:20200205
Pro rev: r2697
Built on: Raspbian GNU/Linux 10 (buster)
System Id: FD9B86E0499602D2
Platform: armv7l
Edition: Enterprise Embedded
License Type: Time-Limited [Empty license file]
Validity: Until Wed Feb 12 11:59:52 2020 my config:
|
restarting |
Can you check out the new raspbian package? The flows purge problem should be solved, I cannot reproduce the traffic counter integer problem. |
I've installed 3.9.200209 (8920) and will look out for errors. No issues so far. |
Still getting errors after the latest update. Below is an example from the trace log: 14/Feb/2020 07:19:39 [second.lua:26] [ntop_utils.lua:205] ERROR: stack traceback: /usr/share/ntopng/scripts/lua/modules/ntop_utils.lua:205: in function 'tolongint' ...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:340: in function <...re/ntopng/scripts/lua/modules/timeseries/drivers/rrd.lua:319> (...tail calls...) .../ntopng/scripts/lua/modules/timeseries/ts_utils_core.lua:256: in function 'ts_utils_core.append' /usr/share/ntopng/scripts/callbacks/system/second.lua:32: in local 'callback' /usr/share/ntopng/scripts/lua/modules/callback_utils.lua:27: in function 'callback_utils.foreachInterface' /usr/share/ntopng/scripts/callbacks/system/second.lua:26: in main chunk |
@jasonamorrow for the "Number out of integers range" error and fix please see #3398 . Please check out the new package when available to see if the AlertCheckLuaEngine is solved. |
any news here? |
I upgraded to version 3.9.200225 today and will watch for any errors. |
No more errors. Going to go ahead and close this out. |
I am having the same issue here. Any idea how to resolve this? Thanks. Error : 27/Feb/2021 20:09:07 [AlertCheckLuaEngine.cpp:81] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/interface/host.lua] [.../ntopng/scripts/lua/modules/notifications/recipients.lua:576: attempt to index a nil value] Ntopng Version : |
I also encountered this problem. Did you solve this problem? |
yes. Please update. |
I'm still having the issue. I use the dockerfile here : https://github.com/ntop/docker-ntop docker build -t ntopng -f Dockerfile.ntopng-raspberry . And I have those erreors : ,01/Mar/2021 19:05:00 [LuaEngine.cpp:572] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/interface/5min.lua][.../ntopng/scripts/lua/modules/notifications/recipients.lua:576: attempt to index a nil value] |
And on typing the IP and the port number on a browser, I have the page to log as admin/admin then to change password. But I cannot go further to access the webUI of ntopng. Have you an idea of the issue? |
what do you mean? please explain and attach screenshots |
I explained it in the comment upwards. I deploy it again using the file "Dockerfile.ntopng-raspberry". Still having same issue |
I'm currently getting the following lua scipt failure messages in the log trace. This started occurring after I tried to disable alerts in preferences.
Below are the error messages from the trace log:
27/Jan/2020 10:40:11 [LuaEngine.cpp:12484] WARNING: Script failure [/usr/share/ntopng/scripts/lua/get_flows_data.lua][/usr/share/ntopng/scripts/lua/get_flows_data.lua:247: attempt to index a nil value (field 'status_normal')]
27/Jan/2020 10:40:02 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/interface/interface.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:40:01 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/system/system.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:40:00 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/interface/interface.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:40:00 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/system/system.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:39:35 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/interface/flow.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:39:30 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/interface/interface.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:39:30 [AlertCheckLuaEngine.cpp:80] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/system/system.lua] [cannot open /var/ntopng/plugins/plugins_metadata.lua: No such file or directory]
27/Jan/2020 10:39:30 [NetworkInterface.cpp:2355] Started packet polling on interface eth0 [id: 3]...
27/Jan/2020 10:39:30 [PeriodicActivities.cpp:149] Each periodic activity script will use 1 threads
27/Jan/2020 10:39:30 [LuaEngine.cpp:11979] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/system/startup.lua][/usr/share/ntopng/scripts/lua/modules/flow_consts.lua:100: bad argument #3 to 'format' (number expected, got nil)]
27/Jan/2020 10:39:30 [PeriodicActivities.cpp:101] Started periodic activities loop...
I'm running version v.3.9.200125 on Raspbian Buster.
The text was updated successfully, but these errors were encountered: