Re: [Bacula-users] Parser error while reloading after adding new client
2014-08-11 09:51:19
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:41 bacula-dir: ERROR in parse_conf.c:938 Config error:
Expected a Resource name identifier, got: find:
: line 1, col 5 of file |find /etc/bacula/conf.d/clients
-name '*.conf' -type f -exec echo {} ;
find: Failed to change directory: Permission denied
11-Aug 15:41 bacula-dir JobId 0: Error: Please correct configuration
file: /etc/bacula/bacula-dir.conf
11-Aug 15:41 bacula-dir JobId 0: Error: Resetting previous configuration.
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|