Sounds like you are having a gdb problem that's masking whatever the real issue is. With some versions of Linux, you must run as -u root in order to be able to run under gdb.
The message, "Undefined symbol "sendGraphFile" is just a pass through from the OS. Typically this happens when a file is available to ntop in a non-standard location via a --with-xxxxx- option at compile time, but not available at run time in the locations where the loader looks for things (under linux, this is ld.so.conf and various env variables). 2.2 is unsupported. 2.2c is the latest stable, but as Stanley indicated we're focused on the cvs (2.2.98) to get 3.0 finished. Try the cvs and let us know... -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike > Hunter > Sent: Monday, January 12, 2004 4:25 PM > To: [EMAIL PROTECTED] > Subject: [Ntop] More FreeBSD + NTOP Problems (WITH_RRD, 5.1-CURRENT) > > > So, I started putting ntop on another freebsd box in light of > having problems > with my 4.8 box, and didn't get very far. > > The web interface tells me "You are not welcome to use ntop from > blahblah", so > I went looking for whatever config file I need to change (what > file would that > be, btw?)....but I noticed ntop had crashed. Here's what I got > when I fired > it up under gdb...and it crashed when I attempted to contact it: > > bash-2.05b# gdb /usr/local/bin/ntop > GNU gdb 5.2.1 (FreeBSD) > Copyright 2002 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 "i386-undermydesk-freebsd"...(no > debugging symbols found)... > (gdb) set args -w 3000 -W 3001 -u nobody -E > (gdb) run > Starting program: /usr/local/bin/ntop -w 3000 -W 3001 -u nobody -E > Wait please: ntop is coming up... > 12/Jan/2004 14:18:56 **ERROR** External tool test > failed(code=0335). Disabling lsof function. > 12/Jan/2004 14:18:56 ntop v.2.2 MT (SSL) > [i386-unknown-freebsd5.1] (01/12/04 01:45:19 PM build) > 12/Jan/2004 14:18:56 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]> > 12/Jan/2004 14:18:56 Get the freshest ntop from http://www.ntop.org/ > 12/Jan/2004 14:18:56 Initializing ntop > 12/Jan/2004 14:18:56 SSL: Initializing... > 12/Jan/2004 14:18:56 SSL_PRNG: Automatically initialized! > 12/Jan/2004 14:18:56 SSL initialized successfully > 12/Jan/2004 14:18:56 Initializing gdbm databases > 12/Jan/2004 14:18:56 Listening on [bge0] > 12/Jan/2004 14:18:56 Loading Plugins > 12/Jan/2004 14:18:56 Searching for plugins in /usr/local/lib/ntop/plugins > 12/Jan/2004 14:18:56 ICMP: Welcome to icmpWatchPlugin. (C) 1999 > by Luca Deri > 12/Jan/2004 14:18:56 LASTSEEN: Welcome to LastSeenWatchPlugin. > (C) 1999 by Andrea Marangoni > 12/Jan/2004 14:18:56 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri > 12/Jan/2004 14:18:56 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri > 12/Jan/2004 14:18:56 PDA: Welcome to PDAPlugin. (C) 2001-2002 by > L.Deri and W.Brock > 12/Jan/2004 14:18:56 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca Deri > 12/Jan/2004 14:18:56 **WARNING** Unable to load plugin > '/usr/local/lib/ntop/plugins/rrdPlugin.so' > 12/Jan/2004 14:18:56 **WARNING** Message is > '/usr/local/lib/ntop/plugins/rrdPlugin.so: Undefined symbol > "sendGraphFile"' > 12/Jan/2004 14:18:56 Plugins loaded... continuing with initialization > 12/Jan/2004 14:18:56 Resetting traffic statistics... > 12/Jan/2004 14:18:56 VENDOR: Loading MAC address table. > 12/Jan/2004 14:18:56 VENDOR: Checking './specialMAC.txt' > 12/Jan/2004 14:18:56 VENDOR: Checking '/usr/local/etc/ntop/specialMAC.txt' > 12/Jan/2004 14:18:56 VENDOR: ...found, 61 lines, loaded 59 records! > 12/Jan/2004 14:18:56 VENDOR: Checking './oui.txt' > 12/Jan/2004 14:18:56 VENDOR: Checking '/usr/local/etc/ntop/oui.txt' > 12/Jan/2004 14:18:56 VENDOR: ...found, 70 lines, loaded 62 records! > 12/Jan/2004 14:18:56 I18N: This instance of ntop does not support > multiple languages > 12/Jan/2004 14:18:56 IP2CC: Looking for IP address <-> Country > code mapping file > 12/Jan/2004 14:18:57 IP2CC: 47455 records read > 12/Jan/2004 14:18:57 THREADMGMT: Started thread (134573056) for > network packet analyser > 12/Jan/2004 14:18:57 THREADMGMT: Started thread (137827328) for > idle hosts detection > 12/Jan/2004 14:18:57 THREADMGMT: Started thread (137828352) for > DNS address resolution > 12/Jan/2004 14:18:57 Calling plugin start functions (if any) > 12/Jan/2004 14:18:57 WEB: Initializing > 12/Jan/2004 14:18:57 Note: Reporting device set to 0[bge0] > 12/Jan/2004 14:18:57 WEB: Waiting for HTTP connections on port 3000 > 12/Jan/2004 14:18:57 WEB: Waiting for HTTPS (SSL) connections on port 3001 > 12/Jan/2004 14:18:57 THREADMGMT: Started thread (137829376) for web server > 12/Jan/2004 14:18:57 Sniffying... > 12/Jan/2004 14:18:57 THREADMGMT: Started thread (137834496) for > network packet sniffing on bge0 > 12/Jan/2004 14:18:57 THREADMGMT: Packet processor thread > (134573056) started... > 12/Jan/2004 14:18:57 THREADMGMT: Idle Scan thread (137827328) started > 12/Jan/2004 14:18:57 THREADMGMT: Address resolution thread started... > 12/Jan/2004 14:18:57 THREADMGMT: web connections thread > (137829376) started... > 12/Jan/2004 14:18:57 THREADMGMT: pcap dispatch thread started... > > Program received signal SIGTRAP, Trace/breakpoint trap. > Cannot remove breakpoints because program is no longer writable. > It might be running in another process. > Further execution is probably impossible. > 0x080480c0 in ?? () > Error accessing memory address 0x28206250: Bad address. > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
