[Box Backup] Error on boxbackup

andrew.habashi at bell.ca andrew.habashi at bell.ca
Mon May 2 17:21:05 BST 2011


1) Which version of Box Backup

Tried running # bbstored -h but it is not working, I typed # bbstored -h and it says bash: bbstored: command not found

2) - What happens if you try to run bbstored manually (assuming you're currently using an init script)

Yes, however given your output below are you talking about a backup server or a backup client? How have you been attempting to start the service?

I have been using /usr/local/sbin/bbstored to start the service, we have a boxbackup client and its own dedicated backup server also

3) I ran ps auxww | grep bbstore | grep -v grep
ps auxww | grep bbackup | grep -v grep

nothing happens

4) Ah. This could be the key. Have you:

 - Updated /etc/hosts and/or DNS with the new IP address
 - Updated ListenAddresses in bbstored.conf and/or bbackupd.conf

Yup I ddid all of that ;)



Andrew Habashi
Coordination and Programming Specialist | Spécialiste Programmation et Coordination
T : 514 397-6036  M : 514 972-8165
andrew.habashi at bell.ca


                                                                                     

-----Original Message-----
From: James O'Gorman [mailto:james at netinertia.co.uk] 
Sent: May 2, 2011 12:09 PM
To: Habashi, Andrew (6038733)
Cc: 'Box Backup Users'
Subject: Re: Error on boxbackup

On 2 May 2011, at 17:01, andrew.habashi at bell.ca wrote:

> Which version of Box Backup
> -no sure, where can I find this

Pass the -h flag to any of the commands, e.g. bbstored -h. The first line will have the version:

# bbstored -h
Box Backup Store Server v0.11_trunk_2368, (c) Ben Summers and contributors 2003-2008


> - Which operating system 
> - Redhat Enterprise Linux 4ES
> 
> 
> - Did you use a package or compile it yourself
> -it was a guy before me that built it, I  believe he compiled it
> 
> 
> - What happens if you try to run bbstored manually (assuming you're currently using an init script)
> Are you talking about this command /usr/local/sbin/bbstored

Yes, however given your output below are you talking about a backup server or a backup client? How have you been attempting to start the service?

> - Any relevant log output from syslog 
> - May  2 00:00:02 dubai bbackupctl[6643]: ERROR: Failed to connect to socket (type 2, name /var/bbackupd/bbackupd.sock, port 0): Connection refused (111)
> May  2 00:00:02 dubai bbackupctl[6643]: WARNING: Exception thrown: ConnectionException(Conn_SocketConnectError) at SocketStream.cpp(246)
> May  2 00:00:02 dubai bbackupctl[6643]: ERROR: 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 daemon   * Daemon is waiting to recover from an error

Please check if any other processes are running on the system. Run the following commands as root:

ps auxww | grep bbstore | grep -v grep
ps auxww | grep bbackup | grep -v grep

If there is any output then another process is already running. You can probably kill it.

> - When did it stop working? Has anything changed on the system? 
> - switched boxbackup to another floor, I also changed to proper IP address as that changed

Ah. This could be the key. Have you:

 - Updated /etc/hosts and/or DNS with the new IP address
 - Updated ListenAddresses in bbstored.conf and/or bbackupd.conf

> 
> 
> - Anything you've currently tried to investigate/resolve this
> I have scanned all backup files and daemon server files and nothing seems to be broken
> The backup server can't be started.

James




More information about the Boxbackup mailing list