[Box Backup-dev] Errors with trunk client (Win32)

Roy boxbackup-dev@fluffy.co.uk
Mon, 20 Feb 2006 23:50:05 +0100


This is a multi-part message in MIME format.
--------------010606050307060709080800
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I tried to run the client of box backup on Windows XP, but I get the 
following error:
Communication error with control client: Server SocketAlreadyOpen
TRACE: Exception thrown: ServerException(SocketAlreadyOpen) at 
d:\backup\box\boxbackup\lib\win32\winnamedpipestream.cpp(75)

I've attached my config file. I'm not sure about the command socket 
setting, but "pipe" I saw somewhere in another release.

Has anybody got suggestions where to look for the error?

Thanks in advance,

Roy

--------------010606050307060709080800
Content-Type: text/plain;
 name="bbackupd2.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bbackupd2.conf"


StoreHostname = servername.domain.com
AccountNumber = 0xACCOUNT#
KeysFile = c:\program files\box backup\bbackupd\ACCOUNT#-FileEncKeys.raw

CertificateFile = c:\program files\box backup\bbackupd\ACCOUNT#-cert.pem
PrivateKeyFile = c:\program files\box backup\bbackupd\ACCOUNT#-key.pem
TrustedCAsFile = c:\program files\box backup\bbackupd\serverCA.pem

DataDirectory = C:\Program Files\Box Backup\bbackupd

# This script is run whenever bbackupd encounters a problem which requires
# the system administrator to assist:
# 1) The store is full, and no more data can be uploaded.
# 2) Some files or directories were not readable.
# The default script emails the system administrator.

#NotifyScript = ./bbackupd/NotifySysadmin.sh

# This configuration file is written for snapshot mode.
# You will need to run bbackupctl to instruct the daemon to upload files.

AutomaticBackup = no
UpdateStoreInterval = 0
MinimumFileAge = 0
MaxUploadWait = 0

# Files above this size (in bytes) are tracked, and if they are renamed they will simply be
# renamed on the server, rather than being uploaded again. (64k - 1)

FileTrackingSizeThreshold = 65535

# The daemon does "changes only" uploads for files above this size (in bytes).
# Files less than it are uploaded whole without this extra processing.

DiffingUploadSizeThreshold = 8192

# The limit on how much time is spent diffing files. Most files shouldn't take very long,
# but if you have really big files you can use this to limit the time spent diffing them.
# * Reduce if you are having problems with processor usage.
# * Increase if you have large files, and think the upload of changes is too large and want
#   to spend more time searching for unchanged blocks.

MaximumDiffingTime = 20

# Uncomment this line to see exactly what the daemon is going when it's connected to the server.
ExtendedLogging = yes


# Use this to temporarily stop bbackupd from syncronising or connecting to the store.
# This specifies a program or script script which is run just before each sync, and ideally
# the full path to the interpreter. It will be run as the same user bbackupd is running as,
# usually root.
# The script prints either "now" or a number to STDOUT (and a terminating newline, no quotes).
# If the result was "now", then the sync will happen. If it's a number, then the script will
# be asked again in that number of seconds.
# For example, you could use this on a laptop to only backup when on a specific network.

# SyncAllowScript = /path/to/intepreter/or/exe script-name parameters etc


# Where the command socket is created in the filesystem.

#CommandSocket = /var/run/bbackupd.sock
CommandSocket = pipe

# Uncomment the StoreObjectInfoFile to enable the experimental archiving
# of the daemon's state (including client store marker and configuration)
# between backup runs. This saves time and increases efficiency when
# bbackupd is frequently stopped and started, since it removes the need
# to rescan all directories on the remote server. However, it is new and
# not yet heavily tested, so use with caution.

# StoreObjectInfoFile = /work/bbackupd.state
#StoreObjectInfoFile = c:\program files\box backup\workingdir\bbackupd.state

Server
{
	PidFile = C:\Program Files\Box Backup\bbackupd\bbackupd.pid
}

# 
# BackupLocations specifies which locations on disc should be backed up. Each
# directory is in the format
# 
# 	name
# 	{
# 		Path = /path/of/directory
# 		(optional exclude directives)
# 	}
# 
# 'name' is derived from the Path by the config script, but should merely be
# unique.
# 
# The exclude directives are of the form
# 
# 	[Exclude|AlwaysInclude][File|Dir][|sRegex] = regex or full pathname
# 
# (The regex suffix is shown as 'sRegex' to make File or Dir plural)
#
# For example:
# 
# 	ExcludeDir = /home/guest-user
# 	ExcludeFilesRegex = *.(mp3|MP3)$
# 	AlwaysIncludeFile = /home/username/veryimportant.mp3
# 
# This excludes the directory /home/guest-user from the backup along with all mp3
# files, except one MP3 file in particular.
# 
# In general, Exclude excludes a file or directory, unless the directory is
# explicitly mentioned in a AlwaysInclude directive.
# 
# If a directive ends in Regex, then it is a regular expression rather than a
# explicit full pathname. See
# 
# 	man 7 re_format
# 
# for the regex syntax on your platform.
# 

BackupLocations
{
    MyDocuments
	{
                Path = C:\Documents and Settings\
	}
}
--------------010606050307060709080800--