[Box Backup] Setup Help on Linux
Sean Laurent
boxbackup@boxbackup.org
Thu, 14 Feb 2008 08:00:33 -0600
------=_Part_1424_22004529.1202997633464
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Howdy all,
I'm trying to setup BoxBackup 0.11 rc2 on Kubuntu 7.10 (Gutsy Gibbon) and
I'm just not having much luck. I'm sure I've done something silly, but I
can't figure out my mistake.
Right now I have one client (192.168.2.100) and one server (192.168.2.50),
both of which are running 0.11rc2 on Gutsy. When I run the client I get a
connection error:
---snip---
$ sudo bbackupd -c /etc/boxbackup/bbackupd.conf -D -k -v -T
08:57:44 NOTICE: Starting daemon, version 0.11rc2, config:
/etc/boxbackup/bbackupd.conf
08:57:46 Incoming connection from local (UNIX socket)
08:57:46 Connection from command socket
08:57:46 NOTICE: Beginning scan of local files
08:57:46 Opening connection to server '192.168.2.50'...
08:57:46 ERROR: Failed to connect to socket (type 1, name 192.168.2.50, port
2201): Connection refused (111)
08:57:46 WARNING: Exception thrown:
ConnectionException(Conn_SocketConnectError)
at SocketStream.cpp(223)
08:57:46 NOTICE: About to notify administrator about event backup-error,
running script '/etc/boxbackup/bbackupd/NotifySysadmin.sh backup-error'
08:57:46 ERROR: Exception caught (Connection SocketConnectError (Probably a
network issue between client and server, bad hostname, or server not
running.) 7/15), reset state and waiting to retry...
08:57:56 NOTICE: File statistics: total file size uploaded 0, bytes already
on server 0, encoded size 0
---snip---
Meanwhile, I'm monitoring syslog on the server, but absolutely nothing
happens. It appears the client isn't making it that far.
---snip---
Feb 12 08:57:41 frodo Box Backup (bbstored)[22436]: NOTICE: Starting daemon,
version 0.11rc2, config: /etc/boxbackup/bbstored.conf
---snip---
I know the server is accessible, since I can SSH into it. I'm not positive
the bbstored daemon is actually listening on the specified port (2201) and I
don't know how to verify that.
My client config looks like the following (comments removed):
---/etc/boxbackup/bbackup.conf---
StoreHostname = 192.168.2.50
AccountNumber = 0x1106
KeysFile = /etc/boxbackup/bbackupd/1106-FileEncKeys.raw
CertificateFile = /etc/boxbackup/bbackupd/1106-cert.pem
PrivateKeyFile = /etc/boxbackup/bbackupd/1106-key.pem
TrustedCAsFile = /etc/boxbackup/bbackupd/serverCA.pem
DataDirectory = /var/lib/bbackupd/
NotifyScript = /etc/boxbackup/bbackupd/NotifySysadmin.sh
AutomaticBackup = no
UpdateStoreInterval = 0
MinimumFileAge = 0
MaxUploadWait = 0
FileTrackingSizeThreshold = 65535
DiffingUploadSizeThreshold = 8192
MaximumDiffingTime = 120
ExtendedLogging = yes
CommandSocket = /var/lib/bbackupd/bbackupd.sock
Server
{
PidFile = /var/lib/bbackupd/bbackupd.pid
}
BackupLocations
{
home-
{
Path = /home/
ExcludeFilesRegex = .(mp3|MP3|ogg|OGG|avi|AVI)
ExcludeDir = /home/sean/mount
ExcludeDir = /home/sean/smb4k
}
etc-
{
Path = /etc/
}
}
---end---
My server configuration looks like the following (with comments removed):
---/etc/boxbackup/bbstored.conf---
RaidFileConf = /etc/boxbackup/raidfile.conf
AccountDatabase = /etc/boxbackup/bbstored/accounts.txt
TimeBetweenHousekeeping = 900
Server
{
PidFile = /var/run/bbstored.pid
User = bbstored
ListenAddresses = inet:frodo
CertificateFile = /etc/boxbackup/bbstored/frodo-cert.pem
PrivateKeyFile = /etc/boxbackup/bbstored/frodo-key.pem
TrustedCAsFile = /etc/boxbackup/bbstored/clientCA.pem
}
---end---
Any suggestions would be greatly appreciated!
Thanks!.
-Sean
--
A man is never drunk if he can lie on the floor without holding on. - Joe E.
Lewis
------=_Part_1424_22004529.1202997633464
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Howdy all,<br>I'm trying to setup BoxBackup 0.11 rc2 on Kubuntu 7.10
(Gutsy Gibbon) and I'm just not having much luck. I'm sure I've done
something silly, but I can't figure out my mistake.<br><br>Right now I have one client (<a href="http://192.168.2.100/" target="_blank">192.168.2.100</a>) and one server (<a href="http://192.168.2.50/" target="_blank">192.168.2.50</a>), both of which are running 0.11rc2 on Gutsy. When I run the client I get a connection error:<br>
<br>---snip---<br>$ sudo bbackupd -c /etc/boxbackup/bbackupd.conf -D -k -v -T<br>08:57:44 NOTICE: Starting daemon, version 0.11rc2, config: /etc/boxbackup/bbackupd.conf<br>08:57:46 Incoming connection from local (UNIX socket)<br>
08:57:46 Connection from command socket<br>08:57:46 NOTICE: Beginning scan of local files<br>08:57:46 Opening connection to server '<a href="http://192.168.2.50/" target="_blank">192.168.2.50</a>'...<br>08:57:46 ERROR: Failed to connect to socket (type 1, name <a href="http://192.168.2.50/" target="_blank">192.168.2.50</a>, port 2201): Connection refused (111)<br>
08:57:46 WARNING: Exception thrown: ConnectionException(Conn<div id="1ep2" class="ArwC7c ckChnd">_SocketConnectError) at SocketStream.cpp(223)<br>08:57:46 NOTICE: About to notify administrator about event backup-error, running script '/etc/boxbackup/bbackupd/NotifySysadmin.sh backup-error'<br>
08:57:46 ERROR: Exception caught (Connection SocketConnectError
(Probably a network issue between client and server, bad hostname, or
server not running.) 7/15), reset state and waiting to retry...<br>08:57:56 NOTICE: File statistics: total file size uploaded 0, bytes already on server 0, encoded size 0<br>
---snip---<br>
<br>Meanwhile, I'm monitoring syslog on the server, but absolutely nothing happens. It appears the client isn't making it that far.<br><br>---snip---<br>
Feb 12 08:57:41 frodo Box Backup (bbstored)[22436]: NOTICE: Starting
daemon, version 0.11rc2, config: /etc/boxbackup/bbstored.conf<br clear="all">---snip---<br>
<br>I know the server is accessible, since I can SSH into it. I'm not
positive the bbstored daemon is actually listening on the specified
port (2201) and I don't know how to verify that.<br><br>My client config looks like the following (comments removed):<br>
<br>---/etc/boxbackup/bbackup.conf---<br>StoreHostname = <a href="http://192.168.2.50/" target="_blank">192.168.2.50</a><br>AccountNumber = 0x1106<br>KeysFile = /etc/boxbackup/bbackupd/1106-FileEncKeys.raw<br>CertificateFile = /etc/boxbackup/bbackupd/1106-cert.pem<br>
PrivateKeyFile = /etc/boxbackup/bbackupd/1106-key.pem<br>TrustedCAsFile = /etc/boxbackup/bbackupd/serverCA.pem<br>DataDirectory = /var/lib/bbackupd/<br>NotifyScript = /etc/boxbackup/bbackupd/NotifySysadmin.sh<br>AutomaticBackup = no<br>
UpdateStoreInterval = 0<br>MinimumFileAge = 0<br>MaxUploadWait = 0<br>FileTrackingSizeThreshold = 65535<br>DiffingUploadSizeThreshold = 8192<br>MaximumDiffingTime = 120<br>ExtendedLogging = yes<br>CommandSocket = /var/lib/bbackupd/bbackupd.sock<br>
Server<br>{<br> PidFile = /var/lib/bbackupd/bbackupd.pid<br>}<br>BackupLocations<br>{<br> home-<br> {<br> Path = /home/<br> ExcludeFilesRegex = .(mp3|MP3|ogg|OGG|avi|AVI)<br> ExcludeDir = /home/sean/mount<br>
ExcludeDir = /home/sean/smb4k<br> }<br> etc-<br> {<br> Path = /etc/<br> }<br>}<br>---end---<br><br>My server configuration looks like the following (with comments removed):<br><br>---/etc/boxbackup/bbstored.conf---<br>
RaidFileConf = /etc/boxbackup/raidfile.conf<br>AccountDatabase = /etc/boxbackup/bbstored/accounts.txt<br>TimeBetweenHousekeeping = 900<br>Server<br>{<br> PidFile = /var/run/bbstored.pid<br> User = bbstored<br> ListenAddresses = inet:frodo<br>
CertificateFile = /etc/boxbackup/bbstored/frodo-cert.pem<br> PrivateKeyFile = /etc/boxbackup/bbstored/frodo-key.pem<br> TrustedCAsFile = /etc/boxbackup/bbstored/clientCA.pem<br>}<br>---end---<br><br>Any suggestions would be greatly appreciated!<br>
<br>Thanks!.<br><br>-Sean</div><br clear="all"><br>-- <br>A man is never drunk if he can lie on the floor without holding on. - Joe E. Lewis
------=_Part_1424_22004529.1202997633464--