Re: A minor puzzle

Phil Stracchino <[email protected]> Mon, 2 Mar 2026 17:09:28 -0500
Newsgroups gmane.comp.bacula.user
Organization Fenian House Publishing
Message-ID <[email protected]>
On 3/2/26 16:50, Arno Lehmann via Bacula-users wrote:
> Hi Phil,

> Some possible causes are already ruled out. So we should consider a
> potential bug in Bacula. You could try to check if there are any jobs in
> the catalog in an unxpected state -- I'm thinking of 'C' for "created
> but not yet running":
> 
> In bconsole:
> sql
> select * from job where jobstatus = 'C';

That returns no rows.

> In fact I'm thinking of a very particular issue that some colleagues are
> currently working on; not the best fit in your case as there seems to be
> no log output at all in your case, and the scenario I have in mind would
> usually log at least the "Start Backup JobId "-line, but that could be
> missed depending on logging and reporting settings, I guess.
> 
> I suppose you did not do any configuration changes in between the last
> jobs and the ones you're missing, right?

Correct.  And it's only very infrequent.  Perhaps a couple of times a 
year, which makes it difficult to even spot a pattern, let alone 
troubleshoot it.

> Also, how did you install your Bacula? From packages? If so, which ones,
> and if not, how did you build? (This is mostly for future references...
> I don't claim to have any good idea regarding build options or any fancy
> patches.)

Locally compiled on each host from the Gentoo ebuild.


> Also, is there anything in 'status client' output that would imply any
> of the missing jobs actually started doing something?

Nope.

> If you want to understand what's going on, it might help to add new
> logging, using the comparatively new message type "Events" which afaik
> is not included in "All", but which should provide information about a
> job start from an early stage on.

So I'd change:

Messages {
   Name = Director
   append = "/var/log/bacula.log" = all, !skipped

to 'all, events, !skipped'?

And then just wait for it to happen again, I suppose...  and remember to 
follow up if and when it does.



-- 
   Phil Stracchino
   Fenian House Publishing
   [email protected]
   [email protected]
   Landline: +1.603.293.8485
   Mobile:   +1.603.998.6958