You need to run under gdb (or a similar debugger) and capture the stack trace and key variable values at the time of failure.
Check the FAQs at http://snapshot.ntop.org for instructions. I also have an automatic backtrace patch in development and am looking for a beta tester. Contact me off-list if you want to volunteer... -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Behrens, Stefan Sent: Wednesday, February 27, 2002 1:42 AM To: Ntop-Mailingliste (E-Mail) Subject: [Ntop] Still problems with ntop on Solaris 7, coredump Hi, I still have trouble with ntop stable release 2.0 and the current cvs's. The release compiles fine but stops working after a few seconds: Wait please: ntop is coming up... 27/Feb/2002 08:30:01 SSL is present but https is disabled: use -W <https port> for enabling it 27/Feb/2002 08:30:01 Initializing IP services... 27/Feb/2002 08:30:01 Initializing SSL... 27/Feb/2002 08:30:01 Initializing GDBM... 27/Feb/2002 08:30:01 Initializing network devices... 27/Feb/2002 08:30:01 ntop v.2.0.0 MT (SSL) [sparc-sun-solaris2.7] (02/27/02 08:21:47 AM build) 27/Feb/2002 08:30:01 Listening on [ge0] 27/Feb/2002 08:30:01 Copyright 1998-2001 by Luca Deri <[EMAIL PROTECTED]> 27/Feb/2002 08:30:01 Get the freshest ntop from http://www.ntop.org/ 27/Feb/2002 08:30:01 Initializing... 27/Feb/2002 08:30:01 Loading plugins (if any)... 27/Feb/2002 08:30:01 Searching plugins in /usr/local/lib/ntop/plugins 27/Feb/2002 08:30:01 Welcome to arpWatchPlugin. (C) 1999 by Luca Deri. 27/Feb/2002 08:30:01 Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri. 27/Feb/2002 08:30:01 Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni. 27/Feb/2002 08:30:01 ERROR: accessMutex() call with a NULL mutex [lastSeenPlugin.c:418] 27/Feb/2002 08:30:01 ERROR: releaseMutex() call with a NULL mutex [lastSeenPlugin.c:427] 27/Feb/2002 08:30:01 Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri. 27/Feb/2002 08:30:01 Welcome to ntopRmon. (C) 2000 by Luca Deri. 27/Feb/2002 08:30:01 WARNING: plugin disabled [missing NET-SNMP] 27/Feb/2002 08:30:01 Welcome to WAPPlugin. (C) 2000 by Luca Deri. 27/Feb/2002 08:30:01 WARNING: For security reasons it is STRONGLY recommended to 27/Feb/2002 08:30:01 WARNING: run ntop as unprivileged user by using the -u option! 27/Feb/2002 08:30:01 Resetting traffic statistics... 27/Feb/2002 08:30:01 Started thread (4) for network packet analyser. 27/Feb/2002 08:30:01 Started thread (5) for host traffic statistics. 27/Feb/2002 08:30:01 Started thread (6) for throughput update. 27/Feb/2002 08:30:01 Started thread (8) for idle hosts detection. 27/Feb/2002 08:30:01 Started thread (9) for idle TCP sessions detection. 27/Feb/2002 08:30:01 Started thread (10) for DNS address resolution. 27/Feb/2002 08:30:01 Started thread (11) for address purge. 27/Feb/2002 08:30:01 Initializing plugins (if any)... 27/Feb/2002 08:30:01 Waiting for HTTP connections on port 3000... 27/Feb/2002 08:30:01 Sniffying... 27/Feb/2002 08:30:01 Started thread (13) for network packet sniffing on ge0. 27/Feb/2002 08:30:02 Extending hash: [old=32, new=48] 27/Feb/2002 08:30:03 Extending hash: [old=48, new=72] 27/Feb/2002 08:30:05 Extending hash: [old=72, new=108] 27/Feb/2002 08:30:12 Extending hash: [old=108, new=162] 27/Feb/2002 08:30:24 Extending hash: [old=162, new=242] 27/Feb/2002 08:31:08 Extending TCP hash [new size: 64] 27/Feb/2002 08:31:10 Extending hash: [old=242, new=362] ./startntop.sh[3]: 21040 Segmentation Fault(coredump) I compiled with flags --disable-plugins --enable-threads=no I also tested the current cvs but these will not compile. The Solaris box : SunOS tivoliham2 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-4 Does anybody know where the problem might be ? Does anybody ever successful run ntop on solaris for a longer time without crashing ? Regards, Stefan Behrens Airbus Deutschland GmbH OITO13, IT Server Operation Enterprise Servers Germany Email: [EMAIL PROTECTED] _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop
