[Box Backup] bbackupd silently dies on FreeBSD

Per Thomsen boxbackup@fluffy.co.uk
Wed, 02 Mar 2005 19:56:56 -0800


On 3/2/05 7:32 PM, Doug Poland wrote:

>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
>  
>
I would suggest looking at the log file (/var/log/box, if you used the 
configuration for syslog) on the client side first, to see what's 
happening with bbackupd when it starts.

If you don't see anything (or nothing that seems to help), set 
ExtendedLogging to 'yes' in bbackupd.conf, and start again. There should 
be clues there.

Thanks,
Per


-- 
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102    |   pthomsen@reedtz.com  | C: 209 996 9561
GPG ID: 1209784F   |  Yahoo! Chat: pthomsen | AIM: pthomsen