James/all,

Tried deleting all files in eth0 as suggested.  NTOP started capturing I
believe, however as soon as I went to the RRD plugin menu in NTOP and
clicked on DESCRIBE I start getting the following in the logs?

May 30 12:28:58 home ntop[22848]:   THREADMGMT[t2965236640]: NPS(1): Started
thread for network packet sniffing [eth0]
May 30 12:28:58 home ntop[22848]:   THREADMGMT[t3038989216]: SFP:
Fingerprint scan thread running [p22848]
May 30 12:28:58 home ntop[22848]:   THREADMGMT[t3028499360]: SIH: Idle host
scan thread running [p22848]
May 30 12:28:58 home ntop[22848]:   THREADMGMT[t2965236640]: NPS(eth0):
pcapDispatch thread starting [p22848]
May 30 12:28:58 home ntop[22848]:   THREADMGMT[t2965236640]: NPS(eth0):
pcapDispatch thread running [p22848]
May 30 12:29:08 home ntop[22848]:   THREADMGMT[t2937568160]: RRD: Started
thread for throughput data collection
May 30 12:29:08 home ntop[22848]:   THREADMGMT[t2975726496]: RRD: Data
collection thread running [p22848]
May 30 12:29:08 home ntop[22848]:   THREADMGMT[t2937568160]: RRD: Throughput
data collection: Thread starting [p22848]
May 30 12:29:08 home ntop[22848]:   THREADMGMT[t2937568160]: RRD: Throughput
data collection: Thread running [p22848]
May 30 12:31:46 home sshd(pam_unix)[22807]: session closed for user root
May 30 12:33:44 home ntop[22848]:   EPIPE during sending of page to web
client
May 30 12:33:44 home ntop[22848]:   RRD: Shutting down, locking mutex (may
block for a little while)
May 30 12:33:44 home ntop[22848]:   RRD: Locked mutex, continuing shutdown
May 30 12:33:44 home ntop[22848]:   THREADMGMT[t2986539936]: RRD:
killThread(rrdThread) succeeded
May 30 12:33:44 home ntop[22848]:   THREADMGMT[t2986539936]: RRD:
killThread(rrdTrafficThread) succeeded
May 30 12:33:44 home ntop[22848]:   THREADMGMT[t2986539936]: RRD: Plugin
shutdown continuing
May 30 12:33:44 home ntop[22848]:   RRD: Thanks for using the rrdPlugin
May 30 12:33:44 home ntop[22848]:   RRD: Done
May 30 12:33:48 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_last' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2050]
May 30 12:33:48 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2059]
May 30 12:33:48 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_update' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2318]
May 30 12:33:48 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2426]
May 30 12:33:58 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_last' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2050]
May 30 12:33:58 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2059]
May 30 12:33:58 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_update' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2318]
May 30 12:33:58 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2426]
May 30 12:34:08 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_last' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2050]
May 30 12:34:08 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2059]
May 30 12:34:08 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_update' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2318]
May 30 12:34:08 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2426]
May 30 12:34:18 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_last' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2050]
May 30 12:34:18 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2059]
May 30 12:34:18 home ntop[22848]:   **ERROR** accessMutex() called
'rrd_update' with an UN-INITIALIZED mutex [t2937568160 m0xb1602e20
@rrdPlugin.c:2318]
May 30 12:34:18 home ntop[22848]:   **ERROR** releaseMutex() called with an
UN-INITIALIZED mutex [t2937568160 m0xb1602e20 @rrdPlugin.c:2426]


On Fri, May 30, 2008 at 7:20 AM, Greg Hauptmann <
[EMAIL PROTECTED]> wrote:

> thanks James,
>
> * I'm on http://www.clarkconnect.com/ which is "CentOS release 4.4
> (Final)"
>
> * Re ntop/rrd version I got this:
>
> [EMAIL PROTECTED] ~]# ntop --version
> Fri May 30 07:14:30 2008  NOTE: Interface merge enabled by default
> Fri May 30 07:14:30 2008  Initializing gdbm databases
> Fri May 30 07:14:30 2008  **ERROR** ....open of /var/ntop/prefsCache.db
> failed: Can't be writer
> Fri May 30 07:14:30 2008  Possible solution: please use '-P <directory>'
> Fri May 30 07:14:30 2008  **FATAL_ERROR** GDBM open failed, ntop shutting
> down...
> Fri May 30 07:14:30 2008  CLEANUP[t3073849024]: ntop caught signal 2
> Fri May 30 07:14:30 2008  THREADMGMT[t3073849024]: ntop RUNSTATE:
> SHUTDOWN(7)
> Fri May 30 07:14:30 2008  CLEANUP[t3073849024] catching thread is unknown
> Fri May 30 07:14:30 2008  CLEANUP: Running threads
> Fri May 30 07:14:30 2008  CLEANUP: Locking purge mutex (may block for a
> little while)
> Fri May 30 07:14:30 2008  CLEANUP: Locked purge mutex, continuing shutdown
> Fri May 30 07:14:30 2008  CLEANUP: Continues
> Fri May 30 07:14:30 2008  PLUGIN_TERM: Unloading plugins (if any)
> Fri May 30 07:14:30 2008  CLEANUP: Clean up complete
> Fri May 30 07:14:30 2008  THREADMGMT[t3073849024]: ntop RUNSTATE: TERM(8)
> Fri May 30 07:14:30 2008  ===================================
> Fri May 30 07:14:30 2008          ntop is shutdown...
> Fri May 30 07:14:30 2008  ===================================
>
> * I did install using the following however:
>
> apt-get -f -u install
> ftp://ftp.pbone.net/mirror/download.fedo...-3.el4.i386.rpm<ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/4/i386/rrdtool-1.2.27-3.el4.i386.rpm>
> apt-get -f -u install
> ftp://ftp.pbone.net/mirror/download.fedo...-3.el4.i386.rpm<ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/4/i386/rrdtool-devel-1.2.27-3.el4.i386.rpm>
> apt-get -f -u install
> ftp://linuxsoft.cern.ch/dag/redhat/el4/en/i386/RPMS.dag/ntop-3.3-1.el4.rf.i386.rpm
>
> * Re "cd to /var/ntop/rrd/interfaces/eth0/ and delete everything" - will
> give this a go:
>
> thanks
> Greg
>
>
> On Thu, May 29, 2008 at 11:11 PM, James Lay <[EMAIL PROTECTED]>
> wrote:
>
>>
>> On 5/29/08 1:36 AM, "Greg Hauptmann" <[EMAIL PROTECTED]>
>> wrote:
>>
>> Hi all - I seem to get errors when-ever I have RRD enabled for history
>> however :)  Here's the log of what happens after I restart ntop (with rrd
>> enabled).  Any ideas?  See bottom of log.
>>
>> <startup snipped)
>>
>> May 29 17:32:30 home ntop[4476]:   **ERROR** accessMutex() called
>> 'rrd_last' with an UN-INITIALIZED mutex [t2937547680 m0xb15fde20
>> @rrdPlugin.c:2050]
>> May 29 17:32:30 home ntop[4476]:   **ERROR** releaseMutex() called with an
>> UN-INITIALIZED mutex [t2937547680 m0xb15fde20 @rrdPlugin.c:2059]
>> May 29 17:32:30 home ntop[4476]:   **ERROR** accessMutex() called
>> 'rrd_update' with an UN-INITIALIZED mutex [t2937547680 m0xb15fde20
>> @rrdPlugin.c:2318]
>> May 29 17:32:30 home ntop[4476]:   **ERROR** releaseMutex() called with an
>> UN-INITIALIZED mutex [t2937547680 m0xb15fde20 @rrdPlugin.c:2426]
>> May 29 17:32:40 home ntop[4476]:   **ERROR** accessMutex() called
>> 'rrd_last' with an UN-INITIALIZED mutex [t2937547680 m0xb15fde20
>> @rrdPlugin.c:2050]
>> May 29 17:32:40 home ntop[4476]:   **ERROR** releaseMutex() called with an
>> UN-INITIALIZED mutex [t2937547680 m0xb15fde20 @rrdPlugin.c:2059]
>> May 29 17:32:40 home ntop[4476]:   **ERROR** accessMutex() called
>> 'rrd_update' with an UN-INITIALIZED mutex [t2937547680 m0xb15fde20
>> @rrdPlugin.c:2318]
>> May 29 17:32:40 home ntop[4476]:   **ERROR** releaseMutex() called with an
>> UN-INITIALIZED mutex [t2937547680 m0xb15fde20 @rrdPlugin.c:2426]
>> [/code]
>>
>>
>>
>> Greg, what version of rrdtool are you running?  And what operating system
>> is this running on?
>>
>>
>>
>> Hi all - I seem to be collecting data now with RRD I think, BUT I'm still
>> getting warnings and still confused about to tackle the following if you can
>> help: how to get ntop helping me out here:
>>
>> [1] Where is a report that summarises my family's internet bandwidth usage
>> (on ppp0) per internal IP address/PC, per day, per upload/download?   Note I
>> don't have any plugins installed except rrd.
>>
>> I normally go to summary, network load, then click one of the lil
>> magnifying glasses on the right to generate whatever graph I want.
>>
>>
>>
>> May 25 12:55:08 home ntop[29571]:   **WARNING** RRD:
>> rrd_update(/var/ntop/rrd/interfaces/eth0/hosts/58/100/112/195/totPeersSent.rrd)
>> error: illegal attempt to update using time 1211684108 when last update time
>> is 1211684108 (minimum one second step)
>>
>> You should be able to stop ntop, then cd to /var/ntop/rrd/interfaces/eth0/
>> and delete everything, then start up again...the time has drifted.
>>
>> James
>>
>> _______________________________________________
>> 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