Burton,

I am not to familiar with gdb so I am not sure if this is what you meant to
do.  I also tried with an arg of -B "ip" and it gave me the same error.

(gdb) file /usr/local/bin/ntop
Reading symbols from /usr/local/bin/ntop...done.
(gdb) set args -d -w 3000 -W 3001 -P /stor2/ntop -K --disable-schedyield
(gdb) show args
Argument list to give program being debugged when it is started is "-d -w
3000 -W 3001 -P /stor2/ntop -K --disable-schedyield".
(gdb) run ntop
Starting program: /usr/local/bin/ntop ntop
Tue Dec 21 14:33:01 2004  Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
      ntop

run /usr/local/bin/ntop --help for usage information

    Common problems:
        -B "filter expressions" (quotes are required)
        --use-syslog=facilty (the = is required)


Program exited with code 0377.

Thanks,

Corey Davoll
ResNet Coordinator
Muskingum College
Cdavoll at muskingum.edu 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Burton Strauss
Sent: Tuesday, December 21, 2004 12:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] Ntop3.1rc1 not capturing data

Try the attach to 20592 - 20591 is probably the start from the command line,
which quickly becomes 20592 when it sheds the terminals (the 'starting
daemon' message).  If so, it's dead - hit the exit() and so there's nothing
to see.

Try actually starting under gdb ... Sometimes the attach process doesn't
seem to work w/ multi threaded apps.  

-----Burton

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Corey Davoll
Sent: Tuesday, December 21, 2004 11:01 AM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] Ntop3.1rc1 not capturing data

Same problem with the stable release of 3.1

Any advice would be greatly appreciated.


Corey Davoll
ResNet Coordinator
Muskingum College
cdavoll at muskingum.edu
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Corey Davoll
Sent: Tuesday, December 21, 2004 12:23 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Ntop3.1rc1 not capturing data

Hello,

I have been using Ntop 3 since September to monitor my network.  I installed
3.1rc1 with out any trouble  When I started NTop up it would not capture any
data but the site would display.  I have tried both the current CVS and the
tgz from sourceforge, double checked to make sure my spanned port is still
working and ran tcpdump to make sure libpcap is still working.  I reverted
back to using version 3 and it still works.  I am running a RedHat 8 box
with Dual p3 933's with 4GB or RAM.

I followed the FAQ to check the threads and here is the output...

[EMAIL PROTECTED] ntop]# ps -C ntop -m -o "uid,pid,ppid,stat,time,command"
  UID   PID  PPID STAT     TIME COMMAND
    0 20592 20591 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20593 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20594 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20595 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20596 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20597 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20600 20592 S    00:00:01 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20601 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
    0 20602 20592 S    00:00:00 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
   99 20591     1 S    00:00:02 ntop -d -w 3000 -W 3001 -P /stor2/ntop -K
[EMAIL PROTECTED] ntop]# gdb ntop 20591
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as
"i386-redhat-linux"..."/stor2/ntop-20041220/ntop/ntop": not in executable
format: File format not recognized

Attaching to process 20591
Reading symbols from /usr/local/bin/ntop...done.
Reading symbols from /usr/local/lib/libntopreport-3.1rc1.so...done.
Loaded symbols for /usr/local/lib/libntopreport-3.1rc1.so
Reading symbols from /usr/local/lib/libntop-3.1rc1.so...done.
Loaded symbols for /usr/local/lib/libntop-3.1rc1.so Reading symbols from
/usr/local/lib/libmyrrd-3.1rc1.so...done.
Loaded symbols for /usr/local/lib/libmyrrd-3.1rc1.so Reading symbols from
/usr/local/lib/libgdome.so.0...done.
Loaded symbols for /usr/local/lib/libgdome.so.0 Reading symbols from
/usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from
/usr/local/lib/libxml2.so.2...done.
Loaded symbols for /usr/local/lib/libxml2.so.2 Reading symbols from
/lib/i686/libpthread.so.0...done.
Loaded symbols for /lib/i686/libpthread.so.0 Reading symbols from
/lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libssl.so.2...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2 Reading symbols from
/usr/local/lib/libgd.so.2...done.
Loaded symbols for /usr/local/lib/libgd.so.2 Reading symbols from
/lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/local/lib/libpng.so.3...done.
Loaded symbols for /usr/local/lib/libpng.so.3 Reading symbols from
/usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2 Reading symbols from
/lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2 Reading symbols from
/lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /usr/local/lib/ntop/plugins/icmpPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/icmpPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/lastSeenPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/lastSeenPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/netflowPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/netflowPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/nfsPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/nfsPlugin.so
Reading symbols from /usr/lib/libpcap.so.0.6.2...done.
Loaded symbols for /usr/lib/libpcap.so.0.6.2 Reading symbols from
/usr/local/lib/ntop/plugins/pdaPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/pdaPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/rrdPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/rrdPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/sflowPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/sflowPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/xmldumpPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/xmldumpPlugin.so
Reading symbols from /usr/local/lib/ntop/plugins/snmpPlugin.so...done.
Loaded symbols for /usr/local/lib/ntop/plugins/snmpPlugin.so
0x41343a35 in pthread_getconcurrency () from /lib/i686/libpthread.so.0
(gdb) info threads
(gdb)

I am assuming that the threads are not starting properly but its kinda late
so I could be missing something lol.  I am using the following command to
start Ntop...

ntop -d -w 3000 -W 3001 -P /stor2/ntop --disable-schedyield


Any help would be much appreciated.

Corey Davoll
ResNet Coordinator
Muskingum College
cdavoll at muskingum.edu 


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


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

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


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

Reply via email to