Bacula-users

Re: [Bacula-users] Testing bacula configs generates orphaned buffer message: bacula 5.0.3

2010-09-09 13:41:25
Subject: Re: [Bacula-users] Testing bacula configs generates orphaned buffer message: bacula 5.0.3
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 9 Sep 2010 18:37:39 +0100
>>>>> On Thu, 09 Sep 2010 10:59:16 -0400, Bob Hetzel said:
> 
> Folks,
> 
> I might have a typo somewhere in my bacula config but I can't find it.
> The reason I suspect something odd is that I got this error:
> *estimate job=bbj2-o755
> Using Catalog "MyCatalog"
> Connecting to Client bbj2-o755 at bbj2-o755.case.edu:9102
> Error sending include list.
> You have messages.
> *mess
> 09-Sep 10:20 gyrus-dir JobId 0: Error: getmsg.c:190 Malformed message: 
> Invalid FileSet command: valid FileSet command: valid FileSet command: 
> valid FileSet command: valid FileSet command: valid FileSet command: valid 
> FileSet command: valid FileSet command: valid FileSet command: valid 
> FileSet command: valid FileSet command: valid FileSet command: valid 
> FileSet command: valid FileSet command: valid FileSet command: valid 
> FileSet command: valid FileSet command: valid FileSet command: valid 
> FileSet command: valid FileSet command: valid FileSet command: valid 
> FileSet command: val
> 09-Sep 10:20 gyrus-dir JobId 0: Fatal error: Socket error on Include 
> command: ERR=No data available
> 
> When I went to check the config file I got this:
> 
> #/opt/bacula/bin/bacula-dir -t /opt/bacula/etc/bacula-dir.conf
> bacula-dir: smartall.c:403 Orphaned buffer: bacula-dir 18 bytes at 1fccf918 
> from parse_conf.c:415
> 
> I tried running at a higher debug level but that didn't help me find 
> anything wrong either.

The "Orphaned buffer" message suggests that some field of an item in the
config is being initialized more than once.  That probably won't cause the
other problems in itself though.


> My config is quite large since I'm backing up around > 150 clients, which 
> makes manually going through the config line by line to check for stray 
> quotes and other typos difficult to say the least.
> 
> Anybody have any other ideas for how to parse the files looking for obvious 
> issues like quoting, etc?

You could try using the show command to see if anything looks wrong or is
missing, which might indicate where the config file is broken.  Start with

show job=bbj2-o755

You might also want to use show filesets and show jobs.

__Martin

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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>