[Box Backup] Help please with Exception: Connection SocketConnectError

Ben Summers boxbackup@fluffy.co.uk
Thu, 28 Sep 2006 13:01:00 +0100


Do

   netstat -an

on the server, and see if anything is listening on 2201 on the  
expected address.


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

> Thanks for your pointer:
>
> Can bbackupd connect?
>
> No - I tried ssh -p 2201 - and the connection is refused.
>
> I've tried adding the hostname in the hosts.allow file
>
> and been trawling the web for help without luck yet - so if you  
> know the answer I'd greatly appreciate it.
>
> Sorry to keep asking questions - I am slowly producing a list of  
> how to install on Debian...
>
> Many thanks
>
> Jamie Aylward
>
>
> J.A.Aylward
> IT Support/Web Team
> School of Education and Lifelong Learning
> http://www.education.ex.ac.uk/
> 01392 264790
>
>
>
>
> Ben Summers wrote:
>>
>> 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
>>
>> _______________________________________________
>> 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