Hello,

There is no need to run the FD in the background because it *automatically* by 
default runs in the background, unless you explicitly suppress it; typically 
to simplify debugging.  In fact, if you try to run it in the background, it 
will surely fail as you have noted.

On Monday 26 September 2005 19:00, Joe Brunner wrote:
> Hello,
>
> I'm trying to prepare a generic, fully-automated bare-bones recovery
> process using a Knoppix CD with Bacula.  I'm having problems getting the
> file daemon to communicate with the storage daemon on our backup server
> when the file daemon is backgrounded.  When I run the file daemon in the
> foreground, using the same flags and configuration file as when run in
> the background, there are no communication errors and the restore
> completes successfully.
>
> The backup server is running Debian and the machine to be restored is
> booting off of a Knoppix CD.  All machines are running Bacula versions
> 1.36.2.  I have tried starting the file daemon in the background via the
> init scripts and from the command line.  When started in the background,
> I can connect to the file daemon using bconsole and get a status.
> However, restore operations always fail unless the file daemon is run in
> the foreground.
>
> The specific error I get when running the backgrounded file daemon is:
>
> 26-Sep 16:09 server-dir: Start Restore Job RestoreFiles.2005-09-26_16.09.44
> 26-Sep 16:09 server-dir: RestoreFiles.2005-09-26_16.09.44 Warning:
> bnet.c:769 Could not connect to File daemon on client:9102. ERR=Connection
> refused Retrying ...
> 26-Sep 16:10 server-dir: RestoreFiles.2005-09-26_16.09.44 Error: Bacula
> 1.36.2 (28Feb05): 26-Sep-2005 16:10:57 JobId:                  137
>   Job:                    RestoreFiles.2005-09-26_16.09.44
>   Client:                 client-fd
>   Start time:             26-Sep-2005 16:09:46
>   End time:               26-Sep-2005 16:10:57
>   Files Expected:         2
>   Files Restored:         0
>   Bytes Restored:         0
>   Rate:                   0.0 KB/s
>   FD Errors:              0
>   FD termination status:
>   SD termination status:  Waiting on FD
>   Termination:            *** Restore Error ***
>
>
> Thanks in advance,
> Joe
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to