
-----------------------------------------------------------------------------------
Q. I receive a message like "/usr/sbin/bconsole: Permission denied".

A. This is not a Webacula (or Bacula) bug.

First check: /usr/sbin/bconsole -- is binary ELF file (not a shell script).
See also INSTALL file.

Next, modify your .htaccess file :
	php_flag	display_errors on
	RewriteEngine Off

Create test.php :

<?php

echo '<h2>bconsole debug</h2>';

//$cmd = '/usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf';
// or
$cmd = '/usr/bin/sudo /usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf';

exec($cmd . " <<EOF
status dir
@quit
EOF",
$command_output, $return_var);

echo '<pre>command_output:<br>', print_r($command_output), '<br><br>return_var = ', $return_var, '</pre>';

?>

And check this : http://localhost/webacula/test.php
See also /var/log/httpd/error_log

When you run test.php you SHOULD get a result like below.
If not, you do experiments with the system settings, PHP and your web-server.

--------------------------------------------------------------
bconsole debug

command_output:
Array
(
[0] => Connecting to Director 127.0.0.1:9101
[1] => 1000 OK: main.dir Version: 3.0.2 (18 July 2009)
[2] => Enter a period to cancel a command.
[3] => status dir
[4] => main.dir Version: 3.0.2 (18 July 2009) i686-pc-linux-gnu redhat
[5] => Daemon started 15-Ок-2009 12:36, 13 Jobs run since started.
[6] => Heap: heap=393,216 smbytes=154,627 max_bytes=157,314 bufs=377
max_bufs=499
...
[37] => @quit
)
1
return_var = 0





-----------------------------------------------------------------------------------
Q. Log book full text search not worked (MySQL).
   Message : SQLSTATE[HY000]: General error: 1191 Can't find FULLTEXT index matching the column list

A.

Backup Webacula DB :
mysqldump --skip-add-drop-table --skip-add-drop-database  -u root webacula > webacula.sql

drop 'webacula' database and create with :

CREATE DATABASE webacula
	DEFAULT CHARACTER SET utf8
   DEFAULT COLLATE utf8_general_ci;

and load data from dump again.

See also:

SHOW VARIABLES LIKE 'character_set%';
SHOW VARIABLES LIKE 'collation%';



-----------------------------------------------------------------------------------
Sqlite:
http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.adapter-notes.pdo-sqlite
"If you have problems that your result sets are returned with keys of the form "tablename.columnname"
when you do a join query, then you should upgrade to the current version of PHP."

Upgrade PHP, example, from "Les RPM de Remi" repo : http://blog.famillecollet.com/pages/Config-en


