Date: Tue, 19 Dec 2000 13:48:16 +1000 From: "Doug Young" <dougy@bryden.apana.org.au> To: <freebsd-questions@FreeBSD.ORG> Subject: ntop configuration Message-ID: <030001c0696e$86a5b660$847e03cb@apana.org.au>
index | next in thread | raw e-mail
[-- Attachment #1 --] I'm (still !!!!) messing about with ntop configuration ..... now its the latest snapshot in a 4.1 RELEASE system. I've compiled gdbm / compiled ntop ..... noticed it found SSL and incorporated that, so at least this here beast isn't wide open to all the merryhackers When I run /usr/local/bin/ntop, it returns '/usr/local/var/ntop/dnsCache.db' open failed OK so I figure I'll fix this sucker by creating a blank dnsCache.db using makemap hash on a blank dnsCache ..... that returns '/usr/local/var/ntop/dnsCache.db' open failed: Bad magic number 'Possible solution: please use '-P <directory>' Well that didn't work ..... so lets make a blank /tmp/ntop directory& make it world read / write ...... that returns '/usr/local/var/ntop/dnsCache.db' open failed OK so lets see now ..... looks to me like ntop can actually SEE the blank db but it doesn't like what it sees so it spits the dummy So where to from here ?? ........ anyone have suggestions ?? FWIW, at end of gdbm compile there was a message I didn't understand about linking something or other ....... could that be a factor ?? [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4134.600" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I'm (still !!!!) messing about with ntop configuration ..... now its the </FONT></DIV> <DIV><FONT face=Arial size=2>latest snapshot in a 4.1 RELEASE system. I've compiled gdbm / </FONT></DIV> <DIV><FONT face=Arial size=2>compiled ntop ..... noticed it found SSL and incorporated that, so </FONT></DIV> <DIV><FONT face=Arial size=2>at least </FONT><FONT face=Arial size=2>this here beast isn't wide open to all the merryhackers</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>When I run /usr/local/bin/ntop, it returns </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>'/usr/local/var/ntop/dnsCache.db' open failed</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>OK so I figure I'll fix this sucker by creating a blank dnsCache.db using makemap hash</FONT></DIV> <DIV><FONT face=Arial size=2>on a blank dnsCache ..... that returns</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>'/usr/local/var/ntop/dnsCache.db' open failed: Bad magic number</FONT></DIV> <DIV><FONT face=Arial size=2>'Possible solution: please use '-P <directory>'</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Well that didn't work ..... so lets make a blank /tmp/ntop directory& make it world read / write ...... that returns </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>'/usr/local/var/ntop/dnsCache.db' open failed</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>OK so lets see now ..... looks to me like ntop can actually SEE the blank db but it doesn't like what it sees so it spits the dummy</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>So where to from here ?? ........ anyone have suggestions ??</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>FWIW, at end of gdbm compile there was a message I didn't understand about linking something </FONT><FONT face=Arial size=2>or other ....... could that be a factor ??</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?030001c0696e$86a5b660$847e03cb>
