1. Don't know what log you are talking about. Just pasted output from ntop with debug switch on, and thought that would make some kind of sense, but there is obviously not much info on why ntop shuts down there.
2. On other mailing lists they whine about line breaks over 80, so it's kind of hard to remember to use different line break settings for each mailing list. 3. Followed your advice and compiled the source instead. Read through the output from ./configure, which only mentioned xmldump plugin wouldn't work. Not using it anyway, so went on and gmake -> gmake install, and ntop has been running since. Thanks a lot for the help. I guess all the problems with freebsd and ntop, i have been reading about, is due to bad port maintenance. /Nikolaj -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton Strauss Sent: 8. maj 2006 22:55 To: [email protected] Subject: RE: [Ntop] You are not welcome to use ntop from 192.168.0.10 onfreebsd4.11 Release P17 (1) Please show us the actual log message you are receiving. (2) Please put line breaks in the log extract - nobody really cares to try and puzzle them out of 100s of lines. (3) Use the real ntop source - we really don't know what version somebody's 'port' or package is - so we really only support the vanilla ntop source. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, May 08, 2006 2:14 PM To: [email protected] Subject: [Ntop] You are not welcome to use ntop from 192.168.0.10 on freebsd4.11 Release P17 Hi, Installed NTOP from ports, but when i try to access the web interface, i got the mentioned error. I replaced my -d(daemon) option with -K(debug). >$ sudo ntop -a /var/log/ntop.web.log -c -K -g -M -m >192.168.0.0/255.255.255.0 -i dc0 -w 192.168.0.1:3000 Mon May 8 20:32:32 2006 NOTE: Interface merge enabled by default Mon May 8 20:32:32 2006 Initializing gdbm databases Mon May 8 20:32:32 2006 NOTE: Interface merge disabled due to command line switch Mon May 8 20:32:32 2006 ntop will be started as user nobody Mon May 8 20:32:32 2006 ntop v.3.2 SourceForge .tgz Mon May 8 20:32:32 2006 Configured on May 8 2006 20:10:19, built on May 8 2006 20:12:57. Mon May 8 20:32:32 2006 Copyright 1998-2005 by Luca Deri <[EMAIL PROTECTED]> Mon May 8 20:32:32 2006 Get the freshest ntop from http://www.ntop.org/ Mon May 8 20:32:32 2006 NOTE: ntop is running from 'ntop' Mon May 8 20:32:32 2006 NOTE: (but see warning on man page for the --instance parameter) Mon May 8 20:32:32 2006 Initializing ntop Mon May 8 20:32:32 2006 Checking dc0 for additional devices Mon May 8 20:32:32 2006 Resetting traffic statistics for device dc0 Mon May 8 20:32:32 2006 DLT: Device 0 [dc0] is 1, mtu 1514, header 14 Mon May 8 20:32:32 2006 Initializing gdbm databases Mon May 8 20:32:32 2006 VENDOR: Loading MAC address table. Mon May 8 20:32:32 2006 VENDOR: Checking for MAC address table file Mon May 8 20:32:32 2006 VENDOR: File '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded Mon May 8 20:32:32 2006 VENDOR: ntop continues ok Mon May 8 20:32:32 2006 VENDOR: Checking for MAC address table file Mon May 8 20:32:32 2006 VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' does not need to be reloaded Mon May 8 20:32:32 2006 VENDOR: ntop continues ok Mon May 8 20:32:32 2006 Fingeprint: Loading signature file. Mon May 8 20:32:33 2006 Fingeprint: ...loaded 1697 records Mon May 8 20:32:33 2006 -m: Discarded unnecessary parameter 192.168.0.0/24 - this is the local network Mon May 8 20:32:33 2006 ASN: Checking for Autonomous System Number table file Mon May 8 20:32:33 2006 **WARNING** ASN: Unable to open file 'AS-list.txt' Mon May 8 20:32:33 2006 I18N: This instance of ntop does not support multiple languages Mon May 8 20:32:33 2006 IP2CC: Checking for IP address <-> Country Code mapping file Mon May 8 20:32:33 2006 IP2CC: Loading file '/usr/local/etc/ntop/p2c.opt.table.gz' Mon May 8 20:32:36 2006 IP2CC: ...found 52395 lines Mon May 8 20:32:36 2006 GDVERCHK: Guessing at libgd version Mon May 8 20:32:36 2006 GDVERCHK: ... as 2.0.21+ Mon May 8 20:32:36 2006 Initializing external applications Mon May 8 20:32:36 2006 THREADMGMT[t134588416]: NPA: Started thread for network packet analyzer Mon May 8 20:32:36 2006 THREADMGMT[t143241216]: SFP: Started thread for fingerprinting Mon May 8 20:32:36 2006 THREADMGMT[t143242240]: SIH: Started thread for idle hosts detection Mon May 8 20:32:36 2006 THREADMGMT[t143243264]: DNSAR(1): Started thread for DNS address resolution Mon May 8 20:32:36 2006 Calling plugin start functions (if any) Mon May 8 20:32:36 2006 SSL is present but https is disabled: use -W <https port> for enabling it Mon May 8 20:32:36 2006 INITWEB: Initializing web server Mon May 8 20:32:36 2006 INITWEB: Initializing tcp/ip socket connections for web server Mon May 8 20:32:36 2006 INITWEB: Converted address '192.168.0.1' - binding to the specific interface Mon May 8 20:32:36 2006 INITWEB: Initialized socket, port 3000, address 192.168.0.1 Mon May 8 20:32:36 2006 INITWEB: Waiting for HTTP connections on 192.168.0.1 port 3000 Mon May 8 20:32:36 2006 INITWEB: Starting web server Mon May 8 20:32:36 2006 THREADMGMT[t143244288]: INITWEB: Started thread for web server Mon May 8 20:32:36 2006 Listening on [dc0] Mon May 8 20:32:36 2006 Loading Plugins Mon May 8 20:32:36 2006 Searching for plugins in /usr/local/lib/ntop/plugins Mon May 8 20:32:36 2006 ICMP: Welcome to ICMP Watch. (C) 1999-2005 by Luca Deri Mon May 8 20:32:36 2006 LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni Mon May 8 20:32:36 2006 NETFLOW: Welcome to NetFlow.(C) 2002-05 by Luca Deri Mon May 8 20:32:36 2006 PDA: Welcome to PDA. (C) 2001-2005 by L.Deri and W.Brock Mon May 8 20:32:36 2006 THREADMGMT[t134588416]: NPA: network packet analyzer (packet processor) thread running [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t143241216]: SFP: Fingerprint scan thread starting [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t143242240]: SIH: Idle host scan thread starting [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t143243264]: DNSAR(1): Address resolution thread running [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t143244288]: WEB: Server connection thread starting [p56078] Mon May 8 20:32:36 2006 Note: SIGPIPE handler set (ignore) Mon May 8 20:32:36 2006 THREADMGMT[t143244288]: WEB: Server connection thread running [p56078] Mon May 8 20:32:36 2006 WEB: ntop's web server is now processing requests Mon May 8 20:32:36 2006 RRD: Welcome to Round-Robin Databases. (C) 2002-04 by Luca Deri. Mon May 8 20:32:36 2006 SNMP: Welcome to SNMP. (C) 2004 by F.Fusco and G.Giardina Mon May 8 20:32:36 2006 SFLOW: Welcome to sFlow.(C) 2002-04 by Luca Deri Mon May 8 20:32:36 2006 **WARNING** Unable to load plugin '/usr/local/lib/ntop/plugins/xmldumpPlugin.so' Mon May 8 20:32:36 2006 **WARNING** Message is '/usr/local/lib/ntop/plugins/xmldumpPlugin.so: Undefined symbol "dumpXML"' Mon May 8 20:32:36 2006 Calling plugin start functions (if any) Mon May 8 20:32:36 2006 RRD: Welcome to the RRD plugin Mon May 8 20:32:36 2006 RRD: Mask for new directories is 0700 Mon May 8 20:32:36 2006 RRD: Mask for new files is 0066 Mon May 8 20:32:36 2006 THREADMGMT: RRD: Started thread (t149005312) for data collection Mon May 8 20:32:36 2006 THREADMGMT[t134586368]: ntop RUNSTATE: INITNONROOT(3) Mon May 8 20:32:36 2006 Now running as requested user 'nobody' (65534:65534) Mon May 8 20:32:36 2006 INIT: Created pid file (/var/db/ntop/ntop.pid) Mon May 8 20:32:36 2006 Note: Reporting device initally set to 0 [dc0] Mon May 8 20:32:36 2006 THREADMGMT[t134586368]: ntop RUNSTATE: RUN(4) Mon May 8 20:32:36 2006 THREADMGMT[t149006336]: NPS(1): Started thread for network packet sniffing Mon May 8 20:32:36 2006 THREADMGMT[t143241216]: SFP: Fingerprint scan thread running [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t143242240]: SIH: Idle host scan thread running [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t149005312]: RRD: Data collection thread starting [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t149006336]: NPS(1,dc0): pcapDispatch thread starting [p56078] Mon May 8 20:32:36 2006 THREADMGMT[t149006336]: NPS(1,dc0): pcapDispatch thread running [p56078] Mon May 8 20:32:46 2006 THREADMGMT[t149022720]: RRD: Started thread for throughput data collection Mon May 8 20:32:46 2006 THREADMGMT[t149005312]: RRD: Data collection thread running [p56078] Mon May 8 20:32:46 2006 THREADMGMT[t149022720]: RRD: Throughput data collection: Thread starting [p56078] Mon May 8 20:32:46 2006 THREADMGMT[t149022720]: RRD: Throughput data collection: Thread running [p56078] Now i've had a problem like this, when i was running freebsd 4.8. But at least then i could access the pages, by typing a direct url. I.e: http://192.168.0.1:3000/sortDataIP.html would work fine, but http://192.168.0.1:3000/ would make ntop shut down. Back when i was running 3.x, there was no problem running it on my 4.8. I've tried googling a bit, but i have only found: http://article.gmane.org/gmane.linux.ntop.general/7356 I've tried updating the dependencies, as some of them was outdated according to the ntop dependencies list, but that didn't make a difference either. http://www.freebsd.org/cgi/ports.cgi?query=ntop&stype=all lists the following dependencies: freetype2-2.1.10_3, gd-2.0.33_4,1, gdbm-1.8.3_2, gettext-0.14.5_2, gmake-3.80_2, jpeg-6b_4, libiconv-1.9.2_2, libxml2-2.6.24, pkgconfig-0.20_2, png-1.2.8_3 >$ sudo pkg_info -r ntop-3.2_2 Information for ntop-3.2_2: Depends on: Dependency: rc_subr-1.31 Dependency: png-1.2.5_8 Dependency: pkgconfig-0.20_2 Dependency: openssl-0.9.8a Dependency: openssl-0.9.7d_1 Dependency: libiconv-1.9.2_2 Dependency: libxml2-2.6.24 Dependency: libgnugetopt-1.2 Dependency: jpeg-6b_4 Dependency: gdbm-1.8.3_2 Dependency: freetype2-2.1.10_3 Dependency: gd-2.0.33_4,1 What's the reason why the lists are different, and could this be related to my problem? I've seen a lot of forum posts, were it's stated that ntop doesn't run very well on freebsd, but it has been running for me. Allthough with lowered functionality, since i could not acces the front menu on the webserver without ntop shutting down. I'm a little worried it's a local problem, since i can't find anything on google :( Any suggestions? /Nikolaj _______________________________________________ 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
