Bacula-users

[Bacula-users] running bweb-mysql.sql gives errors

2010-05-18 00:11:18
Subject: [Bacula-users] running bweb-mysql.sql gives errors
From: RYAN vAN GINNEKEN <king AT computerking DOT ca>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 17 May 2010 21:49:54 -0600 (MDT)
Hello all using Ubuntu 8.04 LTS with bacula 3.0.2 compiled from source and bweb 
version 5.0.2 installed from the package found at the Bacula website.

First of all i have managed to lock myself out by turning on the security 
setting in the bweb GUI configuration page.  I tried to turn security back off 
by editing bweb.conf and changing 'enable_security' => 'on', to 
'enable_security' => 'off', but managed to get get back inside the bweb GUI by 
removing this line all together.  Mostly posting this in case it is a bug or 
just incase someone else does this. 

It all started when I tried to install the script bweb/scripts/bweb-mysql.sql 
-u root -p and get the error below must be something about the decoder, but 
please help.  I got curious about security settings as i wish to allow users to 
restore there own files, but not erase others.

./bweb-mysql.sql: line 1: --: command not found
./bweb-mysql.sql: line 2: --: command not found
./bweb-mysql.sql: line 3: --: command not found
./bweb-mysql.sql: line 8: syntax error near unexpected token `('
./bweb-mysql.sql: line 8: `CREATE FUNCTION base64_decode_lstat (field INTEGER, 
input BLOB)'


Computer King                   CaN-Mail                    Surveillance King 
http://computerking.ca     http://canmail.org      http://surveillanceking.net 

Surveillance - Sales Service - Hosting Backup
NEW!!! Internet Based Surveillance Systems
Custom Service Pac kages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages

------------------------------------------------------------------------------

_______________________________________________
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>