Dear All,
           I had bacula running on my Freebsd 5.3 system.

I have upgraded my system to FreeBSD 5.4 and installed bacula from the ports tree. When I attempt to run a job I get the following error:

*run
Using default Catalog name=MyCatalog DB=bacula
A job name must be specified.
The defined Job resources are:
    1: Client1
    2: BackupCatalog
    3: RestoreFiles
Select Job resource (1-3): 1
Run Backup job
JobName:  Client1
FileSet:  Full Set
Level:    Incremental
Client:   fastsrv-fd
Storage:  File
Pool:     Default
When:     2005-07-31 17:12:39
Priority: 10
OK to run? (yes/mod/no): yes
Job failed.
You have messages.
*messages
31-Jul 17:12 fastsrv-dir: Client1.2005-07-31_17.12.42 Fatal error: sql_create.c:91 sql_create.c:91 insert INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Client1.2005-07-31_17.12.42','Client1','B','I','C','2005-07-31 17:12:39',1122793959) failed:
attempt to write a readonly database
31-Jul 17:12 fastsrv-dir: sql_create.c:91 INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Client1.2005-07-31_17.12.42','Client1','B','I','C','2005-07-31 17:12:39',1122793959) 31-Jul 17:12 fastsrv-dir: Client1.2005-07-31_17.12.42 Fatal error: sql_create.c:93 Create DB Job record INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Client1.2005-07-31_17.12.42','Client1','B','I','C','2005-07-31 17:12:39',1122793959) failed. ERR=attempt to write a readonly database
*

I can’t find any information on the sqlite page about making a database readonly (or how to turn this feature off).
           I have checked the file permissions and they are correct.
I can perform this INSERT from the sqlite command line tool but not from the bconsole sqlquery option.

Has anyone seen this problem before? I’m using the sqlite2 and the bacula-server from the ports tree.

Thanks,
Anthony


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to