I will copy this to the dev-list too Chris,
ok i have recompiled todays cvs and gmade but still getting the segfault immediately after starting ntop. I have all the same packages as you (although solaris8). I have applied yr fingerprint patch. I get this:- usssv01<root>: ntop -P /var/ntop -u ntop 15/Sep/2003 13:53:06 ntop v.2.2.94 MT (SSL) [sparc-sun-solaris2.8] (09/15/03 01:30:36 PM build) 15/Sep/2003 13:53:06 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]> 15/Sep/2003 13:53:06 Get the freshest ntop from http://www.ntop.org/ 15/Sep/2003 13:53:06 Initializing ntop 15/Sep/2003 13:53:07 Added: hme0 15/Sep/2003 13:53:07 Resetting traffic statistics for device hme0 15/Sep/2003 13:53:07 Initializing gdbm databases 15/Sep/2003 13:53:07 Now running as requested user 'ntop' (7765:453) 15/Sep/2003 13:53:07 VENDOR: Loading MAC address table. 15/Sep/2003 13:53:07 VENDOR: Checking './specialMAC.txt.gz' 15/Sep/2003 13:53:07 VENDOR: Checking '/usr/local/etc/ntop/specialMAC.txt.gz' 15/Sep/2003 13:53:07 VENDOR: File '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded 15/Sep/2003 13:53:07 VENDOR: Checking './oui.txt.gz' 15/Sep/2003 13:53:07 VENDOR: Checking '/usr/local/etc/ntop/oui.txt.gz' 15/Sep/2003 13:53:07 VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' does not need to be reloaded 15/Sep/2003 13:53:07 **WARNING** AS: Unable to open file 'AS-list.txt.gz'. 15/Sep/2003 13:53:07 I18N: This instance of ntop does not support multiple languages 15/Sep/2003 13:53:07 IP2CC: Looking for IP address <-> Country code mapping file 15/Sep/2003 13:53:07 IP2CC: reading file '/usr/local/etc/ntop/p2c.opt.table.gz' 15/Sep/2003 13:53:09 IP2CC: 49056 records read 15/Sep/2003 13:53:09 Initializing external applications 15/Sep/2003 13:53:09 Initializing semaphores, mutexes and threads 15/Sep/2003 13:53:09 NOTE: atfork() handler registered for mutexes, rc 0 15/Sep/2003 13:53:09 THREADMGMT: Started thread (4) for network packet analyser 15/Sep/2003 13:53:09 THREADMGMT: Packet processor thread running... 15/Sep/2003 13:53:09 THREADMGMT: Started thread (5) for idle hosts detection 15/Sep/2003 13:53:09 THREADMGMT: Started thread (6) for DNS address resolution 15/Sep/2003 13:53:09 Calling plugin start functions (if any) 15/Sep/2003 13:53:09 Sniffying... 15/Sep/2003 13:53:09 INIT: Created pid file (/var/ntop/ntop.pid) 15/Sep/2003 13:53:09 Listening on [hme0,hme0] 15/Sep/2003 13:53:09 Now running as requested user 'ntop' (7765:453) 15/Sep/2003 13:53:09 Loading Plugins 15/Sep/2003 13:53:09 Searching for plugins in /usr/local/lib/ntop/plugins 15/Sep/2003 13:53:09 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri 15/Sep/2003 13:53:09 LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni Segmentation Fault I think I am going to go back to being a mainframe sysprog. lol. smp/e is so much nicer. There are a few suspicious things during both the configure and make, but being a relative newbie to building things on solaris I am not sure if they matter. I welcome any thoughts you may have or ideas how to better identify what is going on here. sections from ./configure :- checking net/ethernet.h usability... no checking net/ethernet.h presence... no checking for net/ethernet.h... no checking for net/if.h... yes checking for netinet/if_ether.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking for netinet/ip.h... no checking for netinet/ip_icmp.h... no checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for netinet/udp.h... yes checking ethertype.h usability... no checking ethertype.h presence... no checking for ethertype.h... no checking net/ppp_defs.h usability... no checking net/ppp_defs.h presence... no checking for net/ppp_defs.h... no checking for linux/if_pppox.h... no . . . checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking getopt.h usability... no checking getopt.h presence... no checking for getopt.h... no checking if.h usability... no checking if.h presence... no checking for if.h... no checking for inttypes.h... (cached) yes checking for memory.h... (cached) yes checking sys/ldr.h usability... no checking sys/ldr.h presence... no checking for sys/ldr.h... no . . . checking for sched.h... yes checking sys/sched.h usability... no checking sys/sched.h presence... no checking for sys/sched.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no . . . checking for gcc backtrace... not found checking for gcc getopt_long... not found - long command line options are enabled using ntop code ******************************************************************* * * NOTE: getopt_long does not appear to be provided on this system. * *>>> No worries - activating our built-in (libiberty) version. *>>> ntop should work properly. * ******************************************************************* sections from gmake :- /bin/bash ./libtool --mode=link gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-e xterns -fPIC -L/usr/local/lib -lnsl -lsocket -liconv -L/usr/local/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/export/home/bme03/n top/ntop/myrrd -L/usr/local/lib -lnsl -lsocket -liconv -L/usr/local/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/export/home/bme03/ ntop/ntop/myrrd -o libntop.la -rpath /usr/local/lib -L/usr/local/lib -lnsl -lsocket -liconv -L/usr/local/lib -L/usr/local/lib -L/us r/local/ssl/lib -L/export/home/bme03/ntop/ntop/myrrd -release 2.2.94 -export-dynamic address.lo argv.lo dataFormat.lo getopt.lo get opt1.lo globals-core.lo hash.lo initialize.lo leaks.lo netflow.lo ntop.lo pbuf.lo plugin.lo protocols.lo sessions.lo term.lo util.lo traffic.lo vendor.lo version.lo ntop_darwin.lo -lposix4 -lpthread -lresolv -lsocket -lxnet -lnsl -lm -ldl -lc -lssl -lcrypto -lpca p -lgdbm -lgd -lpng -lz -lmyrrd rm -fr .libs/libntop.la .libs/libntop.* .libs/libntop-2.2.94.* *** Warning: This library needs some functionality provided by -lpcap. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lmyrrd. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. (these warnings occur several times although I have /usr/local/lib/libpcap.a and a $NTOPHOME/myrrd/libmyrrd.a). It's almost like its not recognising the .a files *******************Confidentiality and Privilege Notice******************* This email is intended only to be read or used by the addressee. It is confidential and may contain legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. Qantas Airways Limited ABN 16 009 661 901 Visit Qantas online at http://www.qantas.com.au _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
