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:
OK, I downgraded to bareos-filedaemon version 20 and now things seems to work 
fine

DIST=xUbuntu_20.04
RELEASE=release/20
URL=https://download.bareos.org/bareos/$RELEASE/$DIST
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
lørdag den 26. februar 2022 kl. 01.17.46 UTC+1 skrev Erik Madsen:

    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

--
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] <mailto:[email protected]>. 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                             [email protected]
 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

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/424c3fb6-e23c-e73c-6128-acc2d1478ff1%40bareos.com.

Reply via email to