heartbeatinterval has to be express in secondes put 60 and it should work On June 28, 2017 9:22:16 PM GMT+03:00, Andrew Leer <[email protected]> wrote: >On Wednesday, 28 June 2017 13:03:49 UTC-4, Andrew Leer wrote: >> I have a BareOS director I'm trying to start on Debian 8, and when it >starts up I get the following error: >> >> -- Logs begin at Wed 2017-06-28 16:36:57 UTC, end at Wed 2017-06-28 >16:50:26 UTC. -- >> Jun 28 16:44:40 bareOSdirector systemd[1]: Starting LSB: Bareos >Director... >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: Checking >Configuration and Database connection ... >> Jun 28 16:44:41 bareOSdirector su[9340]: Successful su for bareos by >root >> Jun 28 16:44:41 bareOSdirector su[9340]: + ??? root:bareos >> Jun 28 16:44:41 bareOSdirector su[9340]: pam_unix(su:session): >session opened for user bareos by (uid=0) >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: BAREOS interrupted >by signal 11: Segmentation violation >> Jun 28 16:44:41 bareOSdirector bareos-dir[9342]: BAREOS interrupted >by signal 11: Segmentation violation >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: Kaboom! bareos-dir, >bareos-dir got signal 11 - Segmentation violation. Attempting >traceback. >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: Kaboom! >exepath=/usr/sbin/ >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: Calling: >/usr/sbin/btraceback /usr/sbin/bareos-dir 9342 /var/lib/bareos >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: It looks like the >traceback worked... >> Jun 28 16:44:41 bareOSdirector bareos-dir[9337]: Dumping: >/var/lib/bareos/bareos-dir.9342.bactrace >> Jun 28 16:44:41 bareOSdirector su[9340]: pam_unix(su:session): >session closed for user bareos >> Jun 28 16:44:41 bareOSdirector systemd[1]: Started LSB: Bareos >Director. >> I've read elsewhere that there are issues with other BareOS daemons >starting up this way and that it's usually a bug, I was still wondering >if there might be a way to fix this? If not I was planning on >attempting to revert back to using BareOS 15.2. >> >> Segmentation faults aren't usually related to configuration issues >correct? Is this related to a known bug? >> >> Thank you, >> Andrew J. Leer > >Okay I found more details here: > >vagrant@bareOSdirector:~$ /usr/sbin/bareos-dir -t -d 200 -u bareos -g >bareos >bareos-dir (10): dird.c:243-0 Debug level = 200 >bareos-dir (100): parse_conf.c:151-0 config file = >/etc/bareos/bareos-dir.conf >bareos-dir (100): lex.c:356-0 glob /etc/bareos/bareos-dir.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/bareos-dir.conf >bareos-dir (100): lex.c:250-0 open config file: |find >/etc/bareos/director.d -name '*.conf' -type f -exec echo @{} ; >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Scratch.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Scratch.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-SelfTest.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-SelfTest.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/messages-Daemon.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/messages-Daemon.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/job-lampdir-fd-RestoreFiles.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/job-lampdir-fd-RestoreFiles.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-Catalog.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-Catalog.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Differential.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Differential.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-bacula_files_backup.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-bacula_files_backup.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/schedule-WeeklyCycle.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/schedule-WeeklyCycle.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/storage-File.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/storage-File.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/job-lampdir-fd-BaculaDirectorDirFiles.conf: 1 >files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/job-lampdir-fd-BaculaDirectorDirFiles.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Full.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Full.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/messages-standard.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/messages-standard.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-LinuxAll.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-LinuxAll.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Incremental.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Incremental.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/catalog-MyCatalog.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/catalog-MyCatalog.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/job-lampdir-fd-BackupCatalog.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/job-lampdir-fd-BackupCatalog.conf >bareos-dir (100): lex.c:250-0 open config file: |find >/etc/bareos/clients.d -name '*.conf' -type f -exec echo @{} ; >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/clients.d/lampdir-fd.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/clients.d/lampdir-fd.conf >bareos-dir (100): lex.c:356-0 glob /etc/bareos/bareos-dir.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/bareos-dir.conf >bareos-dir (100): lex.c:250-0 open config file: |find >/etc/bareos/director.d -name '*.conf' -type f -exec echo @{} ; >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Scratch.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Scratch.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-SelfTest.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-SelfTest.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/messages-Daemon.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/messages-Daemon.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/job-lampdir-fd-RestoreFiles.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/job-lampdir-fd-RestoreFiles.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-Catalog.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-Catalog.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Differential.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Differential.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-bacula_files_backup.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-bacula_files_backup.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/schedule-WeeklyCycle.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/schedule-WeeklyCycle.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/storage-File.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/storage-File.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/job-lampdir-fd-BaculaDirectorDirFiles.conf: 1 >files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/job-lampdir-fd-BaculaDirectorDirFiles.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Full.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Full.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/messages-standard.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/messages-standard.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/fileset-LinuxAll.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/fileset-LinuxAll.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/pool-Incremental.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/pool-Incremental.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/catalog-MyCatalog.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/catalog-MyCatalog.conf >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/director.d/job-lampdir-fd-BackupCatalog.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/director.d/job-lampdir-fd-BackupCatalog.conf >bareos-dir (200): runscript.c:334-0 runscript: debug >bareos-dir (200): runscript.c:335-0 --> RunScript >bareos-dir (200): runscript.c:336-0 --> >Command=/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog >bareos-dir (200): runscript.c:337-0 --> Target=%c >bareos-dir (200): runscript.c:338-0 --> RunOnSuccess=1 >bareos-dir (200): runscript.c:339-0 --> RunOnFailure=0 >bareos-dir (200): runscript.c:340-0 --> FailJobOnError=1 >bareos-dir (200): runscript.c:341-0 --> RunWhen=2 >bareos-dir (200): runscript.c:334-0 runscript: debug >bareos-dir (200): runscript.c:335-0 --> RunScript >bareos-dir (200): runscript.c:336-0 --> >Command=/usr/lib/bareos/scripts/delete_catalog_backup >bareos-dir (200): runscript.c:337-0 --> Target=%c >bareos-dir (200): runscript.c:338-0 --> RunOnSuccess=1 >bareos-dir (200): runscript.c:339-0 --> RunOnFailure=0 >bareos-dir (200): runscript.c:340-0 --> FailJobOnError=0 >bareos-dir (200): runscript.c:341-0 --> RunWhen=1 >bareos-dir (100): lex.c:250-0 open config file: |find >/etc/bareos/clients.d -name '*.conf' -type f -exec echo @{} ; >bareos-dir (100): lex.c:356-0 glob >/etc/bareos/clients.d/lampdir-fd.conf: 1 files >bareos-dir (100): lex.c:250-0 open config file: >/etc/bareos/clients.d/lampdir-fd.conf >BAREOS interrupted by signal 11: Segmentation violation >Kaboom! bareos-dir, bareos-dir got signal 11 - Segmentation violation. >Attempting traceback. >Kaboom! exepath=/usr/sbin/ >Calling: /usr/sbin/btraceback /usr/sbin/bareos-dir 10692 >/var/lib/bareos >/usr/sbin/btraceback: 94: /usr/sbin/btraceback: cannot create >/var/lib/bareos/bareos.10692.traceback: Permission denied >cat: /var/lib/bareos/bareos.10692.traceback: No such file or directory >It looks like the traceback worked... >Dumping: /var/lib/bareos/bareos-dir.10692.bactrace >Attempt to dump locks >Attempt to dump current JCRs. njcrs=0 > >It appears that the last file processed is >/etc/bareos/clients.d/lampdir-fd.conf : > >Client { > Name = "lampdir-fd" > Address = localhost > FDPort = 9102 > Password = "blah" > Catalog = "MyCatalog" > FileRetention = 30 days > JobRetention = 6 months > AutoPrune = true > HeartbeatInterval = 1 minute >} > >Not certain what the issue with it is...
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
