[Box Backup] bbackupd silently dies on FreeBSD

Doug Poland boxbackup@fluffy.co.uk
Wed, 2 Mar 2005 21:32:19 -0600


Hello,

Now that I've got the thing configured (thanks for your help Per), I'm
hitting another wall.

The server starts successfully and I verify it with: 

server# ps -waux | grep bb

_bbstored  2795  0.0  0.3  3780 2780  ??  S     9:05PM   0:00.01 bbstored: server (bbstored)
_bbstored  2796  0.0  0.3  3780 2672  ??  I     9:05PM   0:00.00 bbstored: housekeeping, idle (bbstored)

However, on the client, bbackupd dies and I don't know why.  I'm using
the startup script in /usr/local/etc/rc.d/bbackupd.sh start 

I see stuff in /var/run

client# ll /var/run
total 30
-rw-r--r--  1 root  wheel       3 Mar  2 20:43 bbackupd.pid
srwxr-xr-x  1 root  wheel       0 Mar  2 20:43 bbackupd.sock=

but no daemon is running.

ps -waux | grep bb

client# ps -waux | grep bb
root     337  0.0  0.0  1412  632  p1  RL+   9:27PM   0:00.00 grep bb

The client can apparently talk to the server, hence:

client# bbackupquery -q usage quit
          Used        0.0Mb   0% 
     Old files        0.0Mb   0% 
 Deleted files        0.0Mb   0% 
   Directories        0.0Mb   0% 
    Soft limit     8192.0Mb  80% ********************************
    Hard limit    10240.0Mb 100% ****************************************

but no go here:

client# bbackupctl -c /usr/local/etc/box/bbackupd.conf sync
Using configuration file /usr/local/etc/box/bbackupd.conf
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

Any suggestions?

-- 
Regards,
Doug