Ok I am not good at debuging but i read the faq and
itsaid to do a back trace in gdb so i did, here it is:
(gdb) bt full
#0 0x00002b5b8d666136 in fillDomainName (el=0xc4fe40)
at util.c:3500
i = 4294967295
ip2cc = <value optimized out>
#1 0x00002b5b8d3ef826 in getHostCountryIconURL
(el=0x6b9ed0) at webInterface.c:771
path =
"p#\000C\000\000\000\000\027\000\000\000\000\000\000\000\001",
'\0' <repeats 11 times>, "[+\000\000ÑTg\215[+\000\000
.\210\215[+\000\000pCa\000\000\000\000\000\200\000\000\000\000\000\000\000pCa\000\000\000\000\000p#\000C\000\000\000\000\001\000\000\000\000\000\000\000Ì8d\215[+",
'\0' <repeats 14 times>,
"[+\000\000p#\000C\000\000\000\000\027", '\0' <repeats
19 times>, "[+\000\000marker.png
borde\001\000\000\000\000\000\000\000p#\000C\000\000\000\000p$\000C\000\000\000\000pbe\215[+",
'\0' <repeats 14 times>, "[+", '\0' <repeats 14
times>, "[+"...
img = <value optimized out>
source = <value optimized out>
buf = {st_dev = 1124082544, st_ino =
47672216530592, st_nlink = 23,
st_mode = 2396892849, st_uid = 11099, st_gid = 0,
pad0 = 0, st_rdev = 0,
st_size = 4079888530, st_blksize = -10485687,
st_blocks = 23, st_atim = {
tv_sec = 47672226298640, tv_nsec =
47672226298832}, st_mtim = {tv_sec = 47672214377624,
tv_nsec = 143326}, st_ctim = {tv_sec =
47672233534525, tv_nsec = 143327}, __unused = {
47672214337096, 47672214377624, 47672214335578}}
rc = <value optimized out>
flagBuf = " <!-- No flag for null or null
-->", '\0' <repeats 344 times>
#2 0x00002b5b8d3f05db in makeHostLink (el=0xc4fe40,
mode=1, cutName=0, addCountryFlag=1,
buf=0x430028d0 "<th align=\"left\" nowrap
width=\"250\">\n<a class=tooltip href=\"/38.11---Type
<return> to continue, or q <return> to quit---
8.85.21.html\" >38.118.85.21 [IP]</a>\n <A
class=external href=\"#\" title=\"Physical Host
Location\"onclick=\"window.open('http://www.ntop"...,
bufLen=2048) at webInterface.c:538
symIp = "508-ernie-1", '\0' <repeats 244
times>
linkName = "192.168.0.117", '\0' <repeats 242
times>
flag = '\0' <repeats 255 times>
colorSpec = '\0' <repeats 63 times>
vlanStr = "¦þÄ\000\000\000\000"
mapStr = " <A class=external href=\"#\"
title=\"Physical Host
Location\"onclick=\"window.open('http://www.ntop.org/cgi-bin/[EMAIL PROTECTED]',
'Host Map', 'height=210, width=320,toolbar=nodire"...
osBuf = '\0' <repeats 127 times>
titleBuf = '\0' <repeats 255 times>
noteBuf = '\0' <repeats 255 times>
noteBufAppend = '\0' <repeats 63 times>
tooltip = " class=tooltip", '\0' <repeats 18
times>, "[EMAIL PROTECTED]",
'\0' <repeats 34 times>,
"ÿÿÿÿ\000\000\000\000ã\202?\215[+", '\0' <repeats 161
times>
dhcpBootpStr = <value optimized out>
p2pStr = <value optimized out>
multihomedStr = <value optimized out>
multivlanedStr = <value optimized out>
gwStr = <value optimized out>
brStr = <value optimized out>
---Type <return> to continue, or q <return> to quit---
dnsStr = <value optimized out>
printStr = <value optimized out>
smtpStr = <value optimized out>
healthStr = <value optimized out>
userStr = <value optimized out>
httpStr = <value optimized out>
ntpStr = <value optimized out>
voipHostStr = <value optimized out>
custom_host_name = '\0' <repeats 127 times>
usedEthAddress = 0
i = <value optimized out>
#3 0x00002b5b8d3c29ce in printHostsInfo
(sortedColumn=<value optimized out>, revertOrder=0,
pageNum=0, showBytes=1, vlanId=<value optimized
out>, ifId=<value optimized out>,
knownSubnetId=-2) at report.c:2865
tmpName1 = 0xc4fea6 "192.168.0.117"
tmpName2 = 0x2b5b8d67353c " "
tmpName3 = 0x2b5b8d67353c " "
sniffedName = '\0' <repeats 16 times>,
"ç!?\215[+\000\000°KÍ\000\000\000\000\000\v\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\v\000\000\000\000\000\000\000!H\000C\000\000\000\000
.\210\215[+\000\000\201\";\215[+", '\0' <repeats 30
times>, "@\000\000\000`M\000C\000\000\000\000 H\000C",
'\0' <repeats 39 times>, "25574", '\0' <repeats 40
times>,
"([EMAIL
PROTECTED]<\000C\000\000\000\000¸c\221\216[+\000\000\001\000\000\000\000200f\000\000\000\000\000\000\000
\000\000\000\000200@<\000C", '\0' <repeats 20
ti---Type <return> to continue, or q <return> to
quit---
mes>, "(\000\000\0000\000\000"...
idx = 9
numEntries = 23
maxHosts = 24
printedEntries = 9
maxBandwidthUsage = 58
el = (HostTraffic *) 0xc4fe40
tmpTable = <value optimized out>
buf = "<TR onMouseOver=\"this.bgColor =
'#EDF3FE'\" onMouseOut =\"this.bgColor = '#FFFFFF'\"
>\00012><IMG ALIGN=ABSMIDDLE SRC=\"/gaugeR.jpg\"
ALT=\"Received 3%\" WIDTH=9
HEIGHT=12> </TD>\n\000\000\000\000\000html?col=1\">Host</A><"...
arrowGif = <value optimized out>
sign = 0x2b5b8d3f309c "-"
arrow = {0x2b5b8d3f1a82 "" <repeats 12 times>}
theAnchor = {0x43003e40 "<A
HREF=\"/hostsInfo.html?col=" <repeats 12 times>}
osBuf =
"\001\000\000\000/\000\000\000G`\230\001\000\000\000\000\020=\000C\000\000\000\000\200>\000C\000\000\000\000\230>\000C\000\000\000\000`ñ8\215[+",
'\0' <repeats 18 times>,
"¸ê\030\215[+\000\000\017%9\215[+\000\000
\0279\215[+\000\000È\r9\215[+\000\000\000\000\000\000\001\000\000\000/\001\000\000\001\000\000\000\001\000\000\000\000\000\000\000\020î\030\215[+\000\000Ð>\000C\000\000\000\000\200>\000C\000\000\000\000ï\021\030f\000\000\000\000\230>\000C\000\000\000"
htmlAnchor = "<A
HREF=\"/hostsInfo.html?col=-\000\000\017\000\000\000\000\000\000\000°{)\000\000\000\000\000`¦Í",
'\0' <repeats 12 times>
---Type <return> to continue, or q <return> to quit---
htmlAnchor1 = "<A
HREF=\"/hostsInfo.html?col=", '\0' <repeats 19 times>,
"0\000\000\0000\000\000\000x?\000C\000\000\000"
formatBuf = "13
sec\000\000\000\000\000\000\000\000\000\000Fri, 29 Feb
2008"
hostLinkBuf = "<th align=\"left\" nowrap
width=\"250\">\n<a class=tooltip
href=\"/38.118.85.21.html\" >38.118.85.21 [IP]</a>\n
<A class=external href=\"#\" title=\"Physical Host
Location\"onclick=\"window.open('http://www.ntop"...
foundVlan = 0 '\0'
vlanStr = "&vlan=65535\000[+\000"
ifStr = "&if=65535\000\000\000\000\000\000"
foundIf = 1 '\001'
knownSubnets = (u_int8_t *) 0xce8d60 ""
#4 0x00002b5b8d3b7fe9 in handleHTTPrequest (from=
{hostFamily = 2, addr = {_hostIp4Address =
{s_addr = 3232235570}}}) at http.c:2673
hostName = "
.\210\215[+\000\000R:\030\215[+\000\000\000\000\000\000\000\000\000\000\227d\217\216[+\000"
rc = 0
i = <value optimized out>
postLen = <value optimized out>
usedFork = 0
requestedURL = "/hostsInfo.html", '\0'
<repeats 496 times>
pw = "YWRtaW46d2VlYmxl", '\0' <repeats 47
times>
agent = "Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8.1.11) Gecko/20071127
Firefox/2.0.0.11", '\0' <repeats 163 times>
---Type <return> to continue, or q <return> to quit---
referer =
"http://sn-vmware1:3000/trafficStats.html", '\0'
<repeats 215 times>
workLanguage = '\0' <repeats 255 times>
ifModificedSince = '\0' <repeats 47 times>
requestedURLCopy = 0xcda660
"/tmp/ntop-gzip-25574"
httpRequestedAt = {tv_sec = 1204281958,
tv_usec = 117929}
gzipBytesSent = 0
tmpStr = '\0' <repeats 511 times>
isPostMethod = 0
#5 0x00002b5b8d3e565b in handleWebConnections
(notUsed=<value optimized out>)
at webInterface.c:9014
wait_time = {tv_sec = 0, tv_usec = 80000}
rc = <value optimized out>
mask = {fds_bits = {2048, 0 <repeats 15
times>}}
mask_copy = {fds_bits = {2048, 0 <repeats 15
times>}}
topSock = <value optimized out>
#6 0x00002b5b8e1e1317 in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
#7 0x00002b5b8e902d5d in clone () from /lib/libc.so.6
No symbol table info available.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
--- Mike Liberatore <[EMAIL PROTECTED]> wrote:
> ok sorry for another e-mail, i thought since the cli
> didnt show any errors there was none, well i was
> dumb
> because i checked messages and i got a boat load of
> sefaults when these pages dont load:
>
> Feb 29 04:35:24 sn-vmware1 kernel: [8139663.258315]
> ntop[26748]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000043001660 error 4
> Feb 29 04:35:46 sn-vmware1 kernel: [8139685.214388]
> ntop[26750]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000042ffc230 error 4
> Feb 29 04:35:59 sn-vmware1 kernel: [8139698.179855]
> ntop[26751]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000042ffc230 error 4
> Feb 29 04:36:09 sn-vmware1 kernel: [8139708.935032]
> ntop[26752]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000042ffc230 error 4
> Feb 29 04:40:15 sn-vmware1 kernel: [8139954.242979]
> ntop[26775]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000043001570 error 4
> Feb 29 04:40:26 sn-vmware1 kernel: [8139964.633838]
> ntop[26776]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000043001570 error 4
> Feb 29 04:40:26 sn-vmware1 kernel: [8139965.408970]
> ntop[26777]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000043001570 error 4
> Feb 29 04:40:27 sn-vmware1 kernel: [8139966.003203]
> ntop[26778]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000043001570 error 4
> Feb 29 04:40:34 sn-vmware1 kernel: [8139972.714862]
> ntop[26779]: segfault at 00000001006c483f rip
> 00002b4dcf7fa8a6 rsp 0000000043001570 error 4
>
>
>
> just wanted to add that, i have no idea what it
> means
> though :(
> --- Mike Liberatore <[EMAIL PROTECTED]> wrote:
>
> > OK i think i figured it out, i installed rrdtools
> > 1.0.49 as recommened (I was running latest 1.2.x
> > release) and so far i think its ok.
> >
> > weird thing, i dont know if its related before i
> > fixed
> > the rrdtools (on my first run of ntop) many html
> > pages
> > were coming up blank (ip hosts, hosts, etc) but
> > others
> > such as summary, local to local, etc were working.
> > could this be related? i disabled rrd and it
> still
> > wasnt working.
> >
> > after fixing rrdtool and turning back on rrd it
> > seems
> > ok so far, it looks like all pages are working
> now.
> >
> >
> >
> >
> > --- Mike Liberatore <[EMAIL PROTECTED]> wrote:
> >
> > > Hi i finally dumped my old broken windows ntop
> and
> > > installed it on one of my linux boxes. so far
> the
> > > newer version is AWESOME.
> > >
> > > One problem, i am getting CLI errors regarding
> > rrd.
> > > I
> > > did give permission to the ntop directory to the
> > > ntop
> > > user and it doesnt error on creating
> directories,
> > > etc
> > > but i am getting the errors below. i am
> thinking
> > > maybe a rrdtool version issue??? any help would
> > be
> > > great:
> > >
> > > Fri Feb 29 03:01:40 2008 **ERROR** [1]
> > >
> >
>
'/usr/local/share/ntop/rrd/interfaces/NetFlow-device.2/IP_TelnetFlows.rrd'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [2]
> '--start'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [3]
> > '1204272099'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [4] '--step'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [5] '300'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [6]
> > > 'DS:counter:DERIVE:900:0:125000000'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [7]
> > > 'RRA:AVERAGE:0.5:1:864'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [8]
> > > 'RRA:MIN:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [9]
> > > 'RRA:MAX:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [10]
> > > 'RRA:AVERAGE:0.5:12:2160'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [11]
> > > 'RRA:AVERAGE:0.5:288:1080'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [12]
> > > 'RRA:HWPREDICT:1440:0.1:0.0035:20'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [0]
> > 'rrd_create'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [1]
> > >
> >
>
'/usr/local/share/ntop/rrd/interfaces/NetFlow-device.2/IP_TelnetBytes.rrd'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [2]
> '--start'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [3]
> > '1204272099'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [4] '--step'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [5] '300'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [6]
> > > 'DS:counter:DERIVE:900:0:125000000'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [7]
> > > 'RRA:AVERAGE:0.5:1:864'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [8]
> > > 'RRA:MIN:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [9]
> > > 'RRA:MAX:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [10]
> > > 'RRA:AVERAGE:0.5:12:2160'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [11]
> > > 'RRA:AVERAGE:0.5:288:1080'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [12]
> > > 'RRA:HWPREDICT:1440:0.1:0.0035:20'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [0]
> > 'rrd_create'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [1]
> > >
> >
>
'/usr/local/share/ntop/rrd/interfaces/NetFlow-device.2/IP_NBios-IPFlows.rrd'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [2]
> '--start'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [3]
> > '1204272099'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [4] '--step'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [5] '300'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [6]
> > > 'DS:counter:DERIVE:900:0:125000000'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [7]
> > > 'RRA:AVERAGE:0.5:1:864'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [8]
> > > 'RRA:MIN:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [9]
> > > 'RRA:MAX:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [10]
> > > 'RRA:AVERAGE:0.5:12:2160'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [11]
> > > 'RRA:AVERAGE:0.5:288:1080'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [12]
> > > 'RRA:HWPREDICT:1440:0.1:0.0035:20'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [0]
> > 'rrd_create'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [1]
> > >
> >
>
'/usr/local/share/ntop/rrd/interfaces/NetFlow-device.2/IP_NBios-IPBytes.rrd'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [2]
> '--start'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [3]
> > '1204272099'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [4] '--step'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [5] '300'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [6]
> > > 'DS:counter:DERIVE:900:0:125000000'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [7]
> > > 'RRA:AVERAGE:0.5:1:864'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [8]
> > > 'RRA:MIN:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [9]
> > > 'RRA:MAX:0.5:1:72'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [10]
> > > 'RRA:AVERAGE:0.5:12:2160'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [11]
> > > 'RRA:AVERAGE:0.5:288:1080'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [12]
> > > 'RRA:HWPREDICT:1440:0.1:0.0035:20'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [0]
> > 'rrd_create'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [1]
> > >
> >
>
'/usr/local/share/ntop/rrd/interfaces/NetFlow-device.2/IP_DHCP-BOOTPFlows.rrd'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [2]
> '--start'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [3]
> > '1204272099'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [4] '--step'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [5] '300'
> > > Fri Feb 29 03:01:40 2008 **ERROR** [6]
>
=== message truncated ===
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop