bareos-dir won't start - bareos-dir 21.0 version installed

22 views
Skip to first unread message

linuxeng12

unread,
Sep 24, 2022, 9:25:18 AM9/24/22
to bareos-users

journalctl -xe shows this message

please assist.


bareos-dir[38448]: BAREOS interrupted by signal 11: Segmentation violation

bareos-dir[38448]: bareos-dir, bareos-dir got signal 11 - Segmentation violation. Attempting traceback.

bareos-dir[38448]: exepath=/usr/sbin/

bareos-dir[38448]: BAREOS interrupted by signal 11: Segmentation violation

bareos-dir[38452]: Calling: /usr/sbin/btraceback /usr/sbin/bareos-dir 38448 /var/lib/bareos

bareos-dir[38460]: bsmtp: tools/bsmtp.cc:467-0 Failed to connect to mailhost localhost

bareos-dir[38448]: The btraceback call returned 1

bareos-dir[38448]: Dumping: /var/lib/bareos/bareos-dir.38448.bactrace

systemd[1]: bareos-dir.service: Main process exited, code=exited, status=1/FAILURE

 systemd[1]: bareos-dir.service: Failed with result 'exit-code'.




John Oni

unread,
Sep 27, 2022, 8:41:07 PM9/27/22
to bareos-users

postfix was not running, but after starting it this message does not come up anymore = "bsmtp: tools/bsmtp.cc:467-0 Failed to connect to mailhost localhost"

and now it fails after 1 min of starting with this message

#systemctl status bareos-dir

bareos-dir[38448]: BAREOS interrupted by signal 11: Segmentation violation

bareos-dir[38448]: bareos-dir, bareos-dir got signal 11 - Segmentation violation. Attempting traceback.

bareos-dir[38448]: exepath=/usr/sbin/

bareos-dir[38448]: BAREOS interrupted by signal 11: Segmentation violation

bareos-dir[38452]: Calling: /usr/sbin/btraceback /usr/sbin/bareos-dir 38448 /var/lib/bareos

bareos-dir[38448]: Dumping: /var/lib/bareos/bareos-dir.38448.bactrace

systemd[1]: bareos-dir.service: Main process exited, code=exited, status=1/FAILURE

 systemd[1]: bareos-dir.service: Failed with result 'exit-code'.


--
You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/3MpTdfLYfVY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/9c1851f9-6b7f-410b-a5b3-c6575a3bed22n%40googlegroups.com.

Bruno Friedmann

unread,
Sep 28, 2022, 4:54:13 AM9/28/22
to bareos-users
There's a number of trouble in the universe.

Maybe you can start by helping yourself and describe a bit of what platform you're using, what steps you already have done.

Did you try all tricks cited in documentation in the troubleshooting chapter.

Maybe like start first to check your configuration by using the -t -d200 

su bareos -s /bin/sh -c '/usr/sbin/bareos-dir -t -d200' and see what's reported there.
then you can try to see in foreground mode:
su bareos -s /bin/sh -c '/usr/sbin/bareos-dir -f -d200'

linuxeng12

unread,
Sep 30, 2022, 7:50:55 PM9/30/22
to bareos-users
Thank you, but after comparing a previous configuration setup, I noticed I did not have MyCatalog settings added to bareos-dir.conf, after that was updated all services are running.
Reply all
Reply to author
Forward
0 new messages