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