Bacula-users

Re: [Bacula-users] No entries in log table

2009-02-14 12:44:03
Subject: Re: [Bacula-users] No entries in log table
From: Dan Langille <dan AT langille DOT org>
To: preilly88 AT yahoo DOT com, bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Sat, 14 Feb 2009 12:40:39 -0500
Peter Reilly wrote:
> Thanks for replying.  I should have provided the messages section.  Here it 
> is.  Also, I should have mentioned the reason I'm looking at the log table, 
> is that bweb seems to use it, and I'd like to see the log of jobs in bweb.  

I have replied, cc'ing the list so others can help.

> 
> Thanks,
> 
> Peter
> 
> Messages {
>   Name = Standard
>   mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
> \"Bacula: %t %e of %c %l\" %r"
>   operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
> \"Bacula: Intervention needed for %j\" %r"
>   mail = root@localhost = all, !skipped
>   operator = root@localhost = mount
>   console = all, !skipped, !saved
>   catalog = all, !skipped, !saved
> 
>   append = "/var/log/bacula/log" = all, !skipped
> }
> 
> 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/lib/bacula/log" = all, !skipped
>   append = "/var/log/bacula/log" = all, !skipped
>   catalog = all, !skipped, !saved
> }
> 
> 
> --- On Fri, 2/13/09, Dan Langille <dan AT langille DOT org> wrote:
> 
>> From: Dan Langille <dan AT langille DOT org>
>> Subject: Re: [Bacula-users] No entries in log table
>> To: preilly88 AT yahoo DOT com
>> Cc: bacula-users AT lists.sourceforge DOT net
>> Date: Friday, February 13, 2009, 10:15 PM
>> Peter Reilly wrote:
>>> I'm using mysql 5.0.45, and bacula 2.4.2
>> (installed from RPM).  Most things seem to be working well,
>> but I'm getting nothing written to the log table in
>> mysql.  
>>> What configuration setting controls logging events to
>> the mysql database?
>>
>> I find this interesting because I've never looked at
>> the log table before.  Inspecting, I think of the Message
>> resource.
>>
>> Have a read of this:
>>
>>  
>> http://www.bacula.org/en/rel-manual/Messages_Resource.html
>>
>> Look at the catalog option.
>>
>> FYI, this is my messages resource:
>>
>>
>> Messages {
>>   Name = Standard
>>   mailcommand = "/usr/local/sbin/bsmtp -h localhost -f
>> \"\(Bacula\) %r\" -s
>> \"Bacula: %t %e of %c %l\" %r"
>>   operatorcommand = "/usr/local/sbin/bsmtp -h
>> localhost -f \"\(Bacula\) %r\" -s
>> \"Bacula: Intervention needed for %j\"
>> %r"
>>   operator = root@localhost = mount
>>   mail = root@localhost = all
>>   console = all
>>
>>   append = "/home/bacula/working/log" = all,
>> !skipped, !restored
>>
>>   catalog = all, !skipped, !saved
>> }
>>
>> I suspect you are missing the catalog entry from this item.
>> -- Dan Langille
>>
>> BSDCan - The Technical BSD Conference :
>> http://www.bsdcan.org/
>> PGCon  - The PostgreSQL Conference:    
>> http://www.pgcon.org/
> 
> 
>       


-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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>