File: 1STRUN.txt

package info (click to toggle)
ntop 3:3.3-11
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,772 kB
  • ctags: 7,534
  • sloc: ansic: 71,427; sh: 16,772; awk: 1,504; perl: 792; makefile: 782; php: 123; python: 23; sql: 13; sed: 11
file content (60 lines) | stat: -rw-r--r-- 2,377 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Running ntop for the first time
===============================

The 1st time ntop is run, ntop will prompt the user for the admin password and 
create a new password database file.

The most efficient way to do this is to manually run ntop with a limited command 
line, let it create the file and then shutdown.  

After the 1st run, ntop will operate without this intervention, unless the 
password database ntop_pw.db can not be found, which is treated as a 1st time 
run.

Remember - you must create a user for ntop to run.  This userid should have
only minimal privledges, but it needs to be able to read/write in the
directory where the ntop databases are stored.  ntop is customary, but it
can be anything - it's shown as "<ntopuserid>" below.

***Win32*** Skip -u, it's not valid for Win32 anyway...

The (recommended) minimal command line is:

/usr/bin/ntop -P <your directory> -u <ntopuserid> -A

DO NOT give the -d parameter.  You may need other parameters if the default 
values interfere with ntop's ability to run.  But this execution will not be 
operational for long, so don't bother with a full command line.

The output from ntop will look like this:

[root@tigger root]# /usr/bin/ntop -P /usr/share/ntop -u ntop -A
Wait please: ntop is coming up...
DD/MMM/YYYY HH:MM:SS Initializing IP services...
SSL is present but https is disabled: use -W <https port> for enabling it
DD/MMM/YYYY HH:MM:SS Initializing GDBM...
DD/MMM/YYYY HH:MM:SS Initializing network devices...
DD/MMM/YYYY HH:MM:SS ntop v.2.0.99 ntop-02-04-12.tgz MT (SSL) [i686-pc-linux-gnu] (04/12/02 10:02:15 AM build)
DD/MMM/YYYY HH:MM:SS Listening on [eth0]
DD/MMM/YYYY HH:MM:SS Copyright 1998-2002 by Luca Deri <deri@ntop.org>
DD/MMM/YYYY HH:MM:SS Get the freshest ntop from http://www.ntop.org/
DD/MMM/YYYY HH:MM:SS Initializing...
...
DD/MMM/YYYY HH:MM:SS Welcome to sFlow: listening on UDP port 6343...

Please enter the password for the admin user: 

*****enter the admin password ("admin" is NOT a good idea) and press enter!

Please enter the password again: 

*****enter the admin password again and press enter!

*****ntop will store the password and stop.

You should now be able to run ntop as usual.

------------------------------------------------------
Burton M. Strauss III <BStrauss@acm.org>      Sep 2002
(Revised to reflect the -A parameter)
(Revised w/ the Win32 skip -u note)