[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop-dev
Subject:    Re: [Ntop-dev] Ntop for OS X Snow Leopard
From:       Luca Deri <deri () ntop ! org>
Date:       2009-10-18 7:28:36
Message-ID: 5FDF25D9-1072-47EA-A29C-6C8831266FEE () ntop ! org
[Download RAW message or body]

Dan
my computers as a Mac (with Snow Leopard) and a Linux box (plus a Win  
VM for the win32 port). So you can be sure that ntop on OSX does work.  
The only problem I have on it is that libtool (that should have been  
retired at least a decade ago) is unsure about my Mac so it pretends  
to generate a Makefile that optimized the code for i386, ppc and ia64  
all at the same time. In this case the only thing I do is I delete the  
platforms I dont need and leave the one I have (64 bit). This applies  
to the code that's on SVN, not 3.3.9 that you use. So please use the  
code that's on SVN

I do use macports for installing prerequisites (rrdtool, gdbm & co)

Good luck Luca

On Oct 18, 2009, at 4:40 AM, Dan Sadler wrote:

> Had Ntop running great for OS X Leopard but trying on same machine  
> upgraded to OS X Snow Leopard and getting Fatal Error.
>
> Installed 10.6 XCODE tried Darwin Port update... failed.
>
> Fink looks way too old. Did not try.
>
> Have searched for compile How To for Snow Leopard but not finding  
> complete build just pieces.
>
> Is there a set of instructions/files available for Ntop with Snow  
> Leopard OS X 10.6?
>
> Here is the result of trying to run Ntop that worked fine under OS X  
> Leopard 10.5:
>
> your:NTOP dan$ sudo ntop -P /usr/share/ntop -w 3005 -u ntop
> Password:
> Sat Oct 17 18:14:29 2009  NOTE: Interface merge enabled by default
> Sat Oct 17 18:14:29 2009  Initializing gdbm databases
> Sat Oct 17 18:14:29 2009  ntop v.3.3.9
> Sat Oct 17 18:14:29 2009  Configured on Jun  9 2009 22:11:23, built  
> on Jun  9 2009 22:12:00.
> Sat Oct 17 18:14:29 2009  Copyright 1998-2007 by Luca Deri <deri@ntop.org 
> >
> Sat Oct 17 18:14:29 2009  Get the freshest ntop from http://www.ntop.org/
> Sat Oct 17 18:14:29 2009  NOTE: ntop is running from '/opt/local/bin'
> Sat Oct 17 18:14:29 2009  NOTE: (but see warning on man page for the  
> --instance parameter)
> Sat Oct 17 18:14:29 2009  NOTE: ntop libraries are in '/opt/local/lib'
> Sat Oct 17 18:14:29 2009  Initializing ntop
> Sat Oct 17 18:14:30 2009  Checking en1 for additional devices
> Sat Oct 17 18:14:30 2009  Resetting traffic statistics for device en1
> Sat Oct 17 18:14:30 2009  Initializing device en1 (0)
> Sat Oct 17 18:14:30 2009  DLT: Device 0 [en1] is 1, mtu 1514, header  
> 14
> Sat Oct 17 18:14:30 2009  Initializing gdbm databases
> Sat Oct 17 18:14:30 2009  VENDOR: Loading MAC address table.
> Sat Oct 17 18:14:30 2009  VENDOR: Checking for MAC address table file
> Sat Oct 17 18:14:30 2009  VENDOR: File './specialMAC.txt.gz' does  
> not need to be reloaded
> Sat Oct 17 18:14:30 2009  VENDOR: ntop continues ok
> Sat Oct 17 18:14:30 2009  VENDOR: Checking for MAC address table file
> Sat Oct 17 18:14:30 2009  VENDOR: File './oui.txt.gz' does not need  
> to be reloaded
> Sat Oct 17 18:14:30 2009  VENDOR: ntop continues ok
> Sat Oct 17 18:14:30 2009  Fingerprint: Loading signature file
> Sat Oct 17 18:14:30 2009  Fingerprint: Checking for Fingerprint  
> file... file
> Sat Oct 17 18:14:30 2009  Fingerprint: Loading file './ 
> etter.finger.os.gz'
> Sat Oct 17 18:14:30 2009  Fingerprint: ...loaded 1765 records
> Sat Oct 17 18:14:30 2009  **WARNING** Bad format 'network' -  
> ignoring entry
> Error Opening file /usr/share/ntop/GeoLiteCity.dat
> Sat Oct 17 18:14:30 2009  **ERROR** GeoIP: unable to load file  
> GeoLiteCity.dat
> Error Opening file /usr/share/ntop/GeoIPASNum.dat
> Sat Oct 17 18:14:30 2009  **ERROR** GeoIP: unable to load ASN file  
> GeoIPASNum.dat
> Sat Oct 17 18:14:30 2009  Database support not compiled into ntop
> Sat Oct 17 18:14:30 2009  Initializing external applications
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2953318400]: SFP: Started  
> thread for fingerprinting
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2953850880]: SIH: Started  
> thread for idle hosts detection
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2954383360]: DNSAR(1): Started  
> thread for DNS address resolution
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2954915840]: DNSAR(2): Started  
> thread for DNS address resolution
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2955448320]: DNSAR(3): Started  
> thread for DNS address resolution
> Sat Oct 17 18:14:30 2009  Calling plugin start functions (if any)
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2953318400]: SFP: Fingerprint  
> scan thread starting [p2728]
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2953850880]: SIH: Idle host  
> scan thread starting [p2728]
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2954383360]: DNSAR(1): Address  
> resolution thread running
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2954915840]: DNSAR(2): Address  
> resolution thread running
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2955448320]: DNSAR(3): Address  
> resolution thread running
> Sat Oct 17 18:14:30 2009  SSL: Initializing...
> Sat Oct 17 18:14:30 2009  SSL_PRNG: Automatically initialized!
> Sat Oct 17 18:14:30 2009  SSL initialized successfully
> Sat Oct 17 18:14:30 2009  INITWEB: Initializing web server
> Sat Oct 17 18:14:30 2009  INITWEB: Initializing TCP/IP socket  
> connections for web server
> Sat Oct 17 18:14:30 2009  INITWEB: Initialized socket, port 3005,  
> address (any)
> Sat Oct 17 18:14:30 2009  INITWEB: Waiting for HTTP connections on  
> port 3005
> Sat Oct 17 18:14:30 2009  INITWEB: Initialized ssl socket, port 443,  
> address (any)
> Sat Oct 17 18:14:30 2009  INITWEB: Waiting for HTTPS (SSL)  
> connections on port 443
> Sat Oct 17 18:14:30 2009  INITWEB: Starting web server
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2955980800]: INITWEB: Started  
> thread for web server
> Sat Oct 17 18:14:30 2009  Listening on [en1]
> Sat Oct 17 18:14:30 2009  Loading Plugins
> Sat Oct 17 18:14:30 2009  Searching for plugins in ./plugins
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2955980800]: WEB: Server  
> connection thread starting [p2728]
> Sat Oct 17 18:14:30 2009  Note: SIGPIPE handler set (ignore)
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2955980800]: WEB: Server  
> connection thread running [p2728]
> Sat Oct 17 18:14:30 2009  WEB: ntop's web server is now processing  
> requests
> Sat Oct 17 18:14:30 2009  Calling plugin start functions (if any)
> Sat Oct 17 18:14:30 2009  INIT: Created pid file (/var/run/ntop.pid)
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2691536128]: ntop RUNSTATE:  
> INITNONROOT(3)
> Sat Oct 17 18:14:30 2009  Now running as requested user  
> 'ntop' (502:20)
> Sat Oct 17 18:14:30 2009  Note: Reporting device initally set to 0  
> [en1] (merged)
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2691536128]: ntop RUNSTATE: RUN 
> (4)
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2956513280]: NPS(1): Started  
> thread for network packet sniffing [en1]
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2956513280]: NPS(en1):  
> pcapDispatch thread starting [p2728]
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2956513280]: NPS(en1):  
> pcapDispatch thread running [p2728]
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2953850880]: SIH: Idle host  
> scan thread running [p2728]
> Sat Oct 17 18:14:30 2009  THREADMGMT[t2953318400]: SFP: Fingerprint  
> scan thread running [p2728]
> gdbm fatal: read error
>
> Thanks,
>
> -dan
>
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
Ntop-dev@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic