The problem I have is that this particular SD is running on Windows so there is no STOUT. Where do I look from there? I can set the -d option within the services options but I just don't know where to look for the debug information.
jason Kern Sibbald wrote: > On Monday 26 March 2007 21:20, Jason King wrote: > >> You mean in the console? >> > > No. > > >> I set my debug level to 100 and nothing >> different has come through to my console. Where can I get the debug >> information? >> > > Unless you redirect the output, it will appear in the shell from which you > started the SD. I.e. stdout. Note, many rpm and distro scripts send stdout > to /dev/null. The "bacula start" script does not do that. > > Also, if you have a non-developer version (i.e. many distros and rpms), then > when Bacula daemonizes it closes stdout. To avoid that as I mentioned, you > need to *start* it with at least -d1 on the command line, you can then later > change the debug level with the setdebug command. > > Also, note that I am saying to set the debug level in the SD. Each daemon > has > its own debug level. > > I'll leave it to the list to help you get this working if you still have > problems ... > > >> Kern Sibbald wrote: >> >>> On Monday 26 March 2007 19:53, Jason King wrote: >>> >>> >>>> I'm sorry, I said that wrong. I tried to say the email I got showed the >>>> director sees an errored backup...but the file daemon puts a successful >>>> backup in its own history logs. I'll try using debugging to see if that >>>> gives me what I need. >>>> >>>> >>> >>> >>>> Where can I find the debug output? >>>> >>>> >>> On the shell window for Unix/Linux machines, and in bacula.trace for >>> > Windows > >>> machine. >>> >>> >>> >>>> Kern Sibbald wrote: >>>> >>>> >>>>> On Monday 26 March 2007 18:10, Jason King wrote: >>>>> >>>>> >>>>> >>>>>> Also, the email I got showed the director does see a successful >>>>>> backup... >>>>>> >>>>>> >>>>>> >>>>> That seems unlikely because the output you showed below indicates that >>>>> > the > >>>>> >>>>> >>> job >>> >>> >>>>> failed. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> but like I said, the file daemon says the backup WAS successful >>>>>> when I do a "status client" from the console of the director. >>>>>> >>>>>> >>>>>> >>>>> For the backup to be successful, all three components (DIR, FD, and SD) >>>>> >>>>> >>> must >>> >>> >>>>> report success. In this case, the Dir did not get a success from the >>>>> > SD. > >>>>> Why is the mystery you need to resolve. >>>>> >>>>> You might set debug to -d100 in the SD via the setdebug command before >>>>> >>>>> >>> running >>> >>> >>>>> the job. If the SD is built with DEBUG off, you will need to start it >>>>> >>>>> >>> with >>> >>> >>>>> atleast -d1 for the setdebug command to work. A -d100 should show you >>>>> >>>>> >>> where >>> >>> >>>>> things went wrong, if not, up the debug level. >>>>> >>>>> >>>>> >>>>> >>>>>> Jason >>>>>> >>>>>> Kern Sibbald wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Your email title is a bit misleading as this was not successful >>>>>>> > backup. > >>>>>>> It looks like the SD might have died ... i.e. probably crashed. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Monday 26 March 2007 17:10, Jason King wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> According to my bacula database, my backup of one of my servers ended >>>>>>>> >>>>>>>> >>> in >>> >>> >>>>>>>> an error but when I do a status on the servers file daemon, it shows >>>>>>>> > a > >>>>>>>> successful backup, here is the email I received: >>>>>>>> >>>>>>>> 26-Mar 09:01 maint-dir: Start Backup JobId 353, >>>>>>>> >>>>>>>> >>>>>>>> >>>>> Job=dctn.2007-03-26_09.01.49 >>>>> >>>>> >>>>> >>>>>>>> 26-Mar 09:01 dctn-sd: Wrote label to prelabeled Volume "GovDeals-01" >>>>>>>> > on > >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> device "DLT-Drive" (Tape0) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:01 dctn-sd: Spooling data ... >>>>>>>> 26-Mar 09:02 dctn-fd: Generate VSS snapshots. Driver="VSS Win 2003", >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Drive(s)="D" >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "System Writer", >>>>>>>> >>>>>>>> >>>>>>>> >>>>> State: >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "MSDEWriter", >>>>>>>> > State: > >>>>>>>> >>>>>>>> >>>>>>>> >>>>> 0x1 >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "WINS Jet Writer", >>>>>>>> >>>>>>>> >>>>>>>> >>>>> State: >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "COM+ REGDB >>>>>>>> > Writer", > >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> State: 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "Dhcp Jet Writer", >>>>>>>> >>>>>>>> >>>>>>>> >>>>> State: >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "Certificate >>>>>>>> >>>>>>>> >>>>>>>> >>>>> Authority", >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> State: 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "DFS Replication >>>>>>>> >>>>>>>> >>>>>>>> >>>>> service >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> writer", State: 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "FRS Writer", >>>>>>>> > State: > >>>>>>>> >>>>>>>> >>>>>>>> >>>>> 0x1 >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "Registry Writer", >>>>>>>> >>>>>>>> >>>>>>>> >>>>> State: >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "Event Log >>>>>>>> > Writer", > >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> State: 0x1 (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "NTDS", State: 0x1 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 dctn-fd: VSS Writer (BackupComplete): "WMI Writer", >>>>>>>> > State: > >>>>>>>> >>>>>>>> >>>>>>>> >>>>> 0x1 >>>>> >>>>> >>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> (VSS_WS_STABLE) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> 26-Mar 09:39 maint-dir: dctn.2007-03-26_09.01.49 Error: Bacula 2.0.1 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> (12Jan07): 26-Mar-2007 09:39:59 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> JobId: 353 >>>>>>>> Job: dctn.2007-03-26_09.01.49 >>>>>>>> Backup Level: Full >>>>>>>> Client: "dctn-fd" 2.0.3 (06Mar07) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Linux,Cross-compile,Win32 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> FileSet: "DCTNSet" 2007-03-20 23:32:54 >>>>>>>> Pool: "GovDeals" (From Job resource) >>>>>>>> Storage: "DLT-Tape" (From Job resource) >>>>>>>> Scheduled time: 26-Mar-2007 09:01:47 >>>>>>>> Start time: 26-Mar-2007 09:01:57 >>>>>>>> End time: 26-Mar-2007 09:39:59 >>>>>>>> Elapsed time: 38 mins 2 secs >>>>>>>> Priority: 10 >>>>>>>> FD Files Written: 20,621 >>>>>>>> SD Files Written: 0 >>>>>>>> FD Bytes Written: 9,756,487,879 (9.756 GB) >>>>>>>> SD Bytes Written: 0 (0 B) >>>>>>>> Rate: 4275.4 KB/s >>>>>>>> Software Compression: None >>>>>>>> VSS: yes >>>>>>>> Encryption: no >>>>>>>> Volume name(s): >>>>>>>> Volume Session Id: 2 >>>>>>>> Volume Session Time: 1174687096 >>>>>>>> Last Volume Bytes: 64,512 (64.51 KB) >>>>>>>> Non-fatal FD errors: 0 >>>>>>>> SD Errors: 0 >>>>>>>> FD termination status: OK >>>>>>>> SD termination status: Error >>>>>>>> Termination: *** Backup Error *** >>>>>>>> >>>>>>>> The error messages are not descriptive. At the top, the message just >>>>>>>> says "error". Then at the bottom it says "SD termination status: >>>>>>>> > Error. > >>>>>>>> I don't know what any of that means. What does this all mean? This >>>>>>>> backup job uses spooling BTW. >>>>>>>> >>>>>>>> Jason >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> >>>>>>> >>>>>>> >>>>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to >>>>>>>> > share > >>>>>>>> >>>>>>>> >>>>>>>> >>>>> your >>>>> >>>>> >>>>> >>>>>>>> opinions on IT & business topics through brief surveys-and earn cash >>>>>>>> >>>>>>>> >>>>>>>> >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> >>> >>>>>>>> _______________________________________________ >>>>>>>> Bacula-users mailing list >>>>>>>> Bacula-users@lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>> ------------------------------------------------------------------------- >>>>> >>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>>>>> >>>>>> >>> your >>> >>> >>>>>> opinions on IT & business topics through brief surveys-and earn cash >>>>>> >>>>>> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>>>>> _______________________________________________ >>>>>> Bacula-users mailing list >>>>>> Bacula-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users