>
> Sorry,
> can anyone help out there ?
If you look back in the list you'll see Burton and I "discussing";) the
issues with libtool and Solaris. If you watch your make you'll see
libtool dropping some libs when it builds rrdPlugin.so. Those are the
missing symbols. I have to manually link rrdPlugin.so to get it to
work. I gave up on libtool as it refuses to do both static and dynamic
linking at the same time a situation not only supported in Solaris but
required.
-Chris
>
> Thanks,
> Leonardo
>
> Leonardo Valcamonici wrote:
>
> > Hi,
> > after a fix from Burton (thanks!!!), I've built ntop on a Sun
> > Enterprise 220R (Sparc) running Solaris 8 with the sequence
> > ./configure;make;make install and getting back no error at all.
> > Noe, when I start the program it complaints this way:
> >
> > ---------------------
> > 25/Oct/2003 00:46:38 ntop will be started as user nobody
> > 25/Oct/2003 00:46:38 ntop v.2.2.95 MT [sparc-sun-solaris2.8]
> > (10/24/03 06:42:16 PM build)
> > 25/Oct/2003 00:46:38 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]>
> > 25/Oct/2003 00:46:38 Get the freshest ntop from http://www.ntop.org/
> > 25/Oct/2003 00:46:38 Initializing ntop
> > 25/Oct/2003 00:46:38 Checking hme0 for additional devices
> > 25/Oct/2003 00:46:38 Resetting traffic statistics for device hme0
> > 25/Oct/2003 00:46:38 Initializing gdbm databases
> > 25/Oct/2003 00:46:38 Now running as requested user 'nobody'
> > (60001:60001)
> > 25/Oct/2003 00:46:38 VENDOR: Loading MAC address table.
> > 25/Oct/2003 00:46:38 VENDOR: Checking './specialMAC.txt.gz'
> > 25/Oct/2003 00:46:38 VENDOR: Checking
> > '/usr/local/etc/ntop/specialMAC.txt.gz'
> > 25/Oct/2003 00:46:38 VENDOR: File
> > '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
> > 25/Oct/2003 00:46:38 VENDOR: Checking './oui.txt.gz'
> > 25/Oct/2003 00:46:38 VENDOR: Checking '/usr/local/etc/ntop/oui.txt.gz'
> > 25/Oct/2003 00:46:38 VENDOR: File '/usr/local/etc/ntop/oui.txt.gz'
> > does not need to be reloaded
> > 25/Oct/2003 00:46:38 **WARNING** AS: Unable to open file
> > 'AS-list.txt.gz'.
> > 25/Oct/2003 00:46:38 I18N: This instance of ntop does not support
> > multiple languages
> > 25/Oct/2003 00:46:38 IP2CC: Looking for IP address <-> Country code
> > mapping file
> > 25/Oct/2003 00:46:38 IP2CC: reading file
> > '/usr/local/etc/ntop/p2c.opt.table.gz'
> > 25/Oct/2003 00:46:40 IP2CC: 49056 records read
> > 25/Oct/2003 00:46:40 Initializing external applications
> > 25/Oct/2003 00:46:40 Initializing semaphores, mutexes and threads
> > 25/Oct/2003 00:46:40 NOTE: atfork() handler registered for mutexes, rc 0
> > 25/Oct/2003 00:46:40 THREADMGMT: Started thread (4) for network
> > packet analyser
> > 25/Oct/2003 00:46:40 THREADMGMT: Packet processor thread running...
> > 25/Oct/2003 00:46:40 THREADMGMT: Started thread (5) for idle hosts
> > detection
> > 25/Oct/2003 00:46:40 THREADMGMT: Started thread (6) for DNS address
> > resolution
> > 25/Oct/2003 00:46:40 Calling plugin start functions (if any)
> > 25/Oct/2003 00:46:40 Sniffying...
> > 25/Oct/2003 00:46:40 INIT: Created pid file
> > (/usr/local/var/ntop/ntop.pid)
> > 25/Oct/2003 00:46:40 Listening on [hme0]
> > 25/Oct/2003 00:46:40 Now running as requested user 'nobody'
> > (60001:60001)
> > 25/Oct/2003 00:46:40 Loading Plugins
> > 25/Oct/2003 00:46:40 Searching for plugins in
> > /usr/local/lib/ntop/plugins
> > 25/Oct/2003 00:46:40 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by
> > Luca Deri
> > 25/Oct/2003 00:46:40 LASTSEEN: Welcome to LastSeenWatchPlugin. (C)
> > 1999 by Andrea Marangoni
> > 25/Oct/2003 00:46:40 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri
> > 25/Oct/2003 00:46:40 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca
> > Deri
> > 25/Oct/2003 00:46:40 PDA: Welcome to PDAPlugin. (C) 2001-2002 by
> > L.Deri and W.Brock
> > 25/Oct/2003 00:46:40 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca
> > Deri
> > 25/Oct/2003 00:46:40 **WARNING** Unable to load plugin
> > '/usr/local/lib/ntop/plugins/rrdPlugin.so'
> > 25/Oct/2003 00:46:40 **WARNING** Message is 'ld.so.1: ntop: fatal:
> > relocation error: file /usr/local/lib/ntop/plugins/rrdPlugin.so:
> > symbol rrd_clear_error: referenced symbol not found'
> > 25/Oct/2003 00:46:40 Calling plugin start functions (if any)
> > 25/Oct/2003 00:46:40 Note: Reporting device initally set to 0 [hme0]
> > (merged)
> > 25/Oct/2003 00:46:40 WEB: Initializing web server
> > 25/Oct/2003 00:46:40 WEB: Initializing tcp/ip socket connections for
> > web server
> > 25/Oct/2003 00:46:40 Initialized socket, port 3000, address (any)
> > 25/Oct/2003 00:46:40 WEB: Waiting for HTTP connections on port 3000
> > 25/Oct/2003 00:46:40 WEB: Starting web server
> > 25/Oct/2003 00:46:40 THREADMGMT: Started thread (7) for web server
> > 25/Oct/2003 00:46:40 THREADMGMT: Started thread (8) for network
> > packet sniffing on hme0
> > 25/Oct/2003 00:46:40 THREADMGMT: Idle host scan thread running...
> > 25/Oct/2003 00:46:40 THREADMGMT: Address resolution thread running...
> > 25/Oct/2003 00:46:40 THREADMGMT: web connections thread (21491)
> > started...
> > 25/Oct/2003 00:46:40 THREADMGMT: pcap dispatch thread running...
> > Bus Error
> > ---------------------------------
> >
> > I thought the bus error could have been a problem due to the inability
> > to load rrdPlugin.so, therefore I rebuilt ntop disabling plugins but
> > nothing changed.
> > Running ntop inside gdb returns:
> >
> > ---------------------------------
> > GNU gdb 5.0
> > Copyright 2000 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 "sparc-sun-solaris2.8"...
> > (gdb) run
> > Starting program: /usr/local/bin/ntop
> > [New LWP 1]
> > [New LWP 2]
> > [New LWP 3]
> > [New LWP 4]
> > 25/Oct/2003 00:57:35 ntop will be started as user nobody
> > 25/Oct/2003 00:57:35 ntop v.2.2.95 MT [sparc-sun-solaris2.8]
> > (10/24/03 06:42:16 PM build)
> > 25/Oct/2003 00:57:35 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]>
> > 25/Oct/2003 00:57:35 Get the freshest ntop from http://www.ntop.org/
> > 25/Oct/2003 00:57:35 Initializing ntop
> > 25/Oct/2003 00:57:35 Checking hme0 for additional devices
> > 25/Oct/2003 00:57:35 Resetting traffic statistics for device hme0
> > 25/Oct/2003 00:57:35 Initializing gdbm databases
> > 25/Oct/2003 00:57:35 Now running as requested user 'nobody'
> > (60001:60001)
> > 25/Oct/2003 00:57:35 VENDOR: Loading MAC address table.
> > 25/Oct/2003 00:57:35 VENDOR: Checking './specialMAC.txt.gz'
> > 25/Oct/2003 00:57:35 VENDOR: Checking
> > '/usr/local/etc/ntop/specialMAC.txt.gz'
> > 25/Oct/2003 00:57:35 VENDOR: File
> > '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
> > 25/Oct/2003 00:57:35 VENDOR: Checking './oui.txt.gz'
> > 25/Oct/2003 00:57:35 VENDOR: Checking '/usr/local/etc/ntop/oui.txt.gz'
> > 25/Oct/2003 00:57:35 VENDOR: File '/usr/local/etc/ntop/oui.txt.gz'
> > does not need to be reloaded
> > 25/Oct/2003 00:57:35 **WARNING** AS: Unable to open file
> > 'AS-list.txt.gz'.
> > 25/Oct/2003 00:57:35 I18N: This instance of ntop does not support
> > multiple languages
> > 25/Oct/2003 00:57:35 IP2CC: Looking for IP address <-> Country code
> > mapping file
> > 25/Oct/2003 00:57:35 IP2CC: reading file
> > '/usr/local/etc/ntop/p2c.opt.table.gz'
> > 25/Oct/2003 00:57:37 IP2CC: 49056 records read
> > 25/Oct/2003 00:57:37 Initializing external applications
> > 25/Oct/2003 00:57:37 Initializing semaphores, mutexes and threads
> > 25/Oct/2003 00:57:37 NOTE: atfork() handler registered for mutexes, rc 0
> > 25/Oct/2003 00:57:37 THREADMGMT: Started thread (4) for network
> > packet analyser
> > 25/Oct/2003 00:57:37 THREADMGMT: Packet processor thread running...
> > 25/Oct/2003 00:57:37 THREADMGMT: Started thread (5) for idle hosts
> > detection
> > 25/Oct/2003 00:57:37 THREADMGMT: Started thread (6) for DNS address
> > resolution
> > 25/Oct/2003 00:57:37 Calling plugin start functions (if any)
> > 25/Oct/2003 00:57:37 Sniffying...
> > 25/Oct/2003 00:57:37 INIT: Created pid file
> > (/usr/local/var/ntop/ntop.pid)
> > 25/Oct/2003 00:57:37 Listening on [hme0]
> > 25/Oct/2003 00:57:37 Now running as requested user 'nobody'
> > (60001:60001)
> > 25/Oct/2003 00:57:37 Loading Plugins
> > 25/Oct/2003 00:57:37 Searching for plugins in
> > /usr/local/lib/ntop/plugins
> > [New LWP 5]
> > [New LWP 6]
> > 25/Oct/2003 00:57:37 THREADMGMT: Idle host scan thread running...
> > [New LWP 7]
> > [New LWP 8]
> > 25/Oct/2003 00:57:37 THREADMGMT: Address resolution thread running...
> > 25/Oct/2003 00:57:37 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by
> > Luca Deri
> > [New LWP 9]
> > 25/Oct/2003 00:57:37 LASTSEEN: Welcome to LastSeenWatchPlugin. (C)
> > 1999 by Andrea Marangoni
> > 25/Oct/2003 00:57:37 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri
> > 25/Oct/2003 00:57:37 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca
> > Deri
> > 25/Oct/2003 00:57:37 PDA: Welcome to PDAPlugin. (C) 2001-2002 by
> > L.Deri and W.Brock
> > 25/Oct/2003 00:57:37 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca
> > Deri
> > 25/Oct/2003 00:57:37 **WARNING** Unable to load plugin
> > '/usr/local/lib/ntop/plugins/rrdPlugin.so'
> > 25/Oct/2003 00:57:37 **WARNING** Message is 'ld.so.1:
> > /usr/local/bin/ntop: fatal: relocation error: file
> > /usr/local/lib/ntop/plugins/rrdPlugin.so: symbol rrd_clear_error:
> > referenced symbol not found'
> > 25/Oct/2003 00:57:37 Calling plugin start functions (if any)
> > 25/Oct/2003 00:57:37 Note: Reporting device initally set to 0 [hme0]
> > (merged)
> > 25/Oct/2003 00:57:37 WEB: Initializing web server
> > 25/Oct/2003 00:57:37 WEB: Initializing tcp/ip socket connections for
> > web server
> > 25/Oct/2003 00:57:37 Initialized socket, port 3000, address (any)
> > 25/Oct/2003 00:57:37 WEB: Waiting for HTTP connections on port 3000
> > 25/Oct/2003 00:57:37 WEB: Starting web server
> > 25/Oct/2003 00:57:37 THREADMGMT: Started thread (8) for web server
> > 25/Oct/2003 00:57:37 THREADMGMT: web connections thread (21493)
> > started...
> > 25/Oct/2003 00:57:37 THREADMGMT: pcap dispatch thread running...
> > 25/Oct/2003 00:57:37 THREADMGMT: Started thread (9) for network
> > packet sniffing on hme0
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to LWP 5]
> > processIpPkt (bp=0xfdafdbd6 "E\020", h=0xfdaffc68, length=154,
> > ether_src=0x4000 <Address 0x4000 out of bounds>,
> > ether_dst=0xfdafd848 "",
> > actualDeviceId=0, vlanId=100) at pbuf.c:984
> > 984 u_char *tcp_data = (u_char *)((int)tcp + tcp->th_off *
> > 4);
> > (gdb) bt full
> > #0 processIpPkt (bp=0xfdafdbd6 "E\020", h=0xfdaffc68, length=154,
> > ether_src=0x4000 <Address 0x4000 out of bounds>,
> > ether_dst=0xfdafd848 "",
> > actualDeviceId=0, vlanId=100) at pbuf.c:984
> > fingerprint = '\000' <repeats 59 times>, "\001�>\2160"
> > WIN = 0
> > MSS = -38806550
> > WS = 2048
> > S = 20
> > N = -38806570
> > D = 330
> > T = -12676632
> > ttl = 0
> > WSS = "\000\000"
> > _MSS = "\000\000\000\000"
> > tcp_opt = (u_char *) 0x480d <Address 0x480d out of bounds>
> > tcp_data = (u_char *) 0xfdafd848 ""
> > sport = 22
> > dport = 18445
> > ip = {ip_v = 4 '\004', ip_hl = 5 '\005', ip_tos = 16 '\020',
> > ip_len = 140, ip_id = 1705, ip_off = 16384, ip_ttl = 64 '@',
> > ip_p = 6 '\006', ip_sum = 2045, ip_src = {S_un = {S_un_b = {s_b1 = 10
> > '\n',
> > s_b2 = 100 'd', s_b3 = 101 'e', s_b4 = 2 '\002'}, S_un_w = {
> > s_w1 = 2660, s_w2 = 25858}, S_addr = 174351618}}, ip_dst =
> > {S_un = {
> > S_un_b = {s_b1 = 193 '�', s_b2 = 205 '�', s_b3 = 250 '�',
> > s_b4 = 130 '\202'}, S_un_w = {s_w1 = 49613, s_w2 = 64130},
> > S_addr = 3251501698}}}
> > tp = {th_sport = 22, th_dport = 18445, th_seq = 2086773422,
> > th_ack = 1093742078, th_off = 5, th_x2 = 0, th_flags = 24 '\030',
> > th_win = 64240, th_sum = 18790, th_urp = 0}
> > up = {uh_sport = 0, uh_dport = 0, uh_ulen = 0, uh_sum = 0}
> > icmpPkt = {icmp_type = 0 '\000', icmp_code = 0 '\000',
> > icmp_cksum = 0,
> > icmp_hun = {ih_pptr = 0 '\000', ih_gwaddr = {S_un = {S_un_b = {
> > s_b1 = 0 '\000', s_b2 = 0 '\000', s_b3 = 0 '\000', s_b4 = 0
> > '\000'},
> > S_un_w = {s_w1 = 0, s_w2 = 0}, S_addr = 0}}, ih_idseq = {icd_id
> > = 0,
> > icd_seq = 0}, ih_void = 0, ih_pmtu = {ipm_void = 0, ipm_nextmtu =
> > 0},
> > ih_rtradv = {irt_num_addrs = 0 '\000', irt_wpa = 0 '\000',
> > irt_lifetime = 0}}, icmp_dun = {id_ts = {its_otime = 0, its_rtime
> > = 0,
> > its_ttime = 0}, id_ip = {idi_ip = {ip_v = 0 '\000', ip_hl = 0
> > '\000',
> > ip_tos = 0 '\000', ip_len = 0, ip_id = 0, ip_off = 0,
> > ip_ttl = 0 '\000', ip_p = 0 '\000', ip_sum = 0, ip_src = {S_un = {
> > S_un_b = {s_b1 = 0 '\000', s_b2 = 0 '\000', s_b3 = 0 '\000',
> > s_b4 = 0 '\000'}, S_un_w = {s_w1 = 0, s_w2 = 0}, S_addr =
> > 0}},
> > ip_dst = {S_un = {S_un_b = {s_b1 = 0 '\000', s_b2 = 0 '\000',
> > s_b3 = 0 '\000', s_b4 = 0 '\000'}, S_un_w = {s_w1 = 0,
> > s_w2 = 0}, S_addr = 0}}}}, id_mask = 0, id_data = ""}}
> > hlen = 20
> > tcpDataLength = 100
> > udpDataLength = 120
> > off = 16384
> > tcpUdpLen = 120
> > idx = 4256160726
> > srcHost = (HostTraffic *) 0xbdfa8
> > dstHost = (HostTraffic *) 0xbc7e0
> > forceUsingIPaddress = 254 '�'
> > tvstrct = {tv_sec = 0, tv_usec = 0}
> > theData = (u_char *) 0xfdafdbfe "�"
> > found = 0 '\000'
> > ctr = {value = 154, modified = 0 '\000'}
> > protoList = (ProtocolsList *) 0x480d
> > #1 0xff11c510 in processPacket (_deviceId=0x0, h=0xfdaffc68,
> > p=0xfdafdbc8 "")
> > at pbuf.c:2555
> > pppoe_hdr = (struct pppoe_hdr *) 0x4000
> > protocol = -38806530
> > srcHost = (HostTraffic *) 0x0
> > dstHost = (HostTraffic *) 0x800
> > ehdr = {ether_dhost = {ether_addr_octet = "\000\003G�j�"},
> > ether_shost = {ether_addr_octet = "\b\000 ���"}, ether_type = 2048}
> > trp = (struct tokenRing_header *) 0xfdafdbd6
> > fddip = (struct fddi_header *) 0xfdafdb4e
> > hlen = 14
> > caplen = 2048
> > headerDisplacement = 4279526456
> > length = 154
> > orig_p = (u_char *) 0xfdafdbc8 ""
> > p1 = (u_char *) 0xfdafdb4e "\b"
> > ether_src = (u_char *) 0xfdafdb4e "\b"
> > ether_dst = (u_char *) 0xfdafdb48 ""
> > eth_type = 2048
> > trllc = (struct tokenRing_llc *) 0xfdafdbd6
> > ipxBuffer = '\000' <repeats 32 times>,
> > "�\021�\210\000\000\000\000\000\000\000\000\000\000S�", '\000'
> > <repeats 20 times>,
> > "�\0240��\024h��\023\013\030�\023\006�\000\000\006O����\000\000\000\000���h�\021�\210",
> >
> > '\000' <repeats 23 times>
> > actualDeviceId = 0
> > vlanId = -1
> > #2 0xff11a2f4 in queuePacket (_deviceId=0x0, h=0xfdaffc68, p=0xd4c22 "")
> > at pbuf.c:1627
> > p1 = "\000\003G�j�\b\000
> > [EMAIL
> > PROTECTED]@\006\a�\nde\002���\202\000\026H\r|a��A1-�P\030��If\000\000�\000lW=�?q\017\005g\r�\225H\235�C\e�f�F=\216i\023N�O3s\205o�PD\b?�q
> >
> > �qlS���\205��g\037\027\203v�\f\213\027�\016���\231�\230�3�\020ͳ\233�\220��*\200�\224.Z\aX|j2Y�\211��`D�^",
> >
> > '\000' <repeats 2817 times>, "\001�\023#�", '\000' <repeats 55 times>,
> > "A\000\000\000s", '\000' <repeats 15 times>, "A", '\000' <repeats 100
> > times>...
> > len = 8232
> > #3 0x17be4 in pcap_read ()
> > No symbol table info available.
> > #4 0xff114164 in pcapDispatch (_i=0x0) at ntop.c:81
> > rc = 871056
> > pcapStats = {ps_recv = 0, ps_drop = 0, ps_ifdrop = 0}
> > pcapStats = {ps_recv = 0, ps_drop = 0, ps_ifdrop = 0}
> > --------------------------------------
> >
> > Any help would be greatly appreciated.
> >
> > Leonardo
> >
>
> --
>
> +======================================================================+
> | Leonardo Valcamonici |
> | |
> | CASPUR |
> | Italian Interuniversities Consortium for Supercomputing Applications |
> | Via dei Tizii, 6b - 00185 Rome (Italy) |
> +======================================================================+
> | e-mail: [EMAIL PROTECTED] voice : +39-6-44486311 |
> | mobile: +39-335-1444455 fax : +39-6-4957083 |
> +======================================================================+
>
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
--
[EMAIL PROTECTED] Chris Turbeville NTT/VERIO
Send mail with subject "send PGP Key" for PGP 6.5.2 Public key
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop