I see, do I need to make that file executable and how?
/usr/lib64/bacula # ll
total 180
-rwx------ 1 root bacula 938 Jan 15 13:50 bacula-password-setup.sh
-rwxr-xr-x 1 root bacula 486 Jan 15 13:50 bconsole
-rwxr-xr-x 1 root bacula 32449 Jan 15 13:50 bpipe-fd.so
-rw-r--r-- 1 root bacula 341 Jan 15 13:50 btraceback.gdb
-rwxr-xr-x 1 root bacula 734 Feb 11 17:56 create_bacula_database
-rwxr-xr-x 1 root root 291 Jan 15 13:50 create_mysql_database
-rwxr-xr-x 1 root bacula 104 Jan 15 13:50 delete_catalog_backup
-rwxr-xr-x 1 root bacula 10954 Jan 15 13:50 disk-changer
-rwxr-xr-x 1 root bacula 741 Feb 11 17:56 drop_bacula_database
-rwxr-xr-x 1 root bacula 737 Feb 11 17:56 drop_bacula_tables
-rwxr-xr-x 1 root root 295 Jan 15 13:50 drop_mysql_database
-rwxr-xr-x 1 root root 1178 Jan 15 13:50 drop_mysql_tables
-rwxr-xr-x 1 root bacula 16952 Jan 15 13:50 dvd-handler
-rwxr-xr-x 1 root bacula 775 Feb 11 17:56 grant_bacula_privileges
-rwxr-xr-x 1 root root 614 Jan 15 13:50 grant_mysql_privileges
-rwxr-xr-x 1 root bacula 745 Feb 11 17:56 make_bacula_tables
-rwxr-xr-x 1 root bacula 2523 Jan 15 13:50 make_catalog_backup
-rwxr-xr-x 1 root bacula 4279 Mar 4 11:35 make_catalog_backup.pl
-rwxr-xr-x 1 root root 13796 Jan 15 13:50 make_mysql_tables
-rwxr-xr-x 1 root bacula 8336 Jan 15 13:50 mtx-changer
-rw-r--r-- 1 root bacula 8737 Jan 15 13:50 query.sql
-rwxr-xr-x 1 root bacula 755 Jan 15 13:50 update_bacula_tables
drwxr-xr-x 2 root bacula 4096 Feb 8 16:58 updatedb
-rwxr-xr-x 1 root root 1572 Jan 15 13:50 update_mysql_tables
On Mon, Mar 4, 2013 at 2:22 PM, compdoc <comp...@hotrodpc.com> wrote:
> *From:* Carlos Perez [mailto:carlos.r.pe...@gmail.com]
> * # cat /usr/lib64/bacula/query.sql*****
>
> #****
>
> # This file contains sample queries that you can possibly use in****
>
> # your query.sql file. However, please note that these examples****
>
> # are not supported. They may or may not work -- in fact, they may****
>
> # work with one SQL engine and not another. As a consequence,****
>
> # please do not submit bug reports on either query.sql or ****
>
> # sample-query.sql****
>
> #****
>
> # If you find that they work for MySQL and not for PostgreSQL,****
>
> # then please send us a whole new file corrected for PostgreSQL****
>
> # and we will post it in the examples directory for everyone****
>
> # to use.****
>
> #****
>
> ** **
>
> ** **
>
> My query.sql is almost empty, so didn’t know you would have to paste all
> that. Sorry.****
>
> ** **
>
> The green must mean executable, and the black a text file. Mine show
> permissions like this:****
>
> ** **
>
> ** **
>
> rwxr-xr-x 2 root root 4096 Jan 16 02:36 .****
>
> drwxr-xr-x 3 root root 4096 Feb 15 15:36 ..****
>
> -rwxr-x--- 1 root root 1614 Jan 16 02:36 bacula****
>
> -rwxr-x--- 1 root root 2716 Jan 16 02:36 bacula_config****
>
> -rwxr-x--- 1 root root 5180 Jan 16 02:36 bacula-ctl-dir****
>
> -rwxr-x--- 1 root root 5197 Jan 16 02:36 bacula-ctl-fd****
>
> -rwxr-x--- 1 root root 5137 Jan 16 02:36 bacula-ctl-sd****
>
> -rwxr-x--- 1 root root 470 Jan 16 02:36 bconsole****
>
> -rw-r--r-- 1 root root 1073 Jan 16 02:36 btraceback.dbx****
>
> -rw-r--r-- 1 root root 341 Jan 16 02:36 btraceback.gdb****
>
> -rw-r--r-- 1 root root 343 Jan 16 02:36 btraceback.mdb****
>
> -rwxr-x--- 1 root root 736 Jan 16 02:36 create_bacula_database****
>
> -rwxr-x--- 1 root root 291 Jan 16 02:36 create_mysql_database****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users