Re: [Bacula-users] Parser error while reloading after adding new client

2014-08-13 Thread Radosław Korzeniewski
Hello, 2014-08-11 15:44 GMT+02:00 Markus "Shorty" Uckelmann : > On 11.08.2014 15:09, Andreas Nastke wrote: > > shouldn't that be typed: > > > > "... -exec \{\} \;" > > > > ? > > Sadly not. I tried this in /etc/bacula/bacula-dir.conf: > > @|"find /etc/bacula/conf.d/clients -name '*.conf' -type

Re: [Bacula-users] Parser error while reloading after adding new client

2014-08-11 Thread Clark, Patricia A.
ory From: Shorty Markus Uckelmann mailto:sho...@koeln.de>> Date: Monday, August 11, 2014 at 9:58 AM To: "bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>" mailto:bacula-users@lists.sourceforge.net>> Subject: Re: [Bacula-users] Pars

Re: [Bacula-users] Parser error while reloading after adding new client

2014-08-11 Thread Markus "Shorty" Uckelmann
On 11.08.2014 12:31, Markus "Shorty" Uckelmann wrote: > I wanted to add a new client and after a reload (echo "reload" | > /usr/sbin/bconsole) the following error popped up: > > 11-Aug 10:47 bacula-dir: ERROR in parse_conf.c:938 Config error: > Expected a Resource name identifier, got: find: : l

Re: [Bacula-users] Parser error while reloading after adding new client

2014-08-11 Thread Markus "Shorty" Uckelmann
On 11.08.2014 15:09, Andreas Nastke wrote: > shouldn't that be typed: > > "... -exec \{\} \;" > > ? Sadly not. I tried this in /etc/bacula/bacula-dir.conf: @|"find /etc/bacula/conf.d/clients -name '*.conf' -type f -exec echo \{\} \;" And after a reload it threw the same error: 11-Aug 15:4

Re: [Bacula-users] Parser error while reloading after adding new client

2014-08-11 Thread Markus "Shorty" Uckelmann
On 11.08.2014 14:26, Birger Blixt wrote: > 2014-08-11 12:31, Markus "Shorty" Uckelmann skrev: >> -name '*.conf' -type f -exec echo @{} ; >> -name '*.conf' -type f -exec echo {} \; | wc -l > Didn't you miss a backslash there? Nope! I really thought you got me here, but it is what Bacula wrote into