First off I don't think you're allowed to have multiple resources of the same type with the same name. So I would either rename one of them or if you aren't using it just remove it. The job resource must contain those directives, either specified in the job resource or inherited from a JobDefs.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Boris Sent: Monday, April 17, 2006 10:40 AM To: bacula-users@lists.sourceforge.net; Robert Nelson Subject: RE: [Bacula-users] Newbie Configuration Question OK I see where I made that mistake. I now get the following errors at startup: [EMAIL PROTECTED] bin]# ./bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon 17-Apr 13:27 bacula-dir: Fatal error: "type" directive in Job "BackupCatalog" resource is required, but not found. 17-Apr 13:27 bacula-dir: Fatal error: "messages" directive in Job "BackupCatalog" resource is required, but not found. 17-Apr 13:27 bacula-dir: Fatal error: "storage" directive in Job "BackupCatalog" resource is required, but not found. 17-Apr 13:27 bacula-dir: Fatal error: "pool" directive in Job "BackupCatalog" resource is required, but not found. 17-Apr 13:27 bacula-dir: Fatal error: "client" directive in Job "BackupCatalog" resource is required, but not found. 17-Apr 13:27 bacula-dir ERROR TERMINATION Please correct configuration file: /root/bacula/bin/bacula-dir.conf Looking at bacula-dir.conf the BackupCatalog resource is entered twice in my configuration. The first one was the default that is made at Install and has the JobDefs set to DefaultJob. I copied this and changed the JobDefs field to point to MainJob. Is this correct? John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" >>> "Robert Nelson" <[EMAIL PROTECTED]> 04/17/06 12:37 PM >>> You need to add a storage resource to bacula-dir.conf. This is the abstraction for a device controlled by a Storage Daemon. You probably want something like Storage { Name = <name, this is what you put in the Job / JobDefs> Address = <IP Address or Name of system running bacula-sd> SDPort = 9103 <Must match the Storage resource in bacula-sd.conf> Password = <password matching the one in the Director resource in bacula-sd.conf> Device = Drive-0 Media Type = LTO-2 } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users