-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gary Gatten wrote: > Enable verbose logging and if necessary run in the debugger as outlined > in the FAQ. > > Gary > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Abhishek Singh > Sent: Tuesday, March 31, 2009 12:10 PM > To: [email protected] > Subject: [Ntop] Regarding NTOP segmentation fault > > Dear All, > I tried to install ntop on fedora 10 (x86) using the rpmfusion > repository and on centos 5.2 (x86_64) using epel repository. In both the > cases, the installation went fine. But after using ntop for a few > minutes, it crashed with a segmentation fault without leaving any clue > why it happened. Is there any solution to this problem? Please let me > know. >
<font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop Dear Gary and all, I later tried to run ntop through gdb. While running, ntop left a SISSEGV signal and crashed. It shows problem in util.c. I've attached the gdb trace along with this mail. May be that will help you to understand. Moreover, when I try to compile ntop from its source, it does not work at all. When I run "./autogen.sh", it halts by saying "configure: error: cannot find macro directory `m4'". The command "rpm - -q m4" returns "m4-1.4.5-3.el5.1", that means m4 is installed. I tried to re-download the source tarball and install it, but all in vain. The same problem occurred. Thank You. - -- Regards, Abhishek Singh http://www.asingh.com.np - ------------------------ Fedora 10 Rocks - ------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAknS2D8ACgkQCotp4ohX08GOnACcD7TkSAJ4Ff4PTU4uz2HqtWty FP4AoJ0lG5nhoLsrJxwPn17wVW7dtFH3 =VfzL -----END PGP SIGNATURE-----
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) run Starting program: /usr/bin/ntop (no debugging symbols found) [Thread debugging using libthread_db enabled] Tue Mar 31 23:55:27 2009 NOTE: Interface merge enabled by default Tue Mar 31 23:55:27 2009 Initializing gdbm databases [New Thread 47296110018880 (LWP 23964)] Tue Mar 31 23:55:27 2009 ntop will be started as user nobody Tue Mar 31 23:55:27 2009 ntop v.3.3.8 (Dag Apt RPM Repository) Tue Mar 31 23:55:27 2009 Configured on Oct 6 2008 1:55:19, built on Oct 6 2008 01:57:07. Tue Mar 31 23:55:27 2009 Copyright 1998-2007 by Luca Deri <[email protected]> Tue Mar 31 23:55:27 2009 Get the freshest ntop from http://www.ntop.org/ Tue Mar 31 23:55:27 2009 NOTE: ntop is running from '/usr/bin' Tue Mar 31 23:55:27 2009 NOTE: (but see warning on man page for the --instance parameter) Tue Mar 31 23:55:27 2009 NOTE: ntop libraries are in '/usr/lib64' Tue Mar 31 23:55:27 2009 Initializing ntop Tue Mar 31 23:55:27 2009 No patterns to load: protocol guessing disabled. Tue Mar 31 23:55:27 2009 Checking eth1 for additional devices Tue Mar 31 23:55:27 2009 Resetting traffic statistics for device eth1 Tue Mar 31 23:55:27 2009 Initializing device eth1 (0) Tue Mar 31 23:55:27 2009 DLT: Device 0 [eth1] is 1, mtu 1514, header 14 Tue Mar 31 23:55:27 2009 Initializing gdbm databases Tue Mar 31 23:55:27 2009 VENDOR: Loading MAC address table. Tue Mar 31 23:55:27 2009 VENDOR: Checking for MAC address table file Tue Mar 31 23:55:27 2009 VENDOR: File '/etc/ntop/specialMAC.txt.gz' does not need to be reloaded Tue Mar 31 23:55:27 2009 VENDOR: ntop continues ok Tue Mar 31 23:55:27 2009 VENDOR: Checking for MAC address table file Tue Mar 31 23:55:27 2009 VENDOR: File '/etc/ntop/oui.txt.gz' does not need to be reloaded Tue Mar 31 23:55:27 2009 VENDOR: ntop continues ok Tue Mar 31 23:55:27 2009 Fingerprint: Loading signature file Tue Mar 31 23:55:27 2009 Fingerprint: Checking for Fingerprint file... file Tue Mar 31 23:55:27 2009 Fingerprint: Loading file '/etc/ntop/etter.finger.os.gz' Tue Mar 31 23:55:27 2009 Fingerprint: ...loaded 0 records Tue Mar 31 23:55:27 2009 ASN: Checking for Autonomous System Number table file Tue Mar 31 23:55:27 2009 **WARNING** ASN: Unable to open file 'AS-list.txt' Tue Mar 31 23:55:27 2009 IP2CC: Checking for IP address <-> Country Code mapping file Tue Mar 31 23:55:27 2009 IP2CC: Loading file '/etc/ntop/p2c.opt.table.gz' Tue Mar 31 23:55:28 2009 IP2CC: ...found 52395 lines Tue Mar 31 23:55:28 2009 Database support not compiled into ntop Tue Mar 31 23:55:28 2009 Initializing external applications [New Thread 1105348928 (LWP 23967)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1105348928]: SFP: Started thread for fingerprinting Tue Mar 31 23:55:28 2009 THREADMGMT[t1105348928]: SFP: Fingerprint scan thread starting [p23964] [New Thread 1115838784 (LWP 23968)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1115838784]: SIH: Started thread for idle hosts detection [New Thread 1126328640 (LWP 23969)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1115838784]: SIH: Idle host scan thread starting [p23964] Tue Mar 31 23:55:28 2009 THREADMGMT[t1126328640]: DNSAR(1): Started thread for DNS address resolution Tue Mar 31 23:55:28 2009 THREADMGMT[t1126328640]: DNSAR(1): Address resolution thread running [New Thread 1136818496 (LWP 23970)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1136818496]: DNSAR(2): Started thread for DNS address resolution Tue Mar 31 23:55:28 2009 THREADMGMT[t1136818496]: DNSAR(2): Address resolution thread running [New Thread 1147308352 (LWP 23971)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1147308352]: DNSAR(3): Started thread for DNS address resolution Tue Mar 31 23:55:28 2009 Calling plugin start functions (if any) Tue Mar 31 23:55:28 2009 SSL is present but https is disabled: use -W <https port> for enabling it Tue Mar 31 23:55:28 2009 INITWEB: Initializing web server Tue Mar 31 23:55:28 2009 INITWEB: Initializing TCP/IP socket connections for web server Tue Mar 31 23:55:28 2009 INITWEB: Initialized socket, port 3000, address (any) Tue Mar 31 23:55:28 2009 INITWEB: Waiting for HTTP connections on port 3000 Tue Mar 31 23:55:28 2009 INITWEB: Starting web server Tue Mar 31 23:55:28 2009 THREADMGMT[t1147308352]: DNSAR(3): Address resolution thread running [New Thread 1157798208 (LWP 23972)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1157798208]: INITWEB: Started thread for web server Tue Mar 31 23:55:28 2009 Listening on [eth1] Tue Mar 31 23:55:28 2009 THREADMGMT[t1157798208]: WEB: Server connection thread starting [p23964] Tue Mar 31 23:55:28 2009 Loading Plugins Tue Mar 31 23:55:28 2009 Searching for plugins in /usr/lib64/ntop/plugins Tue Mar 31 23:55:28 2009 Note: SIGPIPE handler set (ignore) Tue Mar 31 23:55:28 2009 THREADMGMT[t1157798208]: WEB: Server connection thread running [p23964] Tue Mar 31 23:55:28 2009 WEB: ntop's web server is now processing requests Tue Mar 31 23:55:28 2009 CPACKET: Welcome to cPacket.(C) 2008 by Luca Deri Tue Mar 31 23:55:28 2009 LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni Tue Mar 31 23:55:28 2009 RRD: Welcome to Round-Robin Databases. (C) 2002-07 by Luca Deri. Tue Mar 31 23:55:28 2009 NETFLOW: Welcome to NetFlow.(C) 2002-08 by Luca Deri Tue Mar 31 23:55:28 2009 ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri Tue Mar 31 23:55:28 2009 SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri Tue Mar 31 23:55:28 2009 PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock Tue Mar 31 23:55:28 2009 Remote: Welcome to Remote. (C) 2006-07 by L.Deri Tue Mar 31 23:55:28 2009 Calling plugin start functions (if any) Tue Mar 31 23:55:28 2009 RRD: Welcome to the RRD plugin Tue Mar 31 23:55:28 2009 RRD: Mask for new directories is 0700 Tue Mar 31 23:55:28 2009 RRD: Mask for new files is 0066 Tue Mar 31 23:55:28 2009 RRD_DEBUG: Parameters: Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpInterval 300 seconds Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpShortInterval 10 seconds Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpHours 72 hours by 300 seconds Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpDays 90 days by hour Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpMonths 36 months by day Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpDomains no Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpFlows no Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpSubnets no Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpHosts no Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpInterfaces yes Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpASs no Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpMatrix no Tue Mar 31 23:55:28 2009 RRD_DEBUG: dumpDetail medium Tue Mar 31 23:55:28 2009 RRD_DEBUG: hostsFilter Tue Mar 31 23:55:28 2009 RRD_DEBUG: rrdPath /var/ntop/rrd [normal] Tue Mar 31 23:55:28 2009 RRD_DEBUG: rrdPath /var/ntop/rrd [dynamic/volatile] Tue Mar 31 23:55:28 2009 RRD_DEBUG: umask 0066 Tue Mar 31 23:55:28 2009 RRD_DEBUG: DirPerms 0700 [New Thread 1168288064 (LWP 23973)] Tue Mar 31 23:55:28 2009 THREADMGMT: RRD: Started thread (t1168288064) for data collection Tue Mar 31 23:55:28 2009 INIT: Created pid file (/var/run/ntop.pid) Tue Mar 31 23:55:28 2009 THREADMGMT[t47296110018880]: ntop RUNSTATE: INITNONROOT(3) Tue Mar 31 23:55:28 2009 Now running as requested user 'nobody' (99:99) Tue Mar 31 23:55:28 2009 Note: Reporting device initally set to 0 [eth1] (merged) Tue Mar 31 23:55:28 2009 THREADMGMT[t47296110018880]: ntop RUNSTATE: RUN(4) Tue Mar 31 23:55:28 2009 THREADMGMT[t1168288064]: RRD: Data collection thread starting [p23964] [New Thread 1178777920 (LWP 23974)] Tue Mar 31 23:55:28 2009 THREADMGMT[t1178777920]: NPS(1): Started thread for network packet sniffing [eth1] Tue Mar 31 23:55:28 2009 THREADMGMT[t1178777920]: NPS(eth1): pcapDispatch thread starting [p23964] Tue Mar 31 23:55:28 2009 THREADMGMT[t1178777920]: NPS(eth1): pcapDispatch thread running [p23964] Tue Mar 31 23:55:28 2009 THREADMGMT[t1115838784]: SIH: Idle host scan thread running [p23964] Tue Mar 31 23:55:28 2009 THREADMGMT[t1105348928]: SFP: Fingerprint scan thread running [p23964] Tue Mar 31 23:55:33 2009 CPACKET: Welcome to the cpacket plugin Tue Mar 31 23:55:33 2009 CPACKET: no devices to initialize Tue Mar 31 23:55:33 2009 NOTE: -L | --use-syslog=facility not specified, child processes will log to the default (24). [Detaching after fork from child process 23975. (Try `set detach-on-fork off'.)] [Detaching after fork from child process 23976.] [Detaching after fork from child process 23977.] [Detaching after fork from child process 23978.] [Detaching after fork from child process 23979.] [Detaching after fork from child process 23980.] [Detaching after fork from child process 23981.] [Detaching after fork from child process 23982.] [Detaching after fork from child process 23983.] [New Thread 1189267776 (LWP 23984)] Tue Mar 31 23:55:38 2009 THREADMGMT[t1189267776]: RRD: Started thread for throughput data collection Tue Mar 31 23:55:38 2009 THREADMGMT[t1189267776]: RRD: Throughput data collection: Thread starting [p23964] Tue Mar 31 23:55:38 2009 THREADMGMT[t1189267776]: RRD: Throughput data collection: Thread running [p23964] Tue Mar 31 23:55:38 2009 THREADMGMT[t1168288064]: RRD: Data collection thread running [p23964] [Detaching after fork from child process 23985.] [Detaching after fork from child process 23986.] [Detaching after fork from child process 23988.] [Detaching after fork from child process 23989.] [Detaching after fork from child process 23990.] [Detaching after fork from child process 23991.] [Detaching after fork from child process 23992.] [Detaching after fork from child process 23993.] [Detaching after fork from child process 23994.] [Detaching after fork from child process 23996.] [Detaching after fork from child process 23997.] [Detaching after fork from child process 23998.] [Detaching after fork from child process 23999.] [Detaching after fork from child process 24000.] [Detaching after fork from child process 24001.] [Detaching after fork from child process 24002.] [Detaching after fork from child process 24003.] [Detaching after fork from child process 24004.] [Detaching after fork from child process 24005.] [Detaching after fork from child process 24006.] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1178777920 (LWP 23974)] incrementTrafficCounter (ctr=0x50, value=1) at util.c:4281 4281 util.c: No such file or directory. in util.c
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
