Hello Paulo, Those error messages in the log file are of course unexpected.
As you might know your old Monitorix version (probably 1.x branch) used the crond to collect data on every minute while the new 2.x branch (as you might already know) acts as a daemon. So, you better check in your /etc/cron.d/ directory to make sure if there is a residual 'monitorix' file from the 1.x branch that crond is still executing on every minute. Please, let me know if that solved your problem. Best regards. On 01/09/2013 02:37 PM, Paulo Ribeiro wrote: > Hello, > > I've been using an older version of Monitorix for a couple of years, but > yesterday I decided to update to version 2.6.0. > > I'm running Ubuntu Server 10.04.4, so I decided to completely remove the > old version and install the new one using the IzzySoft repository. > > Apparently all went well, and Monitorix is up and running. However, in > the log file I see many errors complaining that Monitorix cannot lock > some of the .rrd files. For example: > > Wed Jan 9 13:23:00 2013 - ERROR: while updating > /var/lib/monitorix/net.rrd: could not lock RRD > Wed Jan 9 13:23:00 2013 - ERROR: while updating > /var/lib/monitorix/int.rrd: could not lock RRD > Wed Jan 9 13:24:00 2013 - ERROR: while updating > /var/lib/monitorix/int.rrd: could not lock RRD > Wed Jan 9 13:27:00 2013 - ERROR: while updating > /var/lib/monitorix/system.rrd: could not lock RRD > Wed Jan 9 13:27:00 2013 - ERROR: while updating > /var/lib/monitorix/int.rrd: could not lock RRD > Wed Jan 9 13:28:00 2013 - ERROR: while updating > /var/lib/monitorix/proc.rrd: could not lock RRD > > I searched for this type of error, but all the references I found had to > do with using the NFS filesystem, which I am not using. > > I already tried stopping Monitorix, deleting the files, and starting > Monitorix again. Monitorix detected that the files were missing, so it > created the files again, but the errors continue. When I load the Web > page, most of the graphs already display values (the ones that are empty > may still need to be configured). > > Is there anything that I can do to understand why Monitorix cannot lock > these files? Or are these errors to be expected? > > Thank you, > -- Jordi Sanfeliu FIBRANET Network Services Provider http://www.fibranet.cat ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Monitorix-general mailing list Monitorix-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monitorix-general