[Box Backup] Help please with Exception: Connection SocketConnectError

Ben Summers boxbackup@fluffy.co.uk
Thu, 28 Sep 2006 12:25:39 +0100


On 28 Sep 2006, at 12:22, J.A.Aylward wrote:

> Hi Ben,
> thanks for your help.
>
> Sorry if this is a dumb question, but how can I tell if bbackupd  
> can connect?

Your logs? /var/log/box if you followed the instructions to the letter.

Or use netstat.

>
> We are behind a firewall, but I don't think it's in the way.
> It blocks UDP traffic, but tcp is ok
>
> Yes I'm running both bbackupd and bbackupquery as root
>
> I haven't got tcpdump installed, but can do so if needed.

What does

   telnet hostname 2201

do, where hostname is the server's name from /etc/box/bbackupd.conf?

Ben



>
> Ben Summers wrote:
>>
>> * Can bbackupd connect, or is it just bbackupquery?
>>
>> * Are you running bbackupd and bbackupquery under the same user?
>>
>> * Is there a firewall in the way?
>>
>> * Does using tcpdump to see what's on the wire help?
>>
>> Ben
>>
>>
>>
>>
>> On 28 Sep 2006, at 12:01, J.A.Aylward wrote:
>>
>>> Hi again !
>>>
>>> Can anyone point me in the right direction with this please?
>>>
>>> bbackupd and bbstored are both running
>>> Certificates are in the correct place (I think)
>>>
>>> I typed: bbackupctl sync
>>> and received:
>>>
>>> Using configuration file /etc/box/bbackupd.conf
>>> Daemon configuration summary:
>>> AutomaticBackup = true
>>> UpdateStoreInterval = 3600 seconds
>>> MinimumFileAge = 21600 seconds
>>> MaxUploadWait = 86400 seconds
>>> Succeeded.
>>>
>>> Then to try to check that things were happening I typed:   
>>> bbackupquery "compare -aq" quit
>>>
>>>
>>> Box Backup Query Tool v_exported, (c) Ben Summers and  
>>> contributors 2003-2006
>>> Using configuration file /etc/box/bbackupd.conf
>>> Connecting to store...
>>> Exception: Connection SocketConnectError (Probably a network  
>>> issue between client and server, bad hostname, or server not  
>>> running.) (7/15)
>>>
>>> I can ping the server, ssh to it, etc (in both directions)
>>> hostname is entered in full with the domain name?
>>>
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Many thanks again
>>>
>>> Jamie Aylward
>>>
>>> --J.A.Aylward
>>> IT Support/Web Team
>>> School of Education and Lifelong Learning
>>> http://www.education.ex.ac.uk/
>>> 01392 264790
>>>
>>> _______________________________________________
>>> boxbackup mailing list
>>> boxbackup@fluffy.co.uk
>>> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>>
>> _______________________________________________
>> boxbackup mailing list
>> boxbackup@fluffy.co.uk
>> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup