ntop unter freeBSD 5.2.1

Post Reply
Message
Author
cc
Posts: 191
Joined: 18. Apr 2003 18:04

ntop unter freeBSD 5.2.1

#1 Post by cc »

hi

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

gruss
cc

User avatar
heinrich
Posts: 219
Joined: 22. Sep 1999 11:22
Location: N49.137 E8.544

#2 Post 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/* ;-)
It just works.

cc
Posts: 191
Joined: 18. Apr 2003 18:04

#3 Post 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 ?

User avatar
heinrich
Posts: 219
Joined: 22. Sep 1999 11:22
Location: N49.137 E8.544

#4 Post 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
It just works.

cc
Posts: 191
Joined: 18. Apr 2003 18:04

#5 Post 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

cc
Posts: 191
Joined: 18. Apr 2003 18:04

#6 Post 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

Post Reply