• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Installation von ntop unter Suse 12.1

mad-max

Member
Hallo zusammen,

ich habe über die Install-CD über Yast ntop bei mir installiert.
Beim check ob ntop auch tatsächlich läuft, erhalte ich die folgende Meldung:

Code:
Config file /etc/sysconfig/ntop not found.

In dem besagten Ordner befindet sich auch keine config Datei.
Muss ich diese zuerst erstellen?
 

longman

Advanced Hacker
Ich habe es mal gerade zum Test mit zypper aus den repos installiert.
Beim Aufruf wird erstmal eine Grundkonfiguration (mit admin PW Vergabe) durchgeführt.
Anschliessend kann man sowohl ntop als auch den daemon "rcnetwork start" aufrufen.

Hast Du das auch mal probiert ?

Allerdings habe ich ntop bislang nie benötigt und auch keine Erfahrung damit.
Deshalb kann ich darüberhinaus leider keine gezielte Hilfe leisten.
 
Wenn ich ntop installiere, erhalte ich unter anderen diesen Hinweis:

Code:
Zusätzliche rpm-Ausgabe:                                                                                                                                                              
Updating /etc/sysconfig/ntop

Hätte also automatisch geschehen sollen.

So sieht die /etc/sysconfig/ntop aus:

Code:
## Path:           Network/Monitors/Ntop
## Description:    ntop startup parameters
## Type:           string(eth0)
## Default:        eth0
## Config:
## ServiceRestart: ntop
#
# Specifies the network interface used by ntop
#
NTOPD_IFACE="eth0"

## Type:        ip
## Default:     127.0.0.1:3000
#
# Supposing to start  ntop  at  the port  3000,
# the  URL  to  access  is http://hostname:3000/
#
# Please note that an HTTP server is NOT needed  in
# order to use the program in interactive mode.
#
NTOPD_PORT="127.0.0.1:3000"

## Type:        integer(0:65535)
## Default:
#
# define SSL port. Please note, that you have to generate 
# a certificate to run run ntop with this option.
# This may be done with the commands:
# openssl req -new -x509 -sha1 -extensions v3_ca -nodes -days 365 -out cert.pem
# cat privkey.pem cert.pem > /etc/ntop/ntop-cert.pem
# /bin/rm -f privkey.pem cert.pem
#
# NTOPD_SSL_PORT="3001"
#
NTOPD_SSL_PORT=""

## Type:        string
## Default:     "ntop"
#
# define the user to run ntop. This should not be root!
#
NTOP_USER="ntop"

## Type: string
## Default: ""
## ServiceRestart: ntop
#
# Additional arguments when starting ntop with the init script
# /etc/init.d/ntop or rcntop.
#
# See man 8 ntop for all available commandline options.
#
NTOP_ARGS=""
 
OP
M

mad-max

Member
Hallo;
danke für die Configdatei.
Hat jetzt alles funktioniert. Ich wurde aufgefordert ein Admin Kennwort zu setzen.
Webinterface ist ebenfalls zu erreichen.
 
Oben