Re: [BackupPC-users] TextFileWrite: Failed to verify /etc/BackupPC/config.pl.new
2009-11-11 02:15:06
Michael writes:
> TextFileWrite: Failed to verify /etc/BackupPC/config.pl.new
>
> in the browser under the main "Hosts Xfer etc" area.
>
> I check the filesystem and see the file re-created:
>
> # ll conf*
> -rw-r----- 1 backuppc apache 78506 Nov 10 12:24 config.pl
> -rw-r----- 1 backuppc apache 0 Nov 11 17:04 config.pl.new
> -rw-r----- 1 backuppc apache 76236 Apr 29 2009 config.pl.old
> -rw-r----- 1 backuppc apache 75640 Jul 4 2008 config.pl.pre-3.1.0
> -rw-r----- 1 backuppc apache 76236 Jul 19 06:03 config.pl.pre-3.2.0beta0
>
> It seems to me the software tries to verify the config.pl file but can't write
> the file for some reason? (even though the file can be written to the disk?).
>
> It's a strange problem which I think one of the developers who has an
> understanding of the process the "Save" takes would be able to help with.
The writing steps for any text data file in BackupPC (eg: config.pl,
backups, restores etc) is:
- open config.new for writing
- write the new file contents
- close the file
- open config.new for reading
- read the contents
- close the file
- if the contents match, then rename config.pl to config.pl.old
and rename config.pl.new to config.pl.
- otherwise, print the error that you see and leave the
config.pl.new file as is.
Could the file system be full?
Craig
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|