Bacula-users

Re: [Bacula-users] Restore error : Fatal error: fd_cmds.c:177 FD command not found: bootstrap

2009-12-18 08:24:54
Subject: Re: [Bacula-users] Restore error : Fatal error: fd_cmds.c:177 FD command not found: bootstrap
From: Dan Langille <dan AT langille DOT org>
To: Sébastien Delneste <seb AT wice DOT eu>
Date: Fri, 18 Dec 2009 08:21:04 -0500
Sébastien Delneste wrote:
> Hello,
> 
> When trying to restore a job, I get an error saying that the SD was 
> unable to execute the bootstrap instruction.
> 
> *Error message:*
> 18-Dec 11:28 bacula001-dir JobId 12217: Start Restore Job 
> RestoreFiles.2009-12-18_11.28.33_31
> 18-Dec 11:28 bacula001-dir JobId 12217: Using Device "Online.BlcII"
> 18-Dec 11:29 bacula002-sd JobId 12217: Fatal error: fd_cmds.c:177 FD 
> command not found: bootstrap
> 
> 18-Dec 11:29 monitor2-fd JobId 12217: Fatal error: job.c:1817 Bad 
> response to Bootstrap command. Wanted 3000 OK bootstrap
> , got 3900 Invalid command
> 
> 18-Dec 11:28 bacula001-dir JobId 12217: Error: Bacula bacula001-dir 
> 3.0.1 (30Apr09): 18-Dec-2009 11:28:35
>  Build OS:               i686-pc-linux-gnu debian 5.0.1
>  JobId:                  12217
>  Job:                    RestoreFiles.2009-12-18_11.28.33_31
>  Restore Client:         monitor2-fd
>  Start time:             18-Dec-2009 11:28:35
>  End time:               18-Dec-2009 11:28:35
>  Files Expected:         2
>  Files Restored:         0
>  Bytes Restored:         0
>  Rate:                   0.0 KB/s
>  FD Errors:              0
>  FD termination status:  Error
>  SD termination status:  Error
>  Termination:            *** Restore Error ***
> 
> 18-Dec 11:28 bacula001-dir JobId 12217: Begin pruning Jobs.
> 18-Dec 11:28 bacula001-dir JobId 12217: No Jobs found to prune.
> 18-Dec 11:28 bacula001-dir JobId 12217: Begin pruning Files.
> 18-Dec 11:28 bacula001-dir JobId 12217: No Files found to prune.
> 18-Dec 11:28 bacula001-dir JobId 12217: End auto prune.
> 
> 
> *Bacula versions*
> - bacula-dir (bacula001): Version: 3.0.1 (30 April 2009)
> - bacula-fd (monitor2): 3.0.3 (18Oct09) Linux,Cross-compile,Win64
> - bacula-sd (bacula002): Version: 3.0.3 (18 October 2009)

SD and DIR must *always* be the same version.

FD cannot be a newer version than the DIR/SD.

> 
> 
> *Bootstrap File : (stored on the bacula-dir)*
> Volume="hyperv3819"
> MediaType="File"
> Device="Offline.BlcII"
> VolSessionId=10
> VolSessionTime=1256779699
> VolAddr=8880-17066
> FileIndex=12
> Count=1
> 
> *Output on bacula002 when running in verbose mode :*
> bacula002:/downloads/bacula-3.0.3# /sbin/bacula-sd -c 
> /etc/bacula/bacula-sd.conf -u bacula -g tape -d99 -v -f -s
> bacula-sd: stored_conf.c:701-0 Inserting director res: bacula001-mon
> bacula-sd: stored_conf.c:701-0 Inserting device res: Online.BlcII
> bacula002-sd: stored.c:528-0 calling init_dev /bacula/offline
> bacula002-sd: stored.c:530-0 SD init done /bacula/offline
> bacula002-sd: stored.c:543-0 calling first_open_device "Offline.BlcII" 
> (/bacula/offline)
> bacula002-sd: stored.c:528-0 calling init_dev /bacula/online
> bacula002-sd: stored.c:530-0 SD init done /bacula/online
> bacula002-sd: stored.c:543-0 calling first_open_device "Online.BlcII" 
> (/bacula/online)
> bacula002-sd: cram-md5.c:73-0 send: auth cram-md5 
> <2053749649.1261134956@bacula002-sd> ssl=0
> bacula002-sd: cram-md5.c:152-0 sending resp to challenge: 
> YkN15x5GrQICz9+kQ+kGvD
> bacula002-sd: dircmd.c:211-0 Message channel init completed.
> bacula002-sd: job.c:156-12219 >dird jid=12219: 3000 OK Job SDid=1 
> SDtime=1261134894 Authorization=MIGN-CNLO-MNLC-LHIH-FBDP-PFOG-DNPL-AICN
> bacula002-sd: job.c:189-12219 RestoreFiles.2009-12-18_12.14.25_11 
> waiting 1800 sec for FD to contact SD 
> key=MIGN-CNLO-MNLC-LHIH-FBDP-PFOG-DNPL-AICN
> bacula002-sd: dircmd.c:180-0 Hello Start Job 
> RestoreFiles.2009-12-18_12.14.25_11
> bacula002-sd: job.c:237-0 Found Job RestoreFiles.2009-12-18_12.14.25_11
> bacula002-sd: cram-md5.c:73-0 send: auth cram-md5 
> <138730080.1261134956@bacula002-sd> ssl=0
> bacula002-sd: cram-md5.c:152-0 sending resp to challenge: 
> E7+Vj6/bM7cWE7Z8L8sybC
> bacula002-sd: job.c:260-0 OK Authentication jid=12219 Job 
> RestoreFiles.2009-12-18_12.14.25_11
> bacula002-sd: job.c:204-12219 Auth=1 canceled=0 errstat=0
> bacula002-sd: job.c:210-12219 Running job 
> RestoreFiles.2009-12-18_12.14.25_11
> bacula002-sd: cram-md5.c:73-0 send: auth cram-md5 
> <848651373.1261134956@bacula002-sd> ssl=0
> bacula002-sd: cram-md5.c:152-0 sending resp to challenge: 
> sG+Jc6+946Jnj75Wd5+pTB
> bacula002-sd: dircmd.c:211-0 Message channel init completed.
> bacula002-sd: cram-md5.c:73-0 send: auth cram-md5 
> <967870448.1261134956@bacula002-sd> ssl=0
> bacula002-sd: cram-md5.c:152-0 sending resp to challenge: 
> PEFgn7c4u+EOr7++i4/smC
> bacula002-sd: dircmd.c:211-0 Message channel init completed.
> 
> 
> 
> I already tried different versions of the SD (self compiled, Debian sid 
> version, etc) but the error stays the same.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>