Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_02FD_01C069C2.5695BE80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm (still !!!!) messing about with ntop configuration ..... now its the =

latest snapshot in a 4.1 RELEASE system. I've compiled gdbm /=20
compiled ntop ..... noticed it found SSL and incorporated that, so=20
at least this here beast isn't wide open to all the merryhackers

When I run /usr/local/bin/ntop, it returns=20

'/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=20

'/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 ??




------=_NextPart_000_02FD_01C069C2.5695BE80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm (still !!!!) messing about with =
ntop=20
configuration ..... now its the </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>latest snapshot in a 4.1 RELEASE =
system. I've=20
compiled gdbm / </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compiled ntop ..... noticed it found =
SSL and=20
incorporated that, so </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>at least </FONT><FONT face=3DArial =
size=3D2>this here=20
beast isn't wide open to all the merryhackers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I run /usr/local/bin/ntop, it =
returns=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>'/usr/local/var/ntop/dnsCache.db' open=20
failed</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>OK so I figure I'll fix this sucker by =
creating a=20
blank dnsCache.db using makemap hash</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>on a blank dnsCache ..... that =
returns</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>'/usr/local/var/ntop/dnsCache.db' open =
failed: Bad=20
magic number</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>'Possible solution: please use '-P=20
&lt;directory&gt;'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Well that didn't work ..... so lets =
make a blank=20
/tmp/ntop directory&amp; make it world read / write ...... that returns=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>'/usr/local/var/ntop/dnsCache.db' open=20
failed</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>OK so lets see now ..... looks to me =
like ntop can=20
actually SEE the blank db but it doesn't like what it sees so it spits =
the=20
dummy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So where to from here ?? ........ =
anyone have=20
suggestions ??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>FWIW, at end of gdbm compile there was =
a message I=20
didn't understand about linking something </FONT><FONT face=3DArial =
size=3D2>or=20
other ....... could that be a factor ??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_02FD_01C069C2.5695BE80--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?030001c0696e$86a5b660$847e03cb>