[Box Backup] object ID already in use
Mitja Muženič
boxbackup@fluffy.co.uk
Wed, 25 Aug 2004 12:14:26 +0200
> The error you're actually getting is that the client has uploaded a
> file which doesn't verify -- to the server, it looks like an invalid
> file.
Ben, thanks for the explanation. I think I narrowed this down to a cygwin
problem.
Send StoreFile(0x7,0x3a94fd6008200,0xedc72e75f841d99b,0x0,""setup50.exe"")."
Sending stream, size uncertain.
Backup object failed, error when reading /cygdrive/D/test/setup50.exe.
Error code when uploading was (4/46), BackupStore
Temp_FileEncodeStreamDidntReadBuffer.
(apologies for formatting, I had to pry this from XP Event log on the client
box).
This is probably more cygwin related but I hope someone on this list can
help me. I copied cygwin1.dll, cygcrypto-0.9.7.dll, cygssl-0.9.7.dll and
cygz.dll into the application directory on the cygwin-less box, thinking
this would be enough to get the show running. Obviously something is missing
since the file can't be read although it exists and the permissions are ok.
It is a PITA to install cygwin on every box I plan to use the client on so
I'm looking for a neat and tidy package.
On the same note, I'm working on an InnoSetup script/compilation that
packages bbclient & friends, openssl and a small script to create the keys
localy in a single 1.5Mb setup.exe. I have this cygwin problem to solve, and
docs/licencing stuff to write & check, otherwise it looks good.
Interesting, from the server side this exchange looks unusual:
Aug 25 11:29:43 chief bbstored[21135]: Incoming connection from
193.xxx.yyy.zzz port 62126 (handling in child 14620)
Aug 25 11:29:43 chief bbstored[14620]: Certificate CN: BACKUP-98
Aug 25 11:29:43 chief bbstored[14620]: Login: Client ID 00000098, Read/Write
Aug 25 11:29:45 chief bbstored[14620]: in server child, exception Connection
Protocol_UnknownCommandRecieved (7/45) -- terminating child
It seems to me that the server can't tell the client has a problem
uploading.
And when I try to run the debug version of bbstored, I get a lot of
Aug 24 12:57:20 chief bbstored[17470]: Starting daemon (config:
/etc/box/bbstored.conf) (version 0.07)
Aug 24 12:57:20 chief bbstored/hk[14467]: Housekeeping process started
Aug 24 12:57:20 chief bbstored/hk[14467]: Starting housekeeping
Aug 24 12:57:20 chief bbstored/hk[14467]: TRACE: Exception thrown:
RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1057)
Aug 24 12:57:20 chief bbstored/hk[14467]: while housekeeping account
00000001, exception RaidFile RaidFileDoesntExist (2/11) -- aborting
housekeeping run for
this account
Aug 24 12:57:20 chief bbstored/hk[14467]: TRACE: Exception thrown:
RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1057)
Aug 24 12:57:20 chief bbstored/hk[14467]: while housekeeping account
00000002, exception RaidFile RaidFileDoesntExist (2/11) -- aborting
housekeeping run for
this account
Aug 24 12:57:20 chief bbstored/hk[14467]: TRACE: Exception thrown:
RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1057)
Aug 24 12:57:20 chief bbstored/hk[14467]: while housekeeping account
00000005, exception RaidFile RaidFileDoesntExist (2/11) -- aborting
housekeeping run for
this account
Aug 24 12:57:20 chief bbstored/hk[14467]: TRACE: Exception thrown:
RaidFileException(RaidFileDoesntExist) at RaidFileRead.cpp(1057)
Aug 24 12:57:20 chief bbstored/hk[14467]: while housekeeping account
00000099, exception RaidFile RaidFileDoesntExist (2/11) -- aborting
housekeeping run for
this account
Aug 24 12:57:20 chief bbstored/hk[14467]: Finished housekeeping
Does this hinder the operation of bbstored? The raidfile.conf exists in
/etc/box as specified in bbstored.conf and it works with a non-debug build.
> >
> > The sources are 0.7-release as downloaded from boxbackup
> web page. I
> > haven't
> > tried the latest PLUS versions yet.
>
> Could you try that, and see if it still has problems?
I moved to PLUS3 last night, and this issue is still there. OBSD clients
works fine, though.
> To be quite honest, I've never tried the cygwin port, and
> don't really
> support it. But let's see what happens with the latest version.
I don't like cygwin either, but until someone steps forward and makes a
native windows client, this is the only way to backup my laptop. :)
Regards, Mitja