On Wednesday 18 April 2007 06:49, Giancarlo Rubio wrote:
> Hi all,
>
> I have instaled Bacula on Freebsd 6.2. When i try to run job i get an error
>
> Job failed.
> 18-Apr 08:42 aerofirewall-dir: gian.2007-04-18_08.42.14 Fatal error:
> sql_create.c:520 sql_create.c:520 insert INSERT INTO Client
> (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES
> ('gian-fd','',1,2592000,15552000) failed:
> attempt to write a readonly database
> 18-Apr 08:42 aerofirewall-dir: sql_create.c:520 INSERT INTO Client
> (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES
> ('gian-fd','',1,2592000,15552000)
> 18-Apr 08:42 aerofirewall-dir: gian.2007-04-18_08.42.14 Error:
> sql_create.c:522 Create DB Client record INSERT INTO Client
> (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES
> ('gian-fd','',1,2592000,15552000) failed. ERR=attempt to write a
> readonly database
>
> The owner of bacula.db is bacula user, and have write and read permission.
>
> I found a similar user report about this problem
> (http://permalink.gmane.org/gmane.comp.bacula.user/15367) , but no
> solution at this moment.
>
> Is a FreeBSD problem on sqlite?? Have anyone running bacula on FreeBSD?
>
> Thanks

Almost certainly a user or permissions problem. How is bacula-director 
configured to run with regard to user & group? I'll bet it is not the same as 
the owner/group of bacula.db.

Cheers!

cmr
-- 
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to