Page 1 of 1

data file error ?

Posted: Mon 03 Mar 2014 5:32 pm
by n9mfk
Hi Steve,
today when i got on my weather pc i had a flashing error light and these errors

3/3/2014 9:04:01 AM : 3/3/2014 9:04:01 AM Error writing data to data file: C:\Cumulus\data\Mar14log.txt. File access denied
3/3/2014 9:04:01 AM : 3/3/2014 9:04:01 AM Error writing EOL to data file: C:\Cumulus\data\Mar14log.txt. I/O error 103
3/3/2014 9:04:01 AM : 3/3/2014 9:04:01 AM Error closing data file: C:\Cumulus\data\Mar14log.txt. I/O error 103
3/3/2014 9:05:00 AM : 3/3/2014 9:05:00 AM Error writing data to data file: C:\Cumulus\data\Mar14log.txt. File access denied
3/3/2014 9:05:00 AM : 3/3/2014 9:05:00 AM Error writing EOL to data file: C:\Cumulus\data\Mar14log.txt. I/O error 103
3/3/2014 9:05:00 AM : 3/3/2014 9:05:00 AM Error closing data file: C:\Cumulus\data\Mar14log.txt. I/O error 103
what should i do ?
Beau

Re: data file error ?

Posted: Mon 03 Mar 2014 5:43 pm
by steve
n9mfk wrote:what should i do ?
Fix whatever it is on your system that is preventing Cumulus from writing to the log file. Permissions/anti-virus/something else.

Re: data file error ?

Posted: Mon 03 Mar 2014 5:47 pm
by n9mfk
Steve, is that data lost or is there a way to get it back thanks Beau

Re: data file error ?

Posted: Mon 03 Mar 2014 6:04 pm
by steve
Only by 'rewinding' in the usual way - stop Cumulus and copy the data files from one of the backup folders. Note that the resulting data from that point to the current time will not be as good as the data logged while Cumulus was actually running, as it uses the data from the logger.

Re: data file error ?

Posted: Mon 03 Mar 2014 6:57 pm
by n9mfk
Hi steve,
this is the only error i got atter back an i have fixed 3/3/2014 12:49:16 PM : Duplicate entry at line 1886 of dayfile.txt: 02/03/14. Please correct this by editing the file

Thanks Beau

Re: data file error ?

Posted: Mon 03 Mar 2014 7:09 pm
by steve
Did you do the 'rewind'? Did you copy all of the files from the backup folder?

Re: data file error ?

Posted: Mon 03 Mar 2014 7:23 pm
by n9mfk
Hi Steve,

Yes i did
I stopped cumulus
I went to the backup folder then daily then I found 20140303000000
copied all files to data folder
restarted cumulus
that when i got the above error Beau

Re: data file error ?

Posted: Mon 03 Mar 2014 7:32 pm
by steve
Hmm, yes, the dayfile.txt in the midnight backups already has the entry for that day, but the other files don't have the midnight entry.

You can just delete one of the entries. The first one should be the correct one, so delete the second one.

Re: data file error ?

Posted: Mon 03 Mar 2014 7:39 pm
by n9mfk
Hi Steve ,
did i rollback the correct way?
then i usd day file editor to delete the last line
Beau

Re: data file error ?

Posted: Mon 03 Mar 2014 7:41 pm
by steve
n9mfk wrote:did i rollback the correct way?
Yes, you did. But the daily backup files are inconsistent; dayfile.txt already has the entry for that day, and then another one gets added when you start Cumulus again.

Code: Select all

then i usd day file editor to delete the last line 
Yes.