I have 02-04-24 running successfully, and have a few questions.

I start ntop with

/usr/local/bin/./ntop -P /var/log/ntop -p /usr/local/share/ntop/protocol -u
ntop -E -w 3000 -S 1 -r 240 -i eth0,eth1 -b localhost:4000


It seg faults at:
                                            
INSERT INTO NameMapper (IPaddress, Name) VALUES ('172.19.2.76',
'win2kd-000-0004
')

 

****Segmentation fault    
(see below for gdb info)


If i start it with 

/usr/local/bin/./ntop -P /var/log/ntop -p /usr/local/share/ntop/protocol -u
ntop -E -w 3000 -S 1 -r 240 -i eth0,eth1 -j -b localhost:4000 

it works ok with output to mySQL

A few more observations/questions:

1. Going to the configuration page it shows that GD Chart is not enabled.
>From an earlier post BMS showed instructions on how to fix the error message
created by various versions of libpng. However, i built the gd libs from the
latest cvs using the standard instructions within Buildntop.txt. I used the
older libpng as i have other apps using that library. It built without
errors but GD Chart is not enabled??

2. Going to trafficstats i see that the Nw Interface type is only Eth0 but
ntop is started specifying both eth0,eth1, it even shows sniffing on both
during startup, i can switch interfaces through the admin page but i need to
see both.


3. In datarcvd and datasent what happened to the protocol's link? For that
matter what happened to the Matrix page showing to and from traffic???

4. TCP Session data is not available when using the -j switch. From what i
understand the -j disables ntop's awareness of mac addresses for a switch
aware environment (that i am in) is this how tcp session tracking is
accomplished?


from gdb re: -b seg fault issue:

*******

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 9226 (LWP 26052)]

0x404a5106 in _IO_vfprintf (s=0x456bcbfc,

    format=0x4022c120 "INSERT INTO TCPsessions (Client, Server, ClientPort,
Serv
erPort, DataSent, DataRcvd, FirstSeen, LastSeen) VALUES ('%s', '%s', '%d',
'%d',
 '%llu', '%llu', '%s', '%s')", ap=0x456bcd2c)

    at ../sysdeps/i386/i486/bits/string.h:530

530     ../sysdeps/i386/i486/bits/string.h: No such file or directory.




Not sure where to go from here for further debuggin...
 



PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message.  If
you are not the addressee indicated in this message or the employee or agent
responsible for delivering it to the addressee, you are hereby on notice
that you are in possession of confidential and privileged information.  Any
dissemination, distribution, or copying of this e-mail is strictly
prohibited.  In such case, you should destroy this message and kindly notify
the sender by reply e-mail.  Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.
Opinions, conclusions, and other information in this message that do not
relate to the official business of the sender's firm shall be understood as
neither given nor endorsed by it. E-mail cannot be guaranteed to be secure,
error free or free from viruses. Royal does not accept any liability
whatsoever for any loss or damage which may be caused as a result of the
transmission of this e-mail. 


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to