bareos-fd 21 client keeps restarting every minute

75 views
Skip to first unread message

Erik Madsen

unread,
Feb 25, 2022, 7:17:46 PM2/25/22
to bareos-users
Hi Bareos-Users,

I have an issue with my Ubuntu 20.04 LTS and bareos-fd v21 on a freshly installed VM.

The bareos-fd service keeps on stopping/staring every minute.

I see some IPv6 issue in the log (IP v6 is intensionally disabled on my VM)
..but also some "bsmtp: tools/bsmtp.cc:467-0 Failed to connect to mailhost localhost" ?

Anyone know how to fix this issue ?

(In my previous bareos-fd <v18 installations, I have never had this problem)

*** LOG INFO ***

sudo tail -f /var/log/syslog
Feb 26 00:55:18 client-1 bareos-fd[7802]: client-1-fd: ABORTING due to ERROR in lib/bnet_server_tcp.cc:175
Feb 26 00:55:18 client-1 bareos-fd[7802]: Cannot open stream socket. ERR=Address family not supported by protocol. Current host[ipv6;::;9102] All host[ipv4;0.0.0.0;9102] host[ipv6;::;9102]
Feb 26 00:55:18 client-1 bareos-fd[7802]: BAREOS interrupted by signal 6: IOT trap
Feb 26 00:55:18 client-1 bareos-fd[7802]: bareos-fd, client-1-fd got signal 6 - IOT trap. Attempting traceback.
Feb 26 00:55:18 client-1 bareos-fd[7802]: exepath=/usr/sbin/
Feb 26 00:55:18 client-1 bareos-fd: client-1-fd: ABORTING due to ERROR in lib/bnet_server_tcp.cc:175#012Cannot open stream socket. ERR=Address family not supported by protocol. Current host[ipv6;::;9102] All host[ipv4;0.0.0.0;9102] host[ipv6;::;9102]
Feb 26 00:55:18 client-1 bareos-fd[7823]: Calling: /usr/sbin/btraceback /usr/sbin/bareos-fd 7802 /var/lib/bareos
Feb 26 00:55:18 client-1 bareos-fd: BAREOS interrupted by signal 6: IOT trap
Feb 26 00:55:18 client-1 bareos-fd[7836]: bsmtp: tools/bsmtp.cc:467-0 Failed to connect to mailhost localhost
Feb 26 00:55:18 client-1 bareos-fd[7802]: The btraceback call returned 1
Feb 26 00:55:18 client-1 systemd[1]: bareos-filedaemon.service: Main process exited, code=exited, status=1/FAILURE
Feb 26 00:55:18 client-1 systemd[1]: bareos-filedaemon.service: Failed with result 'exit-code'.
Feb 26 00:55:18 client-1 systemd[1]: bareos-filedaemon.service: Scheduled restart job, restart counter is at 160.
Feb 26 00:55:18 client-1 systemd[1]: Stopped Bareos File Daemon service.
Feb 26 00:55:18 client-1 systemd[1]: Started Bareos File Daemon service.

Thanks and Best Regards
/Erik

Erik Madsen

unread,
Feb 26, 2022, 7:19:13 AM2/26/22
to bareos-users
OK, I downgraded to bareos-filedaemon version 20 and now things seems to work fine

DIST=xUbuntu_20.04
RELEASE=release/20
sudo wget -O /etc/apt/sources.list.d/bareos.list $URL/bareos.list

wget -q $URL/Release.key -O- | sudo apt-key add -

sudo apt update
sudo apt install bareos-filedaemon

/Erik

Philipp Storz

unread,
Feb 26, 2022, 7:45:04 AM2/26/22
to bareos...@googlegroups.com
Hello Eric,

please check the release notes for 21, Breaking Changes:

https://docs.bareos.org/Appendix/ReleaseNotes.html

"Bareos now listens on IPv4 and IPv6 by default. If you currently use [DIR|SD|FD] Address or
[DIR|SD|FD] Address, you may need to update your configuration to get the same behaviour as before.
PR #882"

Is IPv6 disabled on your machine?

Best regards,

Philipp



Am 26.02.22 um 13:19 schrieb Erik Madsen:
> --
> 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
> bareos-users...@googlegroups.com <mailto:bareos-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/9138fc5a-04ec-47fa-a831-44f0cd132061n%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/9138fc5a-04ec-47fa-a831-44f0cd132061n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Mit freundlichen Grüßen

Philipp Storz philip...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com Fax: +49 221 63 06 93-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf,
J. Steffens, P. Storz
Reply all
Reply to author
Forward
0 new messages