You need to capture the failure point information - running under gdb. Instructions are in the FAQ at the bottom.
-----Burton (Please note that I am speaking only as an individual and not as a representative of my employer) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 11:11 AM To: [email protected] Subject: [Ntop-dev] Netflow causing Segmentation fault on Mandriva 2006 As soon as I configure a NetFlow device and restart Ntop, I am getting a Segmentation fault. Just activating the NetFlow pluggin will not cause the error. I can not seam to locate the reason for this and woul appreciate some help. Thanks in adavance ! [EMAIL PROTECTED] ntop]# ntop Wed Jul 19 16:05:41 2006 NOTE: Interface merge enabled by default Wed Jul 19 16:05:41 2006 Initializing gdbm databases Wed Jul 19 16:05:41 2006 ntop will be started as user nobody Wed Jul 19 16:05:41 2006 ntop v.3.2.3 Wed Jul 19 16:05:41 2006 Configured on Jul 19 2006 15:03:23, built on Jul 19 2006 15:58:20. Wed Jul 19 16:05:41 2006 Copyright 1998-2006 by Luca Deri <[EMAIL PROTECTED]> Wed Jul 19 16:05:41 2006 Get the freshest ntop from http://www.ntop.org/ Wed Jul 19 16:05:41 2006 NOTE: ntop is running from 'ntop' Wed Jul 19 16:05:41 2006 NOTE: (but see warning on man page for the --instance parameter) Wed Jul 19 16:05:41 2006 NOTE: ntop libraries are in '/usr/local/lib' Wed Jul 19 16:05:41 2006 Initializing ntop Wed Jul 19 16:05:41 2006 No patterns to load: protocol guessing disabled. Wed Jul 19 16:05:41 2006 Checking eth0 for additional devices Wed Jul 19 16:05:41 2006 Added virtual interface: 'eth0:0' Wed Jul 19 16:05:41 2006 Resetting traffic statistics for device eth0 Wed Jul 19 16:05:41 2006 DLT: Device 0 [eth0] is 1, mtu 1514, header 14 Wed Jul 19 16:05:41 2006 Initializing device eth0 (0) Wed Jul 19 16:05:41 2006 Initializing gdbm databases Wed Jul 19 16:05:41 2006 VENDOR: Loading MAC address table. Wed Jul 19 16:05:41 2006 VENDOR: Checking for MAC address table file Wed Jul 19 16:05:41 2006 VENDOR: File '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded Wed Jul 19 16:05:41 2006 VENDOR: ntop continues ok Wed Jul 19 16:05:41 2006 VENDOR: Checking for MAC address table file Wed Jul 19 16:05:41 2006 VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' does not need to be reloaded Wed Jul 19 16:05:41 2006 VENDOR: ntop continues ok Wed Jul 19 16:05:41 2006 Fingerprint: Loading signature file Wed Jul 19 16:05:41 2006 Fingerprint: Checking for Fingerprint file... file Wed Jul 19 16:05:41 2006 Fingerprint: Loading file '/usr/local/etc/ntop/etter.finger.os.gz' Wed Jul 19 16:05:41 2006 Fingerprint: ...loaded 1765 records Wed Jul 19 16:05:41 2006 ASN: Checking for Autonomous System Number table file Wed Jul 19 16:05:41 2006 **WARNING** ASN: Unable to open file 'AS-list.txt' Wed Jul 19 16:05:41 2006 I18N: This instance of ntop does not support multiple languages Wed Jul 19 16:05:41 2006 IP2CC: Checking for IP address <-> Country Code mapping file Wed Jul 19 16:05:41 2006 IP2CC: Loading file '/usr/local/etc/ntop/p2c.opt.table.gz' Wed Jul 19 16:05:42 2006 IP2CC: ...found 52395 lines Wed Jul 19 16:05:42 2006 GDVERCHK: Guessing at libgd version Wed Jul 19 16:05:42 2006 GDVERCHK: ... as 2.0.21+ Wed Jul 19 16:05:42 2006 **ERROR** Failed to connect to MySQL: Access denied for user 'root'@'localhost' (using password: NO) [localhost:root::ntop] Wed Jul 19 16:05:42 2006 Initializing external applications Wed Jul 19 16:05:42 2006 THREADMGMT[t3068156848]: NPA: Started thread for network packet analyzer (eth0) Wed Jul 19 16:05:42 2006 THREADMGMT[t3016031152]: NPA: Started thread for network packet analyzer (eth0:0) Wed Jul 19 16:05:42 2006 THREADMGMT[t3016031152]: NPA: network packet analyzer (packet processor) thread running [p17158] Wed Jul 19 16:05:42 2006 THREADMGMT[t3068156848]: NPA: network packet analyzer (packet processor) thread running [p17158] Wed Jul 19 16:05:42 2006 THREADMGMT[t3007638448]: SFP: Started thread for fingerprinting Wed Jul 19 16:05:42 2006 THREADMGMT[t2999245744]: SIH: Started thread for idle hosts detection Wed Jul 19 16:05:42 2006 THREADMGMT[t2990853040]: DNSAR(1): Started thread for DNS address resolution Wed Jul 19 16:05:42 2006 Calling plugin start functions (if any) Wed Jul 19 16:05:42 2006 SSL is present but https is disabled: use -W <https port> for enabling it Wed Jul 19 16:05:42 2006 INITWEB: Initializing web server Wed Jul 19 16:05:42 2006 THREADMGMT[t3007638448]: SFP: Fingerprint scan thread starting [p17158] Wed Jul 19 16:05:42 2006 INITWEB: Initializing TCP/IP socket connections for web server Wed Jul 19 16:05:42 2006 THREADMGMT[t2990853040]: DNSAR(1): Address resolution thread running [p17158] Wed Jul 19 16:05:42 2006 THREADMGMT[t2999245744]: SIH: Idle host scan thread starting [p17158] Wed Jul 19 16:05:42 2006 INITWEB: Initialized socket, port 3000, address (any) Wed Jul 19 16:05:42 2006 INITWEB: Waiting for HTTP connections on port 3000 Wed Jul 19 16:05:42 2006 INITWEB: Starting web server Wed Jul 19 16:05:42 2006 THREADMGMT[t2981100464]: INITWEB: Started thread for web server Wed Jul 19 16:05:42 2006 Listening on [eth0,eth0:0] Wed Jul 19 16:05:42 2006 Loading Plugins Wed Jul 19 16:05:42 2006 Searching for plugins in /usr/local/lib/ntop/plugins Wed Jul 19 16:05:42 2006 THREADMGMT[t2981100464]: WEB: Server connection thread starting [p17158] Wed Jul 19 16:05:42 2006 Note: SIGPIPE handler set (ignore) Wed Jul 19 16:05:42 2006 THREADMGMT[t2981100464]: WEB: Server connection thread running [p17158] Wed Jul 19 16:05:42 2006 WEB: ntop's web server is now processing requests Wed Jul 19 16:05:42 2006 ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri Wed Jul 19 16:05:42 2006 LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni Wed Jul 19 16:05:42 2006 NETFLOW: Welcome to NetFlow.(C) 2002-06 by Luca Deri Wed Jul 19 16:05:42 2006 PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock Wed Jul 19 16:05:42 2006 RRD: Welcome to Round-Robin Databases. (C) 2002-06 by Luca Deri. Wed Jul 19 16:05:42 2006 SNMP: Welcome to SNMP. (C) 2004 by F.Fusco and G.Giardina Wed Jul 19 16:05:42 2006 SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri Wed Jul 19 16:05:42 2006 XMLDUMP: Welcome to XML data dump. (C) 2003-2004 by Burton Strauss Wed Jul 19 16:05:42 2006 Calling plugin start functions (if any) Wed Jul 19 16:05:42 2006 NETFLOW: Welcome to the netFlow plugin Wed Jul 19 16:05:42 2006 NETFLOW: initializing '2' devices Wed Jul 19 16:05:42 2006 NETFLOW: createNetFlowDevice(2) Wed Jul 19 16:05:42 2006 Creating dummy interface, 'NetFlow-device.2' Wed Jul 19 16:05:42 2006 NETFLOW: initializing deviceId=2 Wed Jul 19 16:05:42 2006 NETFLOW: White list initialized to '' Wed Jul 19 16:05:42 2006 NETFLOW: Black list initialized to '' Wed Jul 19 16:05:42 2006 Initializing device NetFlow-device.2 (2) Wed Jul 19 16:05:42 2006 NETFLOW: createNetFlowDevice created device 2 Wed Jul 19 16:05:42 2006 RRD: Welcome to the RRD plugin Wed Jul 19 16:05:42 2006 RRD: Mask for new directories is 0700 Wed Jul 19 16:05:42 2006 RRD: Mask for new files is 0066 Wed Jul 19 16:05:42 2006 RRD_DEBUG: Parameters: Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpInterval 300 seconds Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpShortInterval 10 seconds Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpHours 72 hours by 300 seconds Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpDays 90 days by hour Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpMonths 36 months by day Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpDomains no Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpFlows no Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpHosts no Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpInterfaces yes Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpMatrix no Wed Jul 19 16:05:42 2006 RRD_DEBUG: dumpDetail high Wed Jul 19 16:05:42 2006 RRD_DEBUG: hostsFilter Wed Jul 19 16:05:42 2006 RRD_DEBUG: rrdPath /usr/local/var/ntop/rrd Wed Jul 19 16:05:42 2006 RRD_DEBUG: umask 0066 Wed Jul 19 16:05:42 2006 RRD_DEBUG: DirPerms 0700 Wed Jul 19 16:05:42 2006 THREADMGMT: RRD: Started thread (t3049753520) for data collection Wed Jul 19 16:05:42 2006 THREADMGMT[t3049753520]: RRD: Data collection thread starting [p17158] Segmentation fault __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ 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
