Strip it down to the bare minimum:

        /usr/local/bin/ntop --no-interface-merge \
             --interface eth0,eth1 --user ntop \
             --trace-level 5 --local-subnets 10.1.1.0/24 \
             --http-server 3000

(That command should be equivalent to running tcpdump (separately) on the
two interfaces...) and see what ntop is seeing.

Post the ifconfig output - it's odd you need a --local-subnets

Post the full startup log


-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David
Shapiro
Sent: Monday, July 15, 2002 4:11 PM
To: 'Burton M. Strauss III'; [EMAIL PROTECTED]
Cc: David Shapiro
Subject: RE: [Ntop] No information on web pages displaying


I am confused.  If I add -f /home/ntop/tcpdump.log and run tcpdump -w
/home/ntop/tcpdump.log &, it works.  I guess that means ntop packet
collecting process is not working.  What should I check?  Or should I just
run it the way I just got it working?

David


-----Original Message-----
From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 5:01 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Ntop] No information on web pages displaying


Just running without the options should be enough.  If you don't specify a
database, the code lies dormant.

-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David
Shapiro
Sent: Monday, July 15, 2002 3:39 PM
To: 'Burton M. Strauss III'; [EMAIL PROTECTED]
Cc: David Shapiro
Subject: RE: [Ntop] No information on web pages displaying


Do I need to rebuild ntop without the --enable-mysql option, or is it good
enough to just not use the -v -b options to satisfy the below request?

-----Original Message-----
From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 4:40 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Ntop] No information on web pages displaying


Most web pages are built by ntop on the fly.  Certainly any with data in
them.

Try running without the database stuff and make sure ntop is recording and
displaying data.

-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David
Shapiro
Sent: Monday, July 15, 2002 2:10 PM
To: '[EMAIL PROTECTED]'
Subject: [Ntop] No information on web pages displaying


Hello,

I have a cvs I was able to build earlier from cvs (version 2.1.0).  I buildt
with --enable-mysql and --enable-sslv3.  None of the links point to pages
that exist (e.g., All Protocols points at SortDataReceivedProtos.html, but
this page does not exist).  Do these get autogenerated by something?  My
mysql database NTOP was populated with tables doing the following:

mysqladmin -u ntop -p create NTOP
mysql -u ntop -p NTOP < database/mySQLdefs.txt  # user ntop was given ALL
control to
database and tables in NTOP

and ran:
perl database/mySQLserver.pl &          # modified script to use port 3306
and added
                                                        # username/password
section to DBD::connect

and started ntop with

  cd /usr/local/etc
        /usr/local/bin/ntop \
        -a /var/log/ntop-access.log \
        -b localhost:3306 \
        -l pcap.log \
        --no-interface-merge \
        --interface eth0,eth1 \
        --user ntop \
        --trace-level 5 \
        --enable-external-tools \
        --store-mode 2 \
        --mysql-host ntop:password:NTOP:localhost \             # real
password omitted here
        --local-subnets 10.1.1.0/24 \
        --http-server 3000 \
        --https-server 7000

No errors occur, including none about database failures.  But no data is in
the tables and none of those web page links exist.  Am I doing something
wrong?
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to