Hi David On Tue, Mar 25, 2008 at 10:55:55AM -0400, David Prévot wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ola Lundqvist a écrit : > > Hi David > > Hi Lucas > > > Interesting notes. If you remove the /var/lib/ntop/interfaces/*/*.rrd files > > and then restart ntop, do it work then? > > The problem is that the directories /var/lib/ntop/interfaces/* are > already empties (after a fresh install, or an upgrade).
Aha! Interesting. > If I stop ntop (3:3:3-4 working fine after a reboot), remove the rdd > file, and then start ntop, I just reproduce the same bug (no file is > created, same logs every ten seconds, and Network Load Statistics unusable). > > > And if you after that restarts ntop a couple of times do it still work? > > Each time I restart ntop, I have the same logs in var/log/syslog [0] and > some parts of ntop (Network Load Statistics for example) doesn't work. Strange. The files are not created I assume? Can you send me a listing of the permissions on those files _and directories_. Both for 3.2 version that works and the 3.3 that do not work and also on 3.3 version after reboot. > > Did I interpret you that ntop works just fine after reboot? > > Yes, and it is the only way to stop the errors in syslog, and make the > Network Load Statistics work. It is the same on a fresh install and > upgrade from 3:3.2-10.1. I can reproduce it on amd64 and i686 (on > different computers) with : Now I'm able to reproduce the problem myself. I actually found another problem first and do not really understand how it worked last time I tried. > # aptitude purge ntop > # aptitude install ntop > # ntop -A && invoke-rc.d ntop start I'll see what I can do about the problem now when I know how to reproduce it. Best regards, // Ola > Best Regards > > David > > [0] > Mar 25 09:10:04 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: Invalid > alpha: must be between 0 and 1 > Mar 25 09:10:04 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening > '/var/lib/ntop/interfaces/eth0/throughput.rrd': Aucun fichier ou > répertoire de ce type > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifInOctets.rrd) > error: Invalid alpha: must be between 0 and 1 > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifInOctets.rrd) > error: opening > '/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifInOctets.rrd': Aucun > fichier ou répertoire de ce type > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifInPkts.rrd) > error: Invalid alpha: must be between 0 and 1 > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifInPkts.rrd) > error: opening > '/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifInPkts.rrd': Aucun fichier > ou répertoire de ce type > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifOutOctets.rrd) > error: Invalid alpha: must be between 0 and 1 > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifOutOctets.rrd) > error: opening > '/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifOutOctets.rrd': Aucun > fichier ou répertoire de ce type > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifOutPkts.rrd) > error: Invalid alpha: must be between 0 and 1 > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifOutPkts.rrd) > error: opening > '/var/lib/ntop/rrd/interfaces/eth0/AS/20766/ifOutPkts.rrd': Aucun > fichier ou répertoire de ce type > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/rrd/interfaces/eth0/AS/numAS.rrd) error: > Invalid alpha: must be between 0 and 1 > Mar 25 09:10:09 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/rrd/interfaces/eth0/AS/numAS.rrd) error: > opening '/var/lib/ntop/rrd/interfaces/eth0/AS/numAS.rrd': Aucun fichier > ou répertoire de ce type > Mar 25 09:10:14 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: Invalid > alpha: must be between 0 and 1 > Mar 25 09:10:14 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening > '/var/lib/ntop/interfaces/eth0/throughput.rrd': Aucun fichier ou > répertoire de ce type > Mar 25 09:10:24 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: Invalid > alpha: must be between 0 and 1 > Mar 25 09:10:24 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening > '/var/lib/ntop/interfaces/eth0/throughput.rrd': Aucun fichier ou > répertoire de ce type > Mar 25 09:10:34 Lapin ntop[29288]: **WARNING** RRD: > rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: Invalid > alpha: must be between 0 and 1 > Mar 25 09:10:34 Lapin ntop[29288]: **WARNING** RRD: > rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening > '/var/lib/ntop/interfaces/eth0/throughput.rrd': Aucun fichier ou > répertoire de ce type > > [same two last lines every ten seconds, and the (number of) errors in > the directory /var/lib/ntop/rrd/interfaces/eth0/AS/ varies in eatch restart] > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFH6RJ618/WetbTC/oRAp3nAJ9KkSkznfY2rGwB9ys2O2s+1zdnlgCfSRo+ > /3Qmie+UvKLZ8mcC7hdjp3A= > =Y6Kn > -----END PGP SIGNATURE----- > > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]