Sorry Jac. I made a mistake by saying I was running 2.1.57. It was the one I was trying to compile. So yes I should follow your instructions to compile that version properly.
The latest gdb backtrace relates to running the current stable release. This is the one that has been quietly dieing on me. I posted the gdb output because Burton asked for it. Further to this I have compiled the stable release again with the gcc "-g" option set (hoping to get line number information). I am now running this and will post any other output I get when ntop stops again. thanks dilan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of jac engel Sent: Thursday, February 27, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: RE: [Ntop] Error: Ntop stops after a period of time Dilan, Missed my mail? running 2.1.57 ? Could you fix these compile errors with my fixes ? Jac -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dilan Arumainathan Sent: Wednesday, February 26, 2003 19:20 To: [EMAIL PROTECTED] Subject: [Ntop] Error: Ntop stops after a period of time Here it is - Ntop ran fine for over 72 hours under gdb (longer than it has been by itself). Here is what I got: "C:/WINNT/system32/KERNEL32.dll": error reading line numbers "C:/WINNT/system32/WSOCK32.DLL": error reading line numbers "C:/WINNT/system32/WS2_32.dll": error reading line numbers "C:/WINNT/system32/WS2HELP.dll": error reading line numbers warning: LDR: Automatic DLL Relocation in ntop.exe warning: LDR: Dll packet.dll base 10000000 relocated due to collision with C:\WI NNT\System32\wpcap.dll "C:/WINNT/System32/rnr20.dll": error reading line numbers "C:/WINNT/system32/msafd.dll": error reading line numbers "C:/WINNT/System32/wshtcpip.dll": error reading line numbers Program received signal SIGSEGV, Segmentation fault. [Switching to thread 505.0x1c1] 0x78001648 in _libmsvcrt_a_iname () (gdb) (gdb) bt #0 0x78001648 in _libmsvcrt_a_iname () #1 0x01a3cf20 in ?? () #2 0x0042aa19 in queuePacket () (gdb) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Burton M. Strauss III Sent: Friday, February 21, 2003 5:46 PM To: [EMAIL PROTECTED] Subject: RE: [Ntop] Error: Ntop stops after a period of time Post the output from gdb, esp. the bt full output. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dilan Arumainathan Sent: Friday, February 21, 2003 3:37 PM To: [EMAIL PROTECTED] Subject: [Ntop] Error: Ntop stops after a period of time Hi, I am running Ntop 2.1.57 on WinNT 4.0. It runs for a period of time and then silently stops. I tried running it under Gdb but did not get much out of it. When I ran it with the trace option set to 5 all I saw at the end was this: 21/Feb/2003 10:02:24 [webInterface.c:3024] Started thread (216) for web server. 21/Feb/2003 10:02:24 [main.c:928] Sniffying... 21/Feb/2003 10:02:24 [initialize.c:1293] Started thread (220) for network packet sniffing on \Device\Packet_CpqNF31. 21/Feb/2003 10:02:24 [hash.c:685] Extending hash size [newSize=512][deviceId=0] 21/Feb/2003 10:06:43 [hash.c:685] Extending hash size [newSize=1024][deviceId=0] I have tried to run the program under Gdb but I am not getting much out of that either Hoping that the latest snapshot may have some fixes I grabbed the one today (Friday 21st) and tried compiling it and go the following error when compiling ntop itself. C:\ntop-current\ntop>make -f Makefile.mingw gcc -O -Lc:/MinGW/wpdpack/lib -Lc:/MinGW/lib -L../gdchart0.94c -L../gdchart0 .94c /zlib-1.1.4 -L../gdchart0.94c/gd-1.8.3 -L../gdchart0.94c/gd-1.8.3/libpng-1.2 .4 -o ntop ntop.o ntop_win32.o main.o address.o admin.o dataFormat.o emitter.o glob als-core.o globals-report.o graph.o hash.o http.o initialize.o leaks.o netflow.o pbuf.o plugin.o protocols.o qsort.o regex.o report.o reportUtils.o sessions.o t erm.o traffic.o util.o vendor.o webInterface.o plugins\icmpPlugin.o plugins\last SeenPlugin.o plugins\netflowPlugin.o plugins\nfsPlugin.o plugins\pdaPlugin.o plu gins\sflowPlugin.o version.o -lgdbm -lwpcap -lgdchart -lgd -lpng -lz -lwsock32 main.o(.text+0x2072):main.c: undefined reference to `getopt_long' plugin.o(.text+0x28c):plugin.c: undefined reference to `rrdPluginEntryFctn' make: *** [ntop] Error 1 _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
