Hi,

I've checked and corrected the issue with bacula and the backups are
working fine, thank you for the effort Tilman :)
Can you guys guide me to enable the snapshot management in 9.4.3?



On Mon, Jun 10, 2019 at 5:49 PM Tilman Schmidt <til...@imap.cc> wrote:

> Ok, you have several problems here involving all three Bacula services,
> not just bacula-sd.
>
> Am 10.06.2019 um 08:07 schrieb preash raj:
> > 10-Jun 01:49 bacula-dir JobId 208: Start Backup JobId 208,
> Job=BackupCorp.client.in.2019-06-10_01.49.34_04
> > 10-Jun 01:49 bacula-dir JobId 208: Fatal error: bdb.h:142 bdb.h:142
> query SELECT
> MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock,VolType,VolParts,VolCloudParts,LastPartBytes,LabelType,LabelDate,StorageId,Enabled,LocationId,RecycleCount,InitialWrite,ScratchPoolId,RecyclePoolId,VolReadTime,VolWriteTime,ActionOnPurge,CacheRetention
> FROM Media WHERE PoolId=4 AND MediaType='File' AND Enabled=1 AND
> VolStatus='Append' AND VolType IN (0,1)   ORDER BY LastWritten IS
> NULL,LastWritten DESC,MediaId LIMIT 1 failed:
> > Unknown column 'VolType' in 'field list'
>
> This is a problem with your Bacula database.
> It prevents the director bacula-dir from doing anything useful so you'll
> have to fix that first.
>
> Has this installation ever worked?
> If so, what happened between then and now?
> Did you perhaps upgrade the director to a newer version and neglected to
> run the update_bacula_tables script?
>
> > 10-Jun 01:49 bacula-dir JobId 208: Using Device "FileStorage" to write.
> > 10-Jun 01:49 bacula-dir JobId 208: Fatal error: No Job status returned
> from FD.
>
> This seems to indicate that the director bacula-dir was unable to
> contact the file daemon on corp.client.in-fd.
> However it might also be a consecutive fault of the database problem, so
> fix the database problem first and see whether that makes the "No Job
> status" problem go away, too.
>
> > Jun 10 01:49:08 bacula.server.in <http://bacula.server.in> systemd[1]:
> > Started Bacula Storage Daemon service.
> > Jun 10 01:49:08 bacula.server.in <http://bacula.server.in>
> > bacula-sd[10655]: bacula-sd: ERROR TERMINATION at parse_conf.c:1021
>
> This seems to indicate a problem with the configuration file of your
> storage daemon, bacula-sd.conf.
> Try running the command line reported by systemd
>
>   /opt/bacula/bin/bacula-sd -fP -c /opt/bacula/etc/bacula-sd.conf
>
> from the command line to see whether the error reproduces.
> If so, try adding -v (verbose) and -d (debug) options to get more
> information on what is going wrong.
> Otherwise you have a systemd problem.
> Try to find out what systemd does differently from manual start.
> A frequent problem with systemd is that it is starting services under a
> different user, so check the unit file
> /usr/lib/systemd/system/bacula-sd.service
> for "User=" and "Group=" lines.
>
> > Jun 09 23:06:06 bacula.server.in <http://bacula.server.in>
> > bacula-dir[8561]: 09-Jun 23:06  Message delivery ERROR: Mail program
> > terminated in error.
> > Jun 09 23:06:06 bacula.server.in <http://bacula.server.in>
> > bacula-dir[8561]: CMD=/usr/sbin/bsmtp -h localhost -f "(Bacula)
> > <root@localhost>" -s "Bacula: Backup Fatal Error of cor...localhost
>
> This is probably the easiest problem to fix.
> Regrettably systemd has once again cut out the important part of the
> message, but it appears in full later on:
>
> > Jun 09 23:10:03  bacula.server.in <http://bacula.server.in>
> > bacula-dir[8561]: 09-Jun 23:10  Message delivery ERROR: Mail prog:
> > bsmtp: bsmtp.c:488-0 Failed to connect to mailhost localhost
>
> So you configured Bacula so send mail notifications through the mail
> server running on the same machine as the director, but there is no mail
> server running on that machine. Either start a mail server listening on
> localhost port 25, or configure Bacula to use a different server.
>
> As an aside, given the number and nature of problems you have, I would
> urgently recommend you spend some time with the Bacula documentation.
>
> Btw, would you mind not using HTML format in your mailing list posts?
> It does funny things to the log snippets you quote and makes it
> generally difficult to read and reply to your post.
>
> HTH
> Tilman
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to