Page 1 of 1

ntop unter freeBSD 5.2.1

Posted: 11. Sep 2004 16:23
by cc
hi

wie starte ich ntop unter freeBSD 5.2.1 und wo finde ich config file ?

gruss
cc

Posted: 13. Sep 2004 19:36
by heinrich
>
> wie starte ich ntop unter freeBSD 5.2.1
>

Falls du ntop noch nicht installiert hast, kannst du es aus dem Ports Tree installieren (Verzeichnis müsste /usr/ports/ntop sein).

Zu Ports Tree und Packages siehe das passende Kapitel im FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO885 ... ports.html
http://www.freebsd.org/doc/de_DE.ISO885 ... ports.html

Alle per Ports Tree nachinstallierten Programme findest i.d.R. unterhalb von /usr/local. Das Binary also unterhalb von /usr/local/bin.

>
> und wo finde ich config file ?
>

Den config File solltest du unterhalb von /usr/local finden sofern du beim Installieren keinen anderen Installationsort angegeben hast. Im Fall von ntop sehr wahrscheinlich unterhalb von /usr/local/etc/ntop/* ;-)

Posted: 13. Sep 2004 23:10
by cc
ntop habe via ports installiert und kann problemlos von der shell konsole starten.
config file habe auch gefunden, aber wenn ich in browser:

http://localhost:3000

versuche, dann passiert nichts.

brauche ich vielleicht zusätzlich apache zu installieren ?

Posted: 15. Sep 2004 20:07
by heinrich
Vielleicht trifft folgendes Problem (und Lösung) auf dich zu:

Re: [Ntop] ntop freebsd 5.2 web access not workin
http://www.mail-archive.com/ntop@unipi.it/msg08203.html

Posted: 01. Nov 2004 1:51
by cc
sorry dieser link hilft nicht weiter

und ich finde kein config file unter:

# cd /usr/local/etc/ntop
# ls -la
total 598
drwxr-xr-x 2 root wheel 512 Nov 1 00:47 .
drwxr-xr-x 12 root wheel 1024 Nov 1 00:47 ..
-rw-r--r-- 1 root wheel 14310 Aug 11 2003 etter.passive.os.fp.gz
-rw-r--r-- 1 root wheel 1977 Jan 2 2002 ntop-cert.pem
-rwxr-xr-x 1 root wheel 333530 Feb 16 2004 oui.txt.gz
-rw-r--r-- 1 root wheel 200785 Feb 16 2004 p2c.opt.table.gz
-rwxr-xr-x 1 root wheel 749 Apr 24 2003 specialMAC.txt.gz

Posted: 30. Nov 2004 23:54
by cc
Ich glaube, da ist kein ntop.conf wie z.B bei linux.

unter freeBSD sollte man

/usr/local/etc/rc.d/ntop.sh

ändern und that's it.


ntop kann man problemlos starten mit:

Code: Select all

sh /usr/local/etc/rc.d/ntop.sh start
oder vom startup:

Code: Select all

# cd /usr/local/etc/rc.d/
#  chmod 555 ntop.sh
gruss
cc