[Box Backup] Win32 client and snapshot mode?

Per Thomsen boxbackup@fluffy.co.uk
Fri, 17 Dec 2004 09:08:05 -0800

On 12/17/04 2:08 AM, Nick Knight wrote:

>Hello Per,
>Because unix sockets are not available on win32 - the short term fix was
>to communicate over a normal socket, so the line for unix socket is
>commented out in the config, the goal is to use a named pipe eventually.
>The message you have received is because an exception has been thrown,
>then the message is printed out, can you have a look through your event
>log (Application log) to see if there is a more meaningful error
I cleared my application event log, and restarted bbackupd, and then ran 
'bbackupctl sync'

There were only 2 new events in the log:
Starting daemon (config: C:\Program Files\Box Backup\bbackupd.conf) 
(version 0.08Win32)
Failed to connect to command socket.

Nothing more detailed than that, I'm afraid.

I thought the problem might have to do with the Windows firewall 
settings on XP SP2, but the firewall is off on my test machine.


>-----Original Message-----
>From: boxbackup-admin@fluffy.co.uk [mailto:boxbackup-admin@fluffy.co.uk]
>On Behalf Of Per Thomsen
>Sent: 16 December 2004 19:09
>To: boxbackup@fluffy.co.uk
>Subject: [Box Backup] Win32 client and snapshot mode?
>I have been trying to get the snapshot mode to work on the win32 client 
>to no avail. It seems that bbackupctl somehow is unable to connect to
>the command socket of bbackupd. Here's the error message I get when I
>run 'bbackupctl.exe sync':
>    Failed to connect to daemon control socket.
>    Possible causes:
>       * daemon not running
>       * daemon busy syncing with store server
>       * another bbackupctl process is communicating with the server
>       * daemon is waiting to recover from an error
>    Failed to connect to command socket
>I don't know anything about sockets on windows, but I ran 'netstat -ba'
>and it appears that bbackupd.exe is listening on TCP port 9035.
>So I telnetted to port 9035 on, and I was able to start a sync
>(by typing 'sync'). But I can't get bbackupctl.exe to do it. Has anyone
>been able to get bbackupctl to work?
>I changed the following parameters in my config file:
>AutomaticBackup = no
>UpdateStoreInterval = 0
>MinumumFileAge = 0
>MaxUploadWait = 0
>The 'CommandSocket' parameter is commented out in the file that is
>installed, but I don't know what to change it to, to make bbackupctl
>Thanks in advance,

Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102    |   pthomsen@reedtz.com  | C: 209 996 9561
GPG ID: 1209784F   |  Yahoo! Chat: pthomsen | AIM: pthomsen