Hi 
 
  I've installed ntop 3 on an OpenBSD 3.4 box today (I did it by removing
the gdImageDestroy test from the configure script). 
I run it with the -w or -W switches and netstart reports that a listening
socket has been opened on the port specified. When I try connect to ntop's
webserver it connects successfully but than hangs on waiting for .... And
never goes forward. Ntop's output is: 
# ntop -i em3 -w 192.168.0.1:3000
Mon Apr 12 17:02:38 2004  ntop will be started as user nobody
Mon Apr 12 17:02:38 2004  ntop v.3.0 SourceForge .tgz MT (SSL)
Mon Apr 12 17:02:38 2004  Configured on Apr 12 2004 16:06:10, built on Apr
12 2004 16:06:47.
Mon Apr 12 17:02:38 2004  Copyright 1998-2004 by Luca Deri <[EMAIL PROTECTED]>
Mon Apr 12 17:02:38 2004  Get the freshest ntop from http://www.ntop.org/
Mon Apr 12 17:02:38 2004  Initializing ntop
Mon Apr 12 17:02:38 2004  Checking em3 for additional devices
Mon Apr 12 17:02:38 2004  Resetting traffic statistics for device em3
Mon Apr 12 17:02:38 2004  DLT: Device 0 [em3] is 1, mtu 1514, header 14
Mon Apr 12 17:02:38 2004  Initializing gdbm databases
Mon Apr 12 17:02:38 2004  Now running as requested user 'nobody'
(32767:32767)
Mon Apr 12 17:02:38 2004  VENDOR: Loading MAC address table.
Mon Apr 12 17:02:38 2004  VENDOR: Checking for MAC address table file
Mon Apr 12 17:02:38 2004  VENDOR: File '/etc/ntop/specialMAC.txt.gz' does
not need to be reloaded
Mon Apr 12 17:02:38 2004  VENDOR: ntop continues ok
Mon Apr 12 17:02:38 2004  VENDOR: Checking for MAC address table file
Mon Apr 12 17:02:38 2004  VENDOR: File '/etc/ntop/oui.txt.gz' does not need
to be reloaded
Mon Apr 12 17:02:38 2004  VENDOR: ntop continues ok
Mon Apr 12 17:02:38 2004  OSFP: Checking for OS fingerprint table file
Mon Apr 12 17:02:38 2004  OSFP: Loading file
'/etc/ntop/etter.passive.os.fp.gz'
Mon Apr 12 17:02:38 2004  ASN: Checking for Autonomous System Number table
file
Mon Apr 12 17:02:38 2004  **WARNING** ASN: Unable to open file 'AS-list.txt'
Mon Apr 12 17:02:38 2004  I18N: This instance of ntop does not support
multiple languages
Mon Apr 12 17:02:38 2004  IP2CC: Checking for IP address <-> Country Code
mapping file
Mon Apr 12 17:02:38 2004  IP2CC: Loading file '/etc/ntop/p2c.opt.table.gz'
Mon Apr 12 17:02:39 2004  IP2CC: ...found 52395 lines
Mon Apr 12 17:02:39 2004  GDVERCHK: Guessing at libgd version
Mon Apr 12 17:02:39 2004  **WARNING** GDVERCHK: Unable to load gd, message
is 'File not found'
Mon Apr 12 17:02:39 2004  GDVERCHK: ... as 1.8.x
Mon Apr 12 17:02:39 2004  Initializing external applications
Mon Apr 12 17:02:39 2004  Initializing semaphores, mutexes and threads
Mon Apr 12 17:02:39 2004  THREADMGMT: Packet processor thread running...
Mon Apr 12 17:02:39 2004  THREADMGMT: Started thread (1006716928) for
network packet analyser
Mon Apr 12 17:02:39 2004  THREADMGMT: Started thread (1006717952) for
fingerprinting
Mon Apr 12 17:02:39 2004  THREADMGMT: Started thread (1006718464) for idle
hosts detection
Mon Apr 12 17:02:39 2004  THREADMGMT: Started thread (1009188864) for DNS
address resolution
Mon Apr 12 17:02:39 2004  Calling plugin start functions (if any)
Mon Apr 12 17:02:39 2004  Sniffying...
Mon Apr 12 17:02:39 2004  INIT: Created pid file (/var/ntop/ntop.pid)
Mon Apr 12 17:02:39 2004  Listening on [em3]
Mon Apr 12 17:02:39 2004  Now running as requested user 'nobody'
(32767:32767)
Mon Apr 12 17:02:39 2004  Loading Plugins
Mon Apr 12 17:02:39 2004  Searching for plugins in
/usr/local/lib/ntop/plugins
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/icmpPlugin.so' entry function [Unable to
resolve symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/lastSeenPlugin.so' entry function [Unable to
resolve symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/netflowPlugin.so' entry function [Unable to
resolve symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/nfsPlugin.so' entry function [Unable to resolve
symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/pdaPlugin.so' entry function [Unable to resolve
symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin '/usr/localMon
Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin '/usr/locMon Apr
12 17:02:39 2004  **WARNING** Unable to locate plugin '/usr/local/lMon Apr
12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/rrdPlMon Apr 12 17:02:39 2004  **WARNING**
Unable to locate plugin '/usr/local/lib/ntop/plugins/rrdPlugin.so' entry
function [Unable to resolve symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/sflowPlugin.so' entry function [Unable to
resolve symbol]
Mon Apr 12 17:02:39 2004  **WARNING** Unable to locate plugin
'/usr/local/lib/ntop/plugins/xmldumpPlugin.so' entry function [Unable to
resolve symbol]
Mon Apr 12 17:02:39 2004  Calling plugin start functions (if any)
Mon Apr 12 17:02:39 2004  SSL is present but https is disabled: use -W
<https port> for enabling it
Mon Apr 12 17:02:39 2004  Note: Reporting device initally set to 0 [em3]
(merged)
Mon Apr 12 17:02:39 2004  INITWEB: Initializing web server
Mon Apr 12 17:02:39 2004  INITWEB: Initializing tcp/ip socket connections
for web server
Mon Apr 12 17:02:39 2004  INITWEB: Converted address '192.168.0.1' - binding
to the specific interface
Mon Apr 12 17:02:39 2004  INITWEB: Initialized socket, port 3000, address
192.168.0.1
Mon Apr 12 17:02:39 2004  INITWEB: Waiting for HTTP connections on
192.168.0.1 port 3000
Mon Apr 12 17:02:39 2004  INITWEB: Starting web server
Mon Apr 12 17:02:39 2004  THREADMGMT: Started thread (1009190400) for web
server
Mon Apr 12 17:02:39 2004  THREADMGMT: Started thread (1009190912) for
network packet sniffing on em3
Mon Apr 12 17:02:39 2004  THREADMGMT: web connections thread (27039)
started...
Mon Apr 12 17:02:39 2004  Note: SIGPIPE handler set (ignore)
Mon Apr 12 17:02:39 2004  WEB: ntop's web server is now processing requests
Mon Apr 12 17:02:39 2004  THREADMGMT: pcap dispatch thread running...
 
What am I doing wrong? 
 
 
 
            Paolo 
 
 
PS - I did run ntop -A for the first time to let it create a password (which
was crated successfully). 

Reply via email to