So... after successfully building Bacula 9.2.0 and running all 3 daemons, backup doesn't work. Mounting a tape and running the regular job which I have been running for years now gives me:
01-Aug 11:32 pc-dir JobId 0: Fatal error: sql_create.c:84 Create DB Job record INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate,ClientId,Comment) VALUES ('pc_Backup.2018-08-01_11.32.58_05','pc_Backup','B','I','C','2018-08-01 11:32:58',1533112378,5,'') failed. ERR=Field 'StartTime' doesn't have a default value 1. Why JobId 0? I already have more than 4000 jobs. 2. Why is this failing? I have successfully updated db tables as mentioned in a previous reply. 3. (unrelated to the error): When building Bacula I specified /var/run as PID directory. Although all the bacula-*.service are started and running fine, there are no PID files for bacula in /var/run. Only if I run manually 'bacula restart' the 3 PID files appear in /var/run. Is this a bug to be reported? Any help please? -- George ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users