Hi,

What kind of debug do you want? I dont understand what I should do.

I tried also removing all my rrd and top_talkers directories, but still getting the error.
I run ntopng with this command:

sudo ntopng -n 0 -i eth1 -X 262144 -x 131072 -m "all my local nets" -G /home/ntop/ntopng/ntopng.pid -U ntop -d/var/tmp -e

Thanks,


El 19/08/2013 19:41, Luca Deri escribió:
On Aug 19, 2013, at 11:57 AM, Dpto. Datos Television Costa Blanca 
<[email protected]> wrote:

Hi,

Still getting the error. Running ntopng in verbose shows this when attemping to 
load index. Im running last svn version, fresh install.

19/Aug/2013 11:59:49 [HTTPserver.cpp:241] [HTTP] / 
[/home/ntop/ntopng/scripts/lua/index.lua]
19/Aug/2013 11:59:49 [Lua.cpp:66] ERROR: ntop_find_interface : expected string, 
got nil
19/Aug/2013 11:59:49 [Lua.cpp:960] ERROR: INTERNAL ERROR: null interface
19/Aug/2013 11:59:49 [Lua.cpp:1381] WARNING: Script failure 
[/home/ntop/ntopng/scripts/lua/index.lua][/home/ntop/ntopng/scripts/lua/index.lua:20:
 attempt to index global 'ifstats' (a nil value)]

¿Any solution?

Please do some debug to enlighten where the problem could be
Luca

Thanks

El 17/08/2013 16:23, Dpto. Datos Television Costa Blanca escribió:
Hi,
Did it, also need to install libtool-dev.
Now it compiles but I get /home/ntop/ntopng/scripts/lua/index.lua:20: attempt 
to index global 'ifstats' (a nil value) in dashboard.
Executing with verbose, i can see it is working as normal, doing resolvings and 
purging hosts/flows

Thanks

El 17/08/2013 13:50, Luca Deri escribió:
Hi
Please install the GNU auto tools then remove the SVN tree and do a fresh 
checkout

Thanks Luca

Sent from my iPhone (sorry for typos)

On 17/ago/2013, at 09:39, "Dpto. Datos Television Costa Blanca" 
<[email protected]> wrote:

Hi Luca,

This revision dont compile and shows this:

ntop@ntop:~/ntopng$ make
cd third-party/json-c; ./autogen.sh; ./configure; make
./autogen.sh: 2: ./autogen.sh: autoreconf: not found
/bin/sh: 1: ./configure: not found
make[1]: Entering directory `/home/ntop/ntopng/third-party/json-c'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/ntop/ntopng/third-party/json-c'
make: *** [third-party/json-c/.libs/libjson-c.a] Error 2

Cheers,


El 17/08/2013 1:03, [email protected] escribió:
Author: deri
Date: 2013-08-17 01:03:45 +0200 (Sat, 17 Aug 2013)
New Revision: 6668

Added:
    trunk/ntopng/DB.cpp
    trunk/ntopng/DB.h
    trunk/ntopng/scripts/lua/set_active_interface.lua
    trunk/ntopng/third-party/json-c/
    trunk/ntopng/third-party/json-c/.gitignore
    trunk/ntopng/third-party/json-c/AUTHORS
    trunk/ntopng/third-party/json-c/Android.configure.mk
    trunk/ntopng/third-party/json-c/COPYING
    trunk/ntopng/third-party/json-c/ChangeLog
    trunk/ntopng/third-party/json-c/Doxyfile
    trunk/ntopng/third-party/json-c/Makefile.am
    trunk/ntopng/third-party/json-c/Makefile.am.inc
    trunk/ntopng/third-party/json-c/NEWS
    trunk/ntopng/third-party/json-c/README
    trunk/ntopng/third-party/json-c/README-WIN32.html
    trunk/ntopng/third-party/json-c/README.html
    trunk/ntopng/third-party/json-c/RELEASE_CHECKLIST.txt
    trunk/ntopng/third-party/json-c/arraylist.c
    trunk/ntopng/third-party/json-c/arraylist.h
    trunk/ntopng/third-party/json-c/autogen.sh
    trunk/ntopng/third-party/json-c/bits.h
    trunk/ntopng/third-party/json-c/config.h.in
    trunk/ntopng/third-party/json-c/config.h.win32
    trunk/ntopng/third-party/json-c/configure.in
    trunk/ntopng/third-party/json-c/debug.c
    trunk/ntopng/third-party/json-c/debug.h
    trunk/ntopng/third-party/json-c/json-c-uninstalled.pc.in
    trunk/ntopng/third-party/json-c/json-c.pc.in
    trunk/ntopng/third-party/json-c/json-c.vcproj
    trunk/ntopng/third-party/json-c/json.h
    trunk/ntopng/third-party/json-c/json.pc.in
    trunk/ntopng/third-party/json-c/json_c_version.c
    trunk/ntopng/third-party/json-c/json_c_version.h
    trunk/ntopng/third-party/json-c/json_config.h.in
    trunk/ntopng/third-party/json-c/json_inttypes.h
    trunk/ntopng/third-party/json-c/json_object.c
    trunk/ntopng/third-party/json-c/json_object.h
    trunk/ntopng/third-party/json-c/json_object_iterator.c
    trunk/ntopng/third-party/json-c/json_object_iterator.h
    trunk/ntopng/third-party/json-c/json_object_private.h
    trunk/ntopng/third-party/json-c/json_tokener.c
    trunk/ntopng/third-party/json-c/json_tokener.h
    trunk/ntopng/third-party/json-c/json_util.c
    trunk/ntopng/third-party/json-c/json_util.h
    trunk/ntopng/third-party/json-c/libjson.c
    trunk/ntopng/third-party/json-c/linkhash.c
    trunk/ntopng/third-party/json-c/linkhash.h
    trunk/ntopng/third-party/json-c/printbuf.c
    trunk/ntopng/third-party/json-c/printbuf.h
    trunk/ntopng/third-party/json-c/tests/
    trunk/ntopng/third-party/json-c/tests/Makefile.am
    trunk/ntopng/third-party/json-c/tests/parse_flags.c
    trunk/ntopng/third-party/json-c/tests/parse_flags.h
    trunk/ntopng/third-party/json-c/tests/parse_int64.test
    trunk/ntopng/third-party/json-c/tests/test-defs.sh
    trunk/ntopng/third-party/json-c/tests/test1.c
    trunk/ntopng/third-party/json-c/tests/test1.expected
    trunk/ntopng/third-party/json-c/tests/test1.test
trunk/ntopng/third-party/json-c/tests/test1Formatted_plain.expected
trunk/ntopng/third-party/json-c/tests/test1Formatted_pretty.expected
trunk/ntopng/third-party/json-c/tests/test1Formatted_spaced.expected
    trunk/ntopng/third-party/json-c/tests/test2.c
    trunk/ntopng/third-party/json-c/tests/test2.expected
    trunk/ntopng/third-party/json-c/tests/test2.test
trunk/ntopng/third-party/json-c/tests/test2Formatted_plain.expected
trunk/ntopng/third-party/json-c/tests/test2Formatted_pretty.expected
trunk/ntopng/third-party/json-c/tests/test2Formatted_spaced.expected
    trunk/ntopng/third-party/json-c/tests/test4.c
    trunk/ntopng/third-party/json-c/tests/test4.expected
    trunk/ntopng/third-party/json-c/tests/test4.test
trunk/ntopng/third-party/json-c/tests/testReplaceExisting.c
trunk/ntopng/third-party/json-c/tests/testReplaceExisting.expected
trunk/ntopng/third-party/json-c/tests/testReplaceExisting.test
    trunk/ntopng/third-party/json-c/tests/test_cast.c
    trunk/ntopng/third-party/json-c/tests/test_cast.expected
    trunk/ntopng/third-party/json-c/tests/test_cast.test
    trunk/ntopng/third-party/json-c/tests/test_locale.c
trunk/ntopng/third-party/json-c/tests/test_locale.expected
    trunk/ntopng/third-party/json-c/tests/test_locale.test
    trunk/ntopng/third-party/json-c/tests/test_null.c
    trunk/ntopng/third-party/json-c/tests/test_null.expected
    trunk/ntopng/third-party/json-c/tests/test_null.test
    trunk/ntopng/third-party/json-c/tests/test_parse.c
trunk/ntopng/third-party/json-c/tests/test_parse.expected
    trunk/ntopng/third-party/json-c/tests/test_parse.test
    trunk/ntopng/third-party/json-c/tests/test_parse_int64.c
trunk/ntopng/third-party/json-c/tests/test_parse_int64.expected
    trunk/ntopng/third-party/json-c/tests/test_printbuf.c
trunk/ntopng/third-party/json-c/tests/test_printbuf.expected
    trunk/ntopng/third-party/json-c/tests/test_printbuf.test
trunk/ntopng/third-party/json-c/tests/test_set_serializer.c
trunk/ntopng/third-party/json-c/tests/test_set_serializer.expected
trunk/ntopng/third-party/json-c/tests/test_set_serializer.test
Removed:
    trunk/ntopng/third-party/SimpleJSON/
Modified:
    trunk/ntopng/Flow.cpp
    trunk/ntopng/Flow.h
    trunk/ntopng/HTTPserver.cpp
    trunk/ntopng/Host.cpp
    trunk/ntopng/Host.h
    trunk/ntopng/IpAddress.cpp
    trunk/ntopng/IpAddress.h
    trunk/ntopng/Lua.cpp
    trunk/ntopng/Makefile.in
    trunk/ntopng/NdpiStats.cpp
    trunk/ntopng/NdpiStats.h
    trunk/ntopng/NetworkInterface.cpp
    trunk/ntopng/NetworkInterface.h
    trunk/ntopng/Ntop.cpp
    trunk/ntopng/Ntop.h
    trunk/ntopng/Prefs.cpp
    trunk/ntopng/Prefs.h
    trunk/ntopng/Serializable.h
    trunk/ntopng/TrafficStats.cpp
    trunk/ntopng/TrafficStats.h
    trunk/ntopng/Utils.cpp
    trunk/ntopng/Utils.h
    trunk/ntopng/config.h.in
    trunk/ntopng/configure
    trunk/ntopng/configure.in
    trunk/ntopng/httpdocs/inc/index_bottom.inc
    trunk/ntopng/main.cpp
    trunk/ntopng/ntop_defines.h
    trunk/ntopng/ntop_includes.h
    trunk/ntopng/scripts/callbacks/minute.lua
    trunk/ntopng/scripts/lua/aggregated_host_details.lua
    trunk/ntopng/scripts/lua/aggregated_host_stats.lua
    trunk/ntopng/scripts/lua/find_host.lua
    trunk/ntopng/scripts/lua/flow_details.lua
    trunk/ntopng/scripts/lua/flow_stats.lua
    trunk/ntopng/scripts/lua/flows_stats.lua
    trunk/ntopng/scripts/lua/get_aggregated_host_info.lua
    trunk/ntopng/scripts/lua/get_flows_data.lua
    trunk/ntopng/scripts/lua/get_geo_hosts.lua
    trunk/ntopng/scripts/lua/get_hosts_data.lua
    trunk/ntopng/scripts/lua/get_top_talkers.lua
    trunk/ntopng/scripts/lua/get_treemap.lua
    trunk/ntopng/scripts/lua/hello_world.lua
    trunk/ntopng/scripts/lua/host_details.lua
    trunk/ntopng/scripts/lua/host_l4_stats.lua
    trunk/ntopng/scripts/lua/host_stats.lua
    trunk/ntopng/scripts/lua/hosts_geomap.lua
    trunk/ntopng/scripts/lua/hosts_matrix.lua
    trunk/ntopng/scripts/lua/hosts_treemap.lua
    trunk/ntopng/scripts/lua/if_stats.lua
    trunk/ntopng/scripts/lua/iface_flows_sankey.lua
    trunk/ntopng/scripts/lua/iface_hosts_list.lua
    trunk/ntopng/scripts/lua/iface_ndpi_stats.lua
    trunk/ntopng/scripts/lua/inc/footer.lua
    trunk/ntopng/scripts/lua/inc/menu.lua
    trunk/ntopng/scripts/lua/inc/search_host_box.lua
    trunk/ntopng/scripts/lua/index.lua
    trunk/ntopng/scripts/lua/logout.lua
    trunk/ntopng/scripts/lua/modules/lua_utils.lua
    trunk/ntopng/scripts/lua/modules/top_talkers.lua
    trunk/ntopng/scripts/lua/network_load.lua
    trunk/ntopng/scripts/lua/top_asn.lua
    trunk/ntopng/scripts/lua/top_talkers.lua
Log:
Added ability to specify multiple interfaces using -i
Initial work on dumping flows onto a database (SQLite)
Hosts are not persistent across ntopng restarts or when they appear/disappear 
(due to intermittent traffic). Their state is serialized and saved on redis for 
some time (1h currently).


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--
Daniel Baeza
COR TVT
Dpto. Internet y Telefonía TVT
Television Costa Blanca S.L.
Telf. 966190565
WEB: http://www.tvt.es
Correo: [email protected]

--AVISO LEGAL--
En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre de protección de 
datos de carácter personal, se pone en conocimiento del destinatario del 
presente correo electrónico, que los datos incluidos en este mensaje, están 
dirigidos exclusivamente al citado destinatario cuyo nombre aparece en el 
encabezamiento, por lo que si usted no es la persona interesada rogamos nos 
comunique el error de envío y se abstenga de realizar copias del mensaje o de 
los datos contenidos en el mismo o remitirlo o entregarlo a otra persona, 
procediendo a borrarlo de inmediato.
Asimismo le informamos que sus datos de correo han quedado incluidos en nuestra 
base de datos a fin de dirigirle, por este medio, comunicaciones comerciales, 
profesionales e informativas y que usted dispone de los derechos de acceso, 
rectificación, cancelación y especificación de los mismos, derechos que podrá 
hacer efectivos dirigiéndose a Televisión Costa Blanca, S.L., C/ San Policarpo 
41 Bajo. C.P: 03181 Torrevieja (Alicante).

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--
Daniel Baeza
COR TVT
Dpto. Internet y Telefonía TVT
Television Costa Blanca S.L.
Telf. 966190565
WEB: http://www.tvt.es
Correo: [email protected]

--AVISO LEGAL--
En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre de protección de 
datos de carácter personal, se pone en conocimiento del destinatario del 
presente correo electrónico, que los datos incluidos en este mensaje, están 
dirigidos exclusivamente al citado destinatario cuyo nombre aparece en el 
encabezamiento, por lo que si usted no es la persona interesada rogamos nos 
comunique el error de envío y se abstenga de realizar copias del mensaje o de 
los datos contenidos en el mismo o remitirlo o entregarlo a otra persona, 
procediendo a borrarlo de inmediato.
Asimismo le informamos que sus datos de correo han quedado incluidos en nuestra 
base de datos a fin de dirigirle, por este medio, comunicaciones comerciales, 
profesionales e informativas y que usted dispone de los derechos de acceso, 
rectificación, cancelación y especificación de los mismos, derechos que podrá 
hacer efectivos dirigiéndose a Televisión Costa Blanca, S.L., C/ San Policarpo 
41 Bajo. C.P: 03181 Torrevieja (Alicante).

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


--
Daniel Baeza
COR TVT
Dpto. Internet y Telefonía TVT
Television Costa Blanca S.L.
Telf. 966190565
WEB: http://www.tvt.es
Correo: [email protected]

--AVISO LEGAL--
En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre de protección de datos de carácter personal, se pone en conocimiento del destinatario del presente correo electrónico, que los datos incluidos en este mensaje, están dirigidos exclusivamente al citado destinatario cuyo nombre aparece en el encabezamiento, por lo que si usted no es la persona interesada rogamos nos comunique el error de envío y se abstenga de realizar copias del mensaje o de los datos contenidos en el mismo o remitirlo o entregarlo a otra persona, procediendo a borrarlo de inmediato.
Asimismo le informamos que sus datos de correo han quedado incluidos en nuestra 
base de datos a fin de dirigirle, por este medio, comunicaciones comerciales, 
profesionales e informativas y que usted dispone de los derechos de acceso, 
rectificación, cancelación y especificación de los mismos, derechos que podrá 
hacer efectivos dirigiéndose a Televisión Costa Blanca, S.L., C/ San Policarpo 
41 Bajo. C.P: 03181 Torrevieja (Alicante).

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to