Bacula-users

[Bacula-users] Fatal error

2013-01-28 16:11:45
Subject: [Bacula-users] Fatal error
From: Pinky Vivona <ptvivona AT gmail DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Mon, 28 Jan 2013 16:07:29 -0500

Hello,

I setup a job to run in 1 big file “bacula-dir.conf” this was working.


Now I split up file and changed the config file to have a multiple clients and it is not running.

I am using Centos 6.3 and posgreSQL:

I also changed the Storage name from File to FileDevice and the (Archived directory was changed from external disk to /mnt/data) would this cause a problem?

I have the following error:

There were no results!
It is possible you may need to add "catalog = all" to the Messages resource for this job.

Here is my bacula-dir.conf


###############################
# /etc/bacula/bacula-dir.conf              #
###############################

# Define the Director name, password used for authenticating the Console program.

Director {                                    # define myself
  Name = bacula-dir
  DIRport = 9101                             # where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/spool/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 4      # 3 because there 4 storage
  Password = "password"                   # Console password
  Messages = Daemon
  DirAddress = bacula-IP            # Director address
}

#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
  Name = bacula-mon
  Password = "password"
  CommandACL = status, .status
}

# Include split config files.
@/etc/bacula/conf.d/catalogs.conf
@/etc/bacula/conf.d/filesets.conf
@/etc/bacula/conf.d/jobdefs.conf
@/etc/bacula/conf.d/messages.conf 
==> I defined "catalog = all" in here
@/etc/bacula/conf.d/pools.conf
@/etc/bacula/conf.d/schedules.conf
@/etc/bacula/conf.d/storages.conf

# They define the bulk of the Clients, Jobs, and FileSets.
# Remember to "reload" the Director after adding a client file.
#
@|"sh -c 'for f in /etc/bacula/conf.d/clients/*.conf ; do echo @${f} ; done'"

---------------------------------

Here is the
/etc/bacula/conf.d/messages.conf


####################################

# /etc/bacula/conf.d/messages.conf          #

####################################

Messages {

  Name = Standard

  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"

  mail = root@localhost = all, !skipped

  operator = root@localhost = mount

  console = all, !skipped, !saved

  append = "/var/log/bacula/bacula.log" = all, !skipped

  catalog = all   ==> Not sure why the error complain that i need to add catalog =all

}


# Message delivery for daemon messages (no job).

Messages {

  Name = Daemon

  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"

  mail = root@localhost = all, !skipped

  console = all, !skipped, !saved

  append = "/var/log/bacula/bacula.log" = all, !skipped

}

[root@bacula conf.d]#


------------------------

Thanks,





------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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>
  • [Bacula-users] Fatal error, Pinky Vivona <=