-----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).

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.

> 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 :

# aptitude purge ntop
# aptitude install ntop
# ntop -A && invoke-rc.d ntop start

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-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to